I have been trying to format the data labels to only display 2 decimal digits. The attached screenshot displays 3 decimal digits.
I have tried a number of things, including
Code: Select all
Chart1.Series[iseries].AddXY(QYear, QVal, Format('%7.2f',[Qval])); //this will also change the Xaxis label (XLabel);
Chart1.Series[iseries].Marks.Items[iPoint].text.Add(Format('%7.2f',[Qval])); // this adds text to the existing label; even if cleared.
Code: Select all
LeftAxis.AxisValuesFormat := '0.00' ;