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

How to Add Horizontal lines to Column Chart, and Rotated labels?

3 Answers 701 Views
Charts
This is a migrated thread and some comments may be shown as answers.
fbaptiste
Top achievements
Rank 1
fbaptiste asked on 11 Aug 2014, 11:41 PM
I have a column chart built with Kendo DataViz, and i'd like to add the following to it:

1. Two Horizontal lines, over the full length of the chart
2. Rotated labels to the left of each columns.

Can't seem to find a working demo for both of these features.
The image attached is a sample of what i'd like to achieve.

would appreciate any help on how to do this.

Thanks,

3 Answers, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 13 Aug 2014, 10:15 AM
Hi Fred,

Up to the questions
1. For this requirement I would suggest to use valueAxis.plotBands. For your convenience here is a basic example;
2. This requirement is not supported by Kendo UI Column Chart and there is no a suitable workaround I can suggest. Please accept my apologies for any inconvenience this may cause.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
fbaptiste
Top achievements
Rank 1
answered on 13 Aug 2014, 07:14 PM
Can we make the plotbands values appear in the legend?
0
Iliana Nikolova
Telerik team
answered on 14 Aug 2014, 10:22 AM
Hi Fred,

You cannot directly reach the plotBands in the legend, however you can use a template for the legend.labels and include the actual plotBands values (example).

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
fbaptiste
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
fbaptiste
Top achievements
Rank 1
Share this question
or