ChartAxisLabelFormat

2 posts, 0 answers
  1. DEFRANCE
    DEFRANCE avatar
    1 posts
    Member since:
    Mar 2015

    Posted 11 Mar 2015 Link to this post

    Dear Reader,

    First i'm sorry for my bad english.

    I would like know, how update the ChartAxisLabelFormat in RadChart ?

    I have it : http://www.casimages.com/i/15031104592612847.png (default value)

    And what i want (I want binding with MySQL Data Table) : http://www.casimages.com/i/150311050226369990.png

    Thanks you.

    Cordialy yours,

    DEFRANCE
  2. Peshito
    Admin
    Peshito avatar
    497 posts

    Posted 12 Mar 2015 Link to this post

    Hi DEFRANCE,

    Looking at the pictures you shared I see that in the first one you are most likely using a linear axis and this is why the values on the axis are 1 and 2. In order to achieve the result on the second picture, simply create categorical chart by settng the DataPointMember to XCategory instead of XValue. Your axis labels will then automatically display the corresponding values coming from the underlying business object.

    Attached is a sample to help you start with.

    Hope it helps.

    Regards,
    Peshito
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top