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.
Unfortunately, activation email could not send to your email. Please try again.

IChartSeriesIndexedModel for DateTime

Thread ID:





37903 Dec 1,2005 04:27 PM Dec 2,2005 04:59 PM Windows Forms 2
Tags: Chart
Terry Foster
Asked On December 1, 2005 04:27 PM

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 1, 2005 11:58 PM

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


Terry Foster
Replied On December 2, 2005 04:59 PM

That worked great - thanks! Terry


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.

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.