In this chart, the axis label for "Southeast" gets truncated. I think it's due to the fact that it's being measured as the same length as "Northwest" but takes a little more space due to the "S".
<igChart:XamWebChart x:Name="XamWebChart1" Grid.Row="0" > <igChart:XamWebChart.Series> <igChart:Series ChartType="Bar" Label="Hello" > <igChart:Series.DataPoints> <igChart:DataPoint Value="50" Label="Northwest" /> <igChart:DataPoint Value="40" Label="Southeast" /> </igChart:Series.DataPoints> </igChart:Series> </igChart:XamWebChart.Series></igChart:XamWebChart>
Is there a way to pad the Label length so it has a little spare room to work with in these scenarios? My data is dynamic, so I can't just handle this scenario. If I put "Southeast " with a space at the end, it works, but if I try to add the " " to all label values ("Northwest "), then it still truncates the Southeast.
Note, if the larger width label (Southeast) is first, this doesn't happen. But since I can't control the data, this doesn't help either.
Any ideas? It seems like kind of a minor issue, but at the same time it makes the chart look bad for my client. Thanks for any help!
- Keith
i logged this as a bug and fixed it. the bug # is 17214 - feel free to contact Infragistics Developer Support at any time to inquire about when the fix will be released.
as a temporary workaround, try switching to a monospace font.
<igChart:XamWebChart.Axes> <igChart:Axis AxisType="PrimaryY"> <igChart:Axis.Label> <igChart:LabelGroup FontFamily="Courier" /> </igChart:Axis.Label> </igChart:Axis> </igChart:XamWebChart.Axes>
Great, thanks for the quick turnaround on this David.