# Labels for data points in chart

**URL:** <https://forum.inductiveautomation.com/t/labels-for-data-points-in-chart/14740>\
**Category:** Ignition\
**Created:** [July 10, 2017, 6:13pm UTC](https://forum.inductiveautomation.com/t/labels-for-data-points-in-chart/14740 "2017-07-10T18:13:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry101](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jerry101](https://forum.inductiveautomation.com/u/jerry101)\
**Post date:** [July 10, 2017, 6:13pm UTC](https://forum.inductiveautomation.com/t/labels-for-data-points-in-chart/14740/1 "2017-07-10T18:13:54Z")

</div>

Is there a way to show the same info you see in the X-trace for all points of a chart? Basically have a label at each point?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 11, 2017, 3:42pm UTC](https://forum.inductiveautomation.com/t/labels-for-data-points-in-chart/14740/2 "2017-07-11T15:42:11Z")

</div>

I doubt this is going to work quite the way you want, but try this code as a starting point (in the `configureChart` function):

```auto
	from org.jfree.chart.labels import StandardXYItemLabelGenerator
	
	chart.getPlot().getRenderer().setItemLabelGenerator(StandardXYItemLabelGenerator())
	chart.getPlot().getRenderer().setBaseItemLabelsVisible(True)

```

![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2270b1a72616e8d56cb51169dc2d310b1e715716.png)

---

<div class="post-metadata">

**Author:** ![jerry101](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jerry101](https://forum.inductiveautomation.com/u/jerry101)\
**Post date:** [July 11, 2017, 3:59pm UTC](https://forum.inductiveautomation.com/t/labels-for-data-points-in-chart/14740/3 "2017-07-11T15:59:17Z")

</div>

Thanks! This will for sure point me in the correct direction.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 11, 2022, 3:42am UTC](https://forum.inductiveautomation.com/t/labels-for-data-points-in-chart/14740/4 "2022-02-11T03:42:11Z")

</div>

3 posts were split to a new topic: [Configuring Vision chart with subplots](https://forum.inductiveautomation.com/t/configuring-vision-chart-with-subplots/56018)
