Display values near points in line chart
In a new version of line chart (1.2.13) you can display values near your points. The settings are the same as column chart’s:
<graph id="0">
……
<data_labels>{value}</data_labels>
<data_labels_text_size>10</data_labels_text_size>
<data_labels_text_color>#CC0000</data_labels_text_color>
<data_labels_position>above</data_labels_position>
You can format any data label, do not forget <![CDATA[]]> if you use HTML tags.
You can display data label above or below your points.
To avoid overlapping, data labels, the same as bullets, are hided if you have more series then specified in:
<hide_bullets_count>10</hide_bullets_count>
This would mean that if you have 20 series data labels will not be visible. And if you select (zoom) range with 10 or less series, the labels will be displayed.
Here is an example. Try to select short period (<10 series) and you will see data labels near "anomaly" graph.
If you want to display only some of data labels, you can use description for it. Set description for your value (you can do it only if you are using XML data file):
<value xid="10" description="50">50</value>
And then set that you want to have description in your data labels:
<data_labels>{description}</data_labels>
Update:
you can set individual data label position in data xml file:
<value xid="1" label_position="below">44</value>
Best Regards,
Antanas
Download amLine