This is a migrated thread and some comments may be shown as answers.

Why not "normal" dates

1 Answer 47 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Stefan Willebrand
Top achievements
Rank 1
Stefan Willebrand asked on 16 Jan 2009, 11:07 AM
Why cannot telerik chart handle "normal" dates as opposed to having to convert these to double?

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 19 Jan 2009, 04:37 PM
Hello Stefan Willebrand,

Since GDI works with double precision data to draw shapes and data the DateTime must be converted to double values at some poin of time in order to show correct ratios along the X-axis. These can be automatically converted to doubles during databinding, but this functionality gave way to other priorities since it is very easy to perform the conversion manually in the ItemDataBound event.

Sincerely yours,
Vladimir Milev
Tags
Chart (Obsolete)
Asked by
Stefan Willebrand
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or