How to place the label of CategoryAxis on top

3 posts, 0 answers
  1. kako
    kako avatar
    36 posts
    Member since:
    Mar 2015

    Posted 01 May Link to this post

    Hi.

    Is there How to place the label of CategoryAxis on top?

    I set axisCrossingValue of ValueAxis to the maximum value of int, but the chart was inverted.

    https://dojo.telerik.com/UrAHoSUk

  2. Stefan
    Admin
    Stefan avatar
    2024 posts

    Posted 02 May Link to this post

    Hello, Kako,

    Thank you for the example and the screenshot.

    Currently, this could be achieved setting a specific negative margin to the categoryAxis labels and they will appear at the top of the Chart:

    https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/categoryaxis.labels#categoryAxis.labels.margin

    I modified the example to demonstrate this:

    https://dojo.telerik.com/UrAHoSUk/2

    Please have in mind that this will require a specific value to be set, if you would like to position the categoryAxis at the top automatically, I can suggest submitting a feature request in the feedback portal and based on its popularity we may implement it in a future release:

    http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback?category_id=46450

    I hope this is helpful.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. kako
    kako avatar
    36 posts
    Member since:
    Mar 2015

    Posted 24 May Link to this post

    OK.

    Thanks!

Back to Top