# Marker label in point inside chart

**URL:** <https://forum.inductiveautomation.com/t/marker-label-in-point-inside-chart/82244>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [November 22, 2023, 10:14am UTC](https://forum.inductiveautomation.com/t/marker-label-in-point-inside-chart/82244 "2023-11-22T10:14:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![edoardo.manzardo](https://avatars.discourse-cdn.com/v4/letter/e/c89c15/32.png) [@edoardo.manzardo](https://forum.inductiveautomation.com/u/edoardo.manzardo)\
**Post date:** [November 22, 2023, 10:14am UTC](https://forum.inductiveautomation.com/t/marker-label-in-point-inside-chart/82244/1 "2023-11-22T10:14:18Z")

</div>

Hi,  
I want to marker different point inside chart component like this example

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/1/2108c6e10ece0ac94b0c82215b9100bc18976631.png)

I created chart from dataset and I want to marker this points that I show below by table.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/8/38d518cf18f270cc422b3a7b2e0e053e713c2dca.png)

With this function is possible to show all point inside chart but I want customize label and mark only few points.

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

```

Is possible?  
Can someone help me?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [November 22, 2023, 10:49am UTC](https://forum.inductiveautomation.com/t/marker-label-in-point-inside-chart/82244/2 "2023-11-22T10:49:50Z")

</div>

It sounds like you are wanting [xyText annotations](https://forum.inductiveautomation.com/search?q=xytext%20annotations%20)

---

<div class="post-metadata">

**Author:** ![edoardo.manzardo](https://avatars.discourse-cdn.com/v4/letter/e/c89c15/32.png) [@edoardo.manzardo](https://forum.inductiveautomation.com/u/edoardo.manzardo)\
**Post date:** [November 22, 2023, 1:07pm UTC](https://forum.inductiveautomation.com/t/marker-label-in-point-inside-chart/82244/3 "2023-11-22T13:07:11Z")

</div>

Yes is that.  
But, I do not know to use it. Do you have any example?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 22, 2023, 1:21pm UTC](https://forum.inductiveautomation.com/t/marker-label-in-point-inside-chart/82244/4 "2023-11-22T13:21:38Z")

</div>

> [@Chart (not EasyChart) min & max with label](https://forum.inductiveautomation.com/t/chart-not-easychart-min-max-with-label/45870/2):
>
> I used separate datasets for min and max, that I could use different shapes and renderers for the labels. Screen shots below to help illustrate. propertryChange script: if event.propertyName == 'Data': from org.jfree.chart.labels import StandardXYItemLabelGenerator from org.jfree.chart.renderer.xy import XYItemRenderer from org.jfree.chart.labels import ItemLabelPosition from org.jfree.chart.labels import ItemLabelAnchor from org.jfree.ui import TextAnchor dataIn = event.source.Data …

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [November 22, 2023, 3:46pm UTC](https://forum.inductiveautomation.com/t/marker-label-in-point-inside-chart/82244/5 "2023-11-22T15:46:08Z")

</div>

> [@edoardo.manzardo](#):
>
> Do you have any example?

You probably overlooked it, but the end of my post contained a link that will take you to many examples:

> [@justinedwards.jle](#):
>
> [xyText annotations](https://forum.inductiveautomation.com/search?q=xytext%20annotations%20)
