I am setting a label DataFormatString for my line series and I noticed that it is not taking effect. The datasource I am providing to the chart contains a score as a double. I wanted to provide the {0:F} formatter so that I do not display unnecessarily long precision.
With the following markup:
If the data is 56.1, the label is 56
With this markup:
If the data is 56.1, the label is 56.1
Is my data format string incorrect, or is it just not working?
With the following markup:
<LabelsAppearance DataFormatString="{0:F}"> <TextStyle Bold="true" Color="#003366" /></LabelsAppearance>If the data is 56.1, the label is 56
With this markup:
<LabelsAppearance> <TextStyle Bold="true" Color="#003366" /></LabelsAppearance>If the data is 56.1, the label is 56.1
Is my data format string incorrect, or is it just not working?