I am trying to use DateTime format for a simple Pie Chart (Last version for C++ Builder 5)
MySerie->ValueFormat = "ddddd"
MySerie->YValues->DateTime = true
MyChart->LeftAxis->DateTimeFormat = "ddddd"
and in the Marks, the Value is displayed with "ddddd" (in the legend, the
display is ok).
Is it a bug or am I missing something ?
I found a kind of workaround by using the Legend Value for the MarksStyle so
I can get correct format because it follows the legend display...
but it is not very satisfying...
Same problem using the format for the Legend:
MySerie->ValueFormat = "dddd, MMMM dd, yyyy"
MySerie->YValues->DateTime = true
In the legend, the date displayed are 3/26/1996 instead of Tuesday, March
26, 1996
and in the Marks, I get "dddd, MMMM dd, yyyy" !
The problem is the same for Bar/Line/Point series
Thanks
Displaying DateTime for point values in Marks and Legends
Hi,
yes, you're correct, it's a bug. I've added it down our defect list and a fix for it will be considered to inclusion for the next maintenance releases. In meantime a workaround could be to use the OnGetMarkText and OnGetLegendText events to put the correct string for each Mark and Legend item.
yes, you're correct, it's a bug. I've added it down our defect list and a fix for it will be considered to inclusion for the next maintenance releases. In meantime a workaround could be to use the OnGetMarkText and OnGetLegendText events to put the correct string for each Mark and Legend item.
Pep Jorge
http://support.steema.com
http://support.steema.com