javascript - Adding Custom Point on the X axis- Kendo UI -
i have following project , missing piece not able figure out add 0 on x axis. interval 2000, therefore skipping 0 in middle of x axis, start point.
xaxis: { min: -5000 , axiscrossingvalue: [-5000, 0], labels: { template: kendo.template($("#labeltemplate").html()) }, } , yaxis: { reverse: true , labels: { format: "{0}" } }
add majorunit:1000 xaxis
xaxis: { majorunit:1000, //<-add here min: -5000 , axiscrossingvalue: [-5000, 0], labels: { template: kendo.template($("#labeltemplate").html()) }, } , yaxis: { reverse: true , labels: { format: "{0}" } }
Comments
Post a Comment