Stacked Column with 2 Y-axis?

0 Answers 51 Views
Chart (HTML5)
Cheryl
Top achievements
Rank 1
Iron
Cheryl asked on 07 Aug 2023, 02:01 AM

Is it possible to create a stacked column chart and show the steps on axis but the labels on the right axis (instead of a legend)

I am programmatically creating a graph but I only have one set to data to show so didn't think i could use an additional axis?, Showing the label on the column itself is not displayed well if the data is wildly differing, eg 5421 and then 16

Thanks

Rumen
Telerik team
commented on 09 Aug 2023, 12:40 PM | edited

While RadHtmlCharts offers support for stacked columns and multiple Y-axis, it does not offer server templates or a way to customize the labels of the Y axis. What you can try is to use Kendo UI client templates to customize the label value of the Y-axis: 

It might be also worth it to check the Visual Templates mechanism of RadHtmlChart, which could be handy in other customization scenarios because it does not offer customization support for the AXIS.

Cheryl
Top achievements
Rank 1
Iron
commented on 14 Aug 2023, 08:10 PM

Thanks Rumen

For anyone that needs this, I did find a "solution" as such using a combination of multiple axis's and customisaton via the Kendo API:

I needed to show up to 3 on the left and the corresponding 3 on the right

https://www.telerik.com/forums/stacked-graph-with-variable-steps

 

No answers yet. Maybe you can help?

Tags
Chart (HTML5)
Asked by
Cheryl
Top achievements
Rank 1
Iron
Share this question
or