Mar 28, 2013, 3:01 PM
[CLOSED] Bar chart label position
Hello,
I need help about bar chart series label positioning and style.
Problems definition:
1) When the value is close to 0, label text goes beyond Y axis line (attached figure, #1).
2) When half of the label instersects bar and rest does not, contrast is not applied to part of text in bar (attached figure #2)
3) I need to make label text Bold but I could not use the FontStyle property.
So,
Can you help me with:
1) Restrict label text as it will not go beyond X=0 line (Related to #1).
2) Tell me if it is possible to partly apply contrast to label text (Related to #2).
3) Please provide a sample to apply font style to label (eg. Bold).
Here is the series markup:
Thanks.
I need help about bar chart series label positioning and style.
Problems definition:
1) When the value is close to 0, label text goes beyond Y axis line (attached figure, #1).
2) When half of the label instersects bar and rest does not, contrast is not applied to part of text in bar (attached figure #2)
3) I need to make label text Bold but I could not use the FontStyle property.
So,
Can you help me with:
1) Restrict label text as it will not go beyond X=0 line (Related to #1).
2) Tell me if it is possible to partly apply contrast to label text (Related to #2).
3) Please provide a sample to apply font style to label (eg. Bold).
Here is the series markup:
<Series>
<ext:BarSeries Axis="Bottom" XField="ID" YField="Data">
<Label Display="InsideEnd" Field="Data" Orientation="Horizontal" Color="#333" TextAnchor="middle" Contrast="true" FontSize="10">
<Renderer Handler="return barLabelRenderer(value,label,storeItem,item,i,display,animate,index);" />
</Label>
<Renderer Fn="barRenderer" />
</ext:BarSeries>
</Series>
Figure:Thanks.
Last edited by Daniil; Apr 02, 2013 at 4:11 AM.
Reason: [CLOSED]