Chart Group-Description can't be set

3 posts, 0 answers
  1. Michael Keiser
    Michael Keiser avatar
    3 posts
    Member since:
    Nov 2009

    Posted 27 Jun 2013 Link to this post

    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. IvanY
    Admin
    IvanY avatar
    417 posts

    Posted 02 Jul 2013 Link to this post

    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.

  3. Michael Keiser
    Michael Keiser avatar
    3 posts
    Member since:
    Nov 2009

    Posted 03 Jul 2013 Link to this post

    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
Back to Top