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

majorUnits

2 Answers 118 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 30 Nov 2011, 10:52 PM
I have some very small graphs that I'm using as trending indicators on a dashboard and I'd like to increase the gap between the major axis. I tried to apply majorUnits to the valueAxis object with a number, however, this has no effect. Can you let me know if it's possible to change the gap between major axis on the value Axis? Thanks

valueAxis: {
    min: @items.Select(m => m.Members).Min(),
    max: @items.Select(m => m.Members).Max(),
    labels: {
        font: "9px Arial",
        format: "{0:n0}"
    },
    majorUnits: 25
}

2 Answers, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 01 Dec 2011, 12:28 PM
Hello Philip,

The property is actually named "majorUnit" while the documentation wrongly lists it as "majorUnits".

Thank you for helping us fix this issue. I've updated your Telerik points as a token of gratitude.

All the best,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Philip
Top achievements
Rank 1
answered on 01 Dec 2011, 07:22 PM
Thanks...works great and my charts look awesome!
Tags
Charts
Asked by
Philip
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Philip
Top achievements
Rank 1
Share this question
or