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

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-caculate-pens-show-the-driving-pen-value-instead-of-the-calculated-value-for-mouseover-text/22216>\
**Category:** Ignition\
**Created:** [January 30, 2019, 12:17pm UTC](https://forum.inductiveautomation.com/t/easy-chart-caculate-pens-show-the-driving-pen-value-instead-of-the-calculated-value-for-mouseover-text/22216 "2019-01-30T12:17:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabien.despierres](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@fabien.despierres](https://forum.inductiveautomation.com/u/fabien.despierres)\
**Post date:** [January 30, 2019, 12:17pm UTC](https://forum.inductiveautomation.com/t/easy-chart-caculate-pens-show-the-driving-pen-value-instead-of-the-calculated-value-for-mouseover-text/22216/1 "2019-01-30T12:17:32Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 30, 2019, 1:30pm UTC](https://forum.inductiveautomation.com/t/easy-chart-caculate-pens-show-the-driving-pen-value-instead-of-the-calculated-value-for-mouseover-text/22216/2 "2019-01-30T13:30:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![fabien.despierres](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@fabien.despierres](https://forum.inductiveautomation.com/u/fabien.despierres)\
**Post date:** [January 30, 2019, 2:36pm UTC](https://forum.inductiveautomation.com/t/easy-chart-caculate-pens-show-the-driving-pen-value-instead-of-the-calculated-value-for-mouseover-text/22216/3 "2019-01-30T14:36:11Z")

</div>

Sounds good ! Thanks.

---

<div class="post-metadata">

**Author:** ![fabien.despierres](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@fabien.despierres](https://forum.inductiveautomation.com/u/fabien.despierres)\
**Post date:** [January 30, 2019, 2:48pm UTC](https://forum.inductiveautomation.com/t/easy-chart-caculate-pens-show-the-driving-pen-value-instead-of-the-calculated-value-for-mouseover-text/22216/4 "2019-01-30T14:48:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 30, 2019, 3:20pm UTC](https://forum.inductiveautomation.com/t/easy-chart-caculate-pens-show-the-driving-pen-value-instead-of-the-calculated-value-for-mouseover-text/22216/5 "2019-01-30T15:20:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fabien.despierres](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@fabien.despierres](https://forum.inductiveautomation.com/u/fabien.despierres)\
**Post date:** [January 30, 2019, 3:25pm UTC](https://forum.inductiveautomation.com/t/easy-chart-caculate-pens-show-the-driving-pen-value-instead-of-the-calculated-value-for-mouseover-text/22216/6 "2019-01-30T15:25:42Z")

</div>

I’ll found it in the JFreeChart doc thanks 🙂

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

```auto
	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)

```
