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

CategoryAxis positioning

1 Answer 70 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Tonih
Top achievements
Rank 1
Tonih asked on 16 Apr 2013, 04:15 PM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 17 Apr 2013, 10:46 AM
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!
Tags
Charts
Asked by
Tonih
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or