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

Chart Group-Description can't be set

2 Answers 10 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Roman
Top achievements
Rank 1
Roman asked on 27 Jun 2013, 09:10 AM
Hi
My situation is like this:
I've a chart on a report. On this chart I display an amount of categories, each of them has thee property that can be bound. Each category has a categoryname like "operating time" or something like that. My problem is now, I can't display these categorynames on the chart. I know it's possible to set the DataLabelsColumn, but that's not my goal. (I also tried to set the plotArea.xaxis... doesn't work)
For better understanding of my problem:

      
The numbers 1, 2, 3 should display the name of the associated category.

Someone knows how to do that?


Regards Michael

2 Answers, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 02 Jul 2013, 09:02 AM
Hi Michael,

The code for setting the labels of the x axis looks like this (since we already have your sample):
chart1.PlotArea.XAxis.DataLabelsColumn = "Kategorie";

We have tested this locally and it works as expected, screenshot attached. In case your goal is something else please elaborate so that we are able to advise you accordingly.

Regards,
IvanY
Telerik

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

0
Roman
Top achievements
Rank 1
answered on 03 Jul 2013, 12:21 PM
Hi
Thanks for your help. It works perfectly now. My mistake was to define the "binding" on the serie it self and not on the whole chart.

Regards
Michael
Tags
General Discussions
Asked by
Roman
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Roman
Top achievements
Rank 1
Share this question
or