Having date type in DataXColumn Property

Thread is closed for posting
2 posts, 0 answers
  1. Achuthan
    Achuthan avatar
    31 posts
    Member since:
    May 2007

    Posted 18 Aug 2011 Link to this post

    Hi telerik team, i have one table which has quantity and Date. i need to assign date column to ChartSeries.DataXColumn, when i am trying to assign this column i'm getting "Date is not numeric" exception. Is it a limitation or how can i assign this data to RadChart.
  2. Evgenia
    Evgenia avatar
    1398 posts

    Posted 23 Aug 2011 Link to this post

    Hello Achuthan,

    There are some things you should have in mind when binding RadChart - both XAxis and YAxis expect their values to be of decimal type. This means that dates should be presented in their OLE Automation equivalent using the ToOADate() method provided by the Framework. You may find our Numerical Axis demo helpful for achieving this.

    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft R3 2016 release webinar banner
Back to Top