# How to drill down into a chart?

**URL:** <https://forum.inductiveautomation.com/t/how-to-drill-down-into-a-chart/45938>\
**Category:** Ignition\
**Created:** [April 22, 2021, 10:39pm UTC](https://forum.inductiveautomation.com/t/how-to-drill-down-into-a-chart/45938 "2021-04-22T22:39:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [April 26, 2021, 4:43pm UTC](https://forum.inductiveautomation.com/t/how-to-drill-down-into-a-chart/45938/3 "2021-04-26T16:43:05Z")

</div>

This should be able to get you started.

You'll need to add a MouseListener to the chart. You should be able to get the tool tip text and pass it to a pop up.

> [@Jfree chart - click on rendered data point](http://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/how-to-drill-down-into-a-chart/45938)._
