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

How to place the label of CategoryAxis on top

2 Answers 137 Views
Charts
This is a migrated thread and some comments may be shown as answers.
kako
Top achievements
Rank 1
kako asked on 01 May 2018, 09:42 AM

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 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 02 May 2018, 06:41 AM
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.
0
kako
Top achievements
Rank 1
answered on 24 May 2018, 06:26 AM

OK.

Thanks!

Tags
Charts
Asked by
kako
Top achievements
Rank 1
Answers by
Stefan
Telerik team
kako
Top achievements
Rank 1
Share this question
or