# Easy Chart Pen ToolTips

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-pen-tooltips/52636>\
**Category:** Ignition\
**Created:** [November 2, 2021, 5:21pm UTC](https://forum.inductiveautomation.com/t/easy-chart-pen-tooltips/52636 "2021-11-02T17:21:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [November 3, 2022, 1:46pm UTC](https://forum.inductiveautomation.com/t/easy-chart-pen-tooltips/52636/5 "2022-11-03T13:46:38Z")

</div>

Here is an example of creating a customMouseListener, which is what you will need. I think this example was for a Standard Chart component, but it will work for an easy chart as well. It's not exactly what you're looking for but its a pretty good start.

> [@Jfree chart - click on rendered data point](https://forum.inductiveautomation.com/t/jfree-chart-click-on-rendered-data-point/38066/12):
>
> This should do the trick: from org.jfree.chart import ChartMouseListener class CustomChartMouseListener(ChartMouseListener): def chartMouseClicked(self,e): xyItem = e.getEntity() #gets the data entity that was clicked, None if no entity was clicked if xyItem: #ensure that a data entity was clicked dataset = xyItem.getDataset() xValue = dataset.getXValue(xyItem.getSeriesIndex(),xyItem.getItem()) yValue = dataset.getYValue(xyI…

---

_[View the full topic](https://forum.inductiveautomation.com/t/easy-chart-pen-tooltips/52636)._
