Sep 13, 2012, 5:00 PM
[OPEN] [#40] How can show the labels over each point of the LineSeries?
Hi,
I would to show the label for LineSeries over point, how can do it? I try to set property Display="over",
but in this case the label is shown over the chart, not on LineSeries.
My code is below
I would to show the label for LineSeries over point, how can do it? I try to set property Display="over",
but in this case the label is shown over the chart, not on LineSeries.
My code is below
<ext:LineSeries Highlight="true" Axis="Right" Smooth="3" XField="period" YField="pnFirstOk" >
<MarkerConfig Type="Circle" Size="4" Radius="4" StrokeWidth="0" />
<Label Contrast="false" Display="InsideEnd" Field="pnFirstOk" Color="#319915" TextAnchor="Middle" />
</ext:LineSeries>
<ext:LineSeries Highlight="true" Axis="Right" Smooth="3" XField="period" YField="pnFirstKo" >
<MarkerConfig Type="Circle" Size="4" Radius="4" StrokeWidth="0" />
<Label Contrast="false" Display="InsideEnd" Field="pnFirstKo" Color="#CC1700" TextAnchor="Middle" />
</ext:LineSeries>
<ext:LineSeries Highlight="true" Axis="Right" Smooth="3" XField="period" YField="pnTotalPass" >
<MarkerConfig Type="Circle" Size="4" Radius="4" StrokeWidth="0" />
<Label Contrast="false" Display="InsideEnd" Field="pnTotalPass" Color="#C97C00" TextAnchor="Middle" />
</ext:LineSeries>
Thank you so much.
Last edited by Baidaly; Nov 17, 2012 at 12:43 AM.
Reason: Issue created