Easy Chart Caculate Pens - Show the driving pen value instead of the calculated value for mouseover text

Hello,

I’m using Ignition 7.9 and I need to display on the same chart several process value having different range of possible values.

In order to do that, I have created calculate pens with Multiply function that show all values on one axis by experessing values as percentage of the possible range so all values are between 0 and 100.

The problem I have is when I mouse over the pens, the value that is displayed is the calculated value and I would like to see the driving pen value. Does someone know how to display the driving pen value instead of the calculated pen in easy charts?

Is there any reason you don’t just add more axes definitions? You can hide the extra axes to not clutter your chart. No scaling required, and your tooltips will be correct.

Sounds good ! Thanks.

Can we natively hide the axis in an easy chart? Or do I have to use configureChart script?

You need to sse configureChart(). I believe you’ll find examples of hiding axes here on the forum.

I’ll found it in the JFreeChart doc thanks :slight_smile:

For those who need, you can hide value axis of an Easy Chart with the following code in configureChart function:

	plot = chart.getPlot()
	
	#Axis indexes starts at 0.
        #In this case the second Axis of the list will be hidden	
        axis = plot.getRangeAxis(1)
	axis.setVisible(False)
1 Like