Search found 2 matches
- Thu Aug 28, 2008 7:24 pm
- Forum: VCL
- Topic: OnGetLegendText - Format Values using ValueFormat property
- Replies: 3
- Views: 3189
Thanks, Narcís, for your quick reply. I'm not sure what the difference is. When I create a new application project in Delphi, add a TChart, copy and paste your code into the project, my legend values do not come out formatted correctly. I'm getting this in the legend... 0, . point 0 0, . point 1 0, ...
- Wed Aug 27, 2008 9:03 pm
- Forum: VCL
- Topic: OnGetLegendText - Format Values using ValueFormat property
- Replies: 3
- Views: 3189
OnGetLegendText - Format Values using ValueFormat property
How can I format series values in the OnGetLegendText event using the ValueFormat mask. I have tried using Delphi's FormatMaskText function, but it doesn't format the string correctly. The ValueFormat property for the series is always set to either '#,##0' or '#,##0.00'. If I don't use GetLegendText...