From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Jane_*_

Axes Labeling with text / textchannels / assignment channel instead of numbers in Report

Status: New

I have not found a straight forward way to label axes ticks with text instead of numbers, so I would suggest this as a feature in a new release. At the moment we are working with text fields which is a very cumbersome way and not very user-friendly when editing the report.

 

It would be very nice, if there would be a way to implement text labeling for x, y and z axis.

 

Example: I have a state channel that contains values between 2 and 8. This channel is an assignment channel, therefore I could create a corresponding text channel containing the status description for each value. This way, it would be possible to display a table but as the channel has 3600 values, this wouldn't be very readable and a 2D plot of the state events would be more helpful (e.g. state changing from off to passive etc.) 

 

One could for example expand the axis scaling settings where a tick channel can already be assigned by a text + index or an assignment channel assignment.

 

Today I found a way of combining a bar plot and a line plot to achieve this goal, which still isn't a nice way: 

- Bar plot:  X channel is a numerical channel only containing NoValues [Nv,Nv,Nv,Nv,Nv,Nv,Nv,Nv] (we don't want to see bars), Y channel is a string channel which contains the Y-Axis labeling we want [ -,off,-,on,-,passive,-,idle] (we want our labels on Y-Index 2,4,6,8 - that's why the string channel has "empty values") 

- Line plot: X channel is the time channel, Y channel is the state channel, containing values of the set (2,4,6,8)

 

DIAdem_YAxis-Textlabeling.png