Categories Axis display KendoReact

3 posts, 0 answers
  1. Kamelija
    Kamelija avatar
    2 posts
    Member since:
    Jul 2020

    Posted 08 Jul 2020 Link to this post

    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. Stefan
    Admin
    Stefan avatar
    3034 posts

    Posted 08 Jul 2020 Link to this post

    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.
  3. Kamelija
    Kamelija avatar
    2 posts
    Member since:
    Jul 2020

    Posted 08 Jul 2020 in reply to Stefan Link to this post

    Thanks , it works as expected now! 
Back to Top