Index

From: Ary
Subject: Re: date format issue
Date: Tue, 7 Oct 2008 09:07:03 -0500
Newsgroup: steema.public.teechart7.delphi  

Thanks again for reply. I thought you wanted me to set
ShortDateFormat := 'm/d/yyyy'

Based on your last example, what if the user selects numeric field as
x-axis.
Now the problem is I don't know wether user will use date field as x axix
or y-axis or not.
They are free to use what ever field they want from lookup box.

Any idea what should I do in this case.

Regards,
Ary

"Narcís Calvet" wrote in message
news:p3NJTwGKJHA.1896@TEEPC.Steema.local...
> Hi Ary,
>
> Sorry if I confused you. Probably setting DateTimeFormat will be enough,
> for example:
>
> Series1.XValues.DateTime := true;
> Chart1.Axes.Bottom.DateTimeFormat := 'dd-MMM-yy';
>
> Hope this helps!
>
>
> --
> Best Regards,
>
> Narcís Calvet
> Steema Support Central
> http://support.steema.com
>
> "Important note: If you are a TeeChart registered customer, please post
> your support questions at Steema's Support monitored Forums for customers:
> http://support.steema.comom for a prompter reply."
>
>
>
> "Ary" wrote in message
> news:YQXE4h8JJHA.1896@TEEPC.Steema.local...
>>I apologise. I am really confused now.
>>
>> Can you please give an example how to do this ?
>> I was thinking Delphi's ShortDateTime variable always pics system shor
>> date time format.
>> What else extra I have to do?
>>
>> Please advice.
>>
>> Regards,
>> Ary
>>
>>
>> "Narcís Calvet" wrote in message
>> news:nCCGnD8JJHA.1896@TEEPC.Steema.local...
>>> Hi Ary,
>>>
>>> In that case you may want to retrive system's DateTime and assign it to
>>> Delphi's variables or set an option at your application for manually
>>> setting DateTime format.
>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> Narcís Calvet
>>> Steema Support Central
>>> http://support.steema.com
>>>
>>> "Important note: If you are a TeeChart registered customer, please post
>>> your support questions at Steema's Support monitored Forums for
>>> customers: http://support.steema.comport.steema.com for a prompter reply."
>>>
>>>
>>> "Ary" wrote in message
>>> news:2U%23mn17JJHA.1896@TEEPC.Steema.local...
>>>> Thanks for your kind reply.
>>>>
>>>> Client will be setting there system Date format.
>>>> So do you think still I should hard code ShortDateFormat to
>>>> 'm/d/yyyy'.
>>>> I bascially don't want to depend on system date format and still want
>>>> graph to work correctly.
>>>>
>>>>
>>>> Thanks,
>>>> Ary.
>>>>
>>>>
>>>> "Narcís Calvet" wrote in message
>>>> news:FVXf8q6JJHA.5700@TEEPC.Steema.local...
>>>>> Hello,
>>>>>
>>>>> In that case you may need to set Delphi's ShortDateFormat property
>>>>> according to your system format before populating your series:
>>>>>
>>>>> ShortDateFormat := 'm/d/yyyy';
>>>>>
>>>>> Hope this helps!
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>>
>>>>> Narcís Calvet
>>>>> Steema Support Central
>>>>> http://support.steema.com
>>>>>
>>>>> "Important note: If you are a TeeChart registered customer, please
>>>>> post your support questions at Steema's Support monitored Forums for
>>>>> customers:
>>>>> http://support.steema.comma.com for a prompter reply."
>>>>>
>>>>>
>>>>>
>>>>> "Ary" wrote in message
>>>>> news:zBVNIL3JJHA.5700@TEEPC.Steema.local...
>>>>>> We have a report that works fine when system date format is
>>>>>> mm/dd/yyyy. But when I change system date format to dd-MMM-yy the
>>>>>> chart just shows on vertical like.
>>>>>>
>>>>>> Any idea what's going on here.
>>>>>>
>>>>>> Regards.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>