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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

IChartSeriesIndexedModel for DateTime

Thread ID:





37903 Dec 1,2005 09:27 PM UTC Dec 2,2005 09:59 PM UTC WinForms 2
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


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

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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