Why does the Yaxis display on right side of area chart?

1 Answer 9 Views
Charts
Hyginus
Top achievements
Rank 1
Hyginus asked on 01 Jul 2021, 12:39 AM

 

Why does the Yaxis display on right side of area chart?

The vertical scale show up on the right-hand side no matter what I do. and the chart is blank even though series items were populated

1 Answer, 1 is accepted

Sort by
0
Georgi Denchev
Telerik team
answered on 05 Jul 2021, 08:42 AM

Hello, Hyginus,

There could be several reasons as to why the labels appear on the right side instead of the left. The position of the labels might be set to the "end" or the chart element might have the "k-rtl" class applied. Unfortunately without a runnable code, it is hard to determine what the cause may be.

Try setting the position to start and see if that makes any difference:

valueAxis: {
                    labels: {
                        format: "{0}%",
                      	position: "start"
                    },
                    line: {
                        visible: false
                    },
                    axisCrossingValue: -10
                }

I have prepared a dojo sample with an Area chart:

https://dojo.telerik.com/@gdenchev/UqiruguS 

In case the above suggestions do not resolve the issue, could you modify it and send it back to me so I can examine the problem locally? This should give me a clue as to what is causing this behavior.

Best Regards,
Georgi Denchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Charts
Asked by
Hyginus
Top achievements
Rank 1
Answers by
Georgi Denchev
Telerik team
Share this question
or