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

Categories Axis display KendoReact

2 Answers 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kamelija
Top achievements
Rank 1
Veteran
Kamelija asked on 08 Jul 2020, 11:34 AM

Hello, 

I am trying to get the same display for the Categories Axis when having negative values in the Values axis like this example https://dojo.telerik.com/AYuPogoC/124,

But when trying this with KendoReact this is not working. https://stackblitz.com/run/?file=app%2Fmain.jsx

 

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 08 Jul 2020, 01:28 PM

Hello, Kamelija,

Thank you for the examples, I assume that the second one had an issue during saving as it leads to the stackblitz home page.

Still, I made a new example showcasing a similar end result:

https://stackblitz.com/edit/react-wvoenk?file=app/main.jsx

The specific part is having a second empty CategoryAxis and using the axisCrossingValue to position them:

https://www.telerik.com/kendo-react-ui/components/charts/api/ChartValueAxisItemProps/

I hope this is helpful.

Regards,
Stefan
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Kamelija
Top achievements
Rank 1
Veteran
answered on 08 Jul 2020, 02:55 PM
Thanks , it works as expected now! 
Tags
General Discussions
Asked by
Kamelija
Top achievements
Rank 1
Veteran
Answers by
Stefan
Telerik team
Kamelija
Top achievements
Rank 1
Veteran
Share this question
or