Clustered Bar Chart - Dual X axis labels. Is this possible?

6 posts, 0 answers
  1. Mike
    Mike avatar
    23 posts
    Member since:
    Jun 2012

    Posted 12 Sep 2012 Link to this post

    What I'd like to achieve is like these two image attachments which were created in Excel. I'd like to have two levels of X-Axis labelling. I'd also like to have clustered and stacked.

    Is this possible with the Telerik WPF charting tools?
  2. Nikolay
    Admin
    Nikolay avatar
    385 posts

    Posted 13 Sep 2012 Link to this post

    Hi Mike,

    You can use the StackedBar series type demonstrated here ( the demo is the same for WPF as well ).

    As for the two levels of X-Axis labels, unfortunately this is not supported out of the box, however, you can achieve the same result by placing 2 or more charts next to each other, collapse the Y axes of all charts ( as well as the legends ), except for the one on the left, and then simply use the axes labels for the first level of labeling and the axes titles of the different charts for the second level of labeling.

    Kind regards,
    Nikolay
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Mike
    Mike avatar
    23 posts
    Member since:
    Jun 2012

    Posted 14 Sep 2012 Link to this post

    Is it possible to have a code example of this provided?
  5. Nikolay
    Admin
    Nikolay avatar
    385 posts

    Posted 17 Sep 2012 Link to this post

    Hello Mike,

    Please, find attached a sample test application demonstrating the described approach.

    Kind regards,
    Nikolay
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  6. Xue Kun
    Xue Kun avatar
    2 posts
    Member since:
    Dec 2012

    Posted 22 Feb 2013 Link to this post

    Hi Nikolay,

    Will this feature be implemented? I think it doesn't make sense to create the 2nd graph just for the X-axis.

    Thanks!

    Regards,
    Xue Kun
  7. Nikolay
    Admin
    Nikolay avatar
    385 posts

    Posted 27 Feb 2013 Link to this post

    Hi Xue Kun,

    Unfortunately this feature is not in our immediate future plans for RadChart. Please, excuse us for the inconvenience caused.

    All the best,
    Nikolay
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
UI for WPF is Visual Studio 2017 Ready