Legend for x-axis names

2 posts, 0 answers
  1. Al
    Al avatar
    216 posts
    Member since:
    Oct 2006

    Posted 17 Aug 2015 Link to this post


    I have a single series column chart & I want to remove all the column names on the x-axis for space reasons. How can I put those names in a Legend box underneath the chart?

  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 20 Aug 2015 Link to this post

    Hi Al,

    To remove the x-axis labels in the chart you can just avoid inserting them or binding them.

    To create a custom legend:
        - You can position absolutely a styled HTML element near the chart, as illustrated in this demo - http://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/custombarcolor/defaultcs.aspx.
        - Use visual templates, as shown here - http://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/visual-templates/defaultcs.aspx?isNew=true

    Danail Vasilev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top