We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

IChartSeriesIndexedModel for DateTime

Thread ID:

Created:

Updated:

Platform:

Replies:

37903 Dec 1,2005 09:27 PM UTC Dec 2,2005 09:59 PM UTC WinForms 2
loading
Tags: Chart
Terry Foster
Asked On December 1, 2005 09:27 PM UTC

I''d like to use the "IChartSeriesIndexedModel" interface as demonstrated in the "SimpleModel" sample. However, the value type of my x axis is DateTime instead of Double, but the interface only seems to allow the returning of double values. How can I implement this for a DateTime axis? Thanks, Terry

Geetha M [Syncfusion]
Replied On December 2, 2005 04:58 AM UTC

Hi Terry, The IChartSeriesModel can be implemented for DateTime X values by returning the DateTime as a double value using the ToOADate method of DateTime. Please refer the attached sample which illustrates this. I hope this fulfills your requirements. Please let me know if this helps you. Thanks for using Syncfusion products. Regards, Geetha

F37903.zip

Terry Foster
Replied On December 2, 2005 09:59 PM UTC

That worked great - thanks! Terry

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;