CategoryAxis positioning

2 posts, 1 answers
  1. Tonih
    Tonih avatar
    35 posts
    Member since:
    Nov 2012

    Posted 16 Apr 2013 Link to this post

    Hi,

    I'm having an issue whereas if my data is in negatives, the categoryAxis still stays base at zero. Ideally, I would like it not to be zero-based. Coming from a Flex background, a simple solution would be "baseAtZero = false". Is there a property similar or perhaps another way that can fix the positioning of my categoryaxis?

    Thanks,
    Tonih
  2. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 17 Apr 2013 Link to this post

    Hello Tonih,

    In order to achieve the desired outcome you can specify the valueAxis.axisCrossingValue. For example: 

    $("#chart").kendoChart({
      //....
      valueAxis: {
         //....
         axisCrossingValue: -4000
      }
    });
    Regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top