Bottom axis label problem
Posted: Mon Oct 12, 2009 12:35 pm
Hi all
I'm having a chart which bottom axis datetime value is set to "dddhh dd-mm", exact date time is true, multiline is true as well. The first 3 ddd will be converted to the shortname of the day depending on the language of windows. In my case this is dutch. What I would like to have is the shortname in english. How can I achieve this?
I tried to use the OnGetAxisLabel event and replace in there the ddd part to the english day shortname but when I enter this event the ValueIndex is -1 and LabelText parameter is messed up. I read in newsgroup that I had to set the fChart->BottomAxis->LabelStyle to talMark/talText before but this doesn't help (right now it's set to talAuto).
Did I forget to set a parameter somewhere or do I have to convert the total datetime value by myself?
Any Ideas?
Cheers
Karsten
I'm having a chart which bottom axis datetime value is set to "dddhh dd-mm", exact date time is true, multiline is true as well. The first 3 ddd will be converted to the shortname of the day depending on the language of windows. In my case this is dutch. What I would like to have is the shortname in english. How can I achieve this?
I tried to use the OnGetAxisLabel event and replace in there the ddd part to the english day shortname but when I enter this event the ValueIndex is -1 and LabelText parameter is messed up. I read in newsgroup that I had to set the fChart->BottomAxis->LabelStyle to talMark/talText before but this doesn't help (right now it's set to talAuto).
Did I forget to set a parameter somewhere or do I have to convert the total datetime value by myself?
Any Ideas?
Cheers
Karsten