This is a migrated thread and some comments may be shown as answers.

ChartAxisLabelFormat

1 Answer 32 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
DEFRANCE
Top achievements
Rank 1
DEFRANCE asked on 11 Mar 2015, 04:03 PM
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

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 12 Mar 2015, 11:51 AM
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.

 
Tags
ChartView
Asked by
DEFRANCE
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or