简体   繁体   中英

Changing axis formatting in kendo stock chart

Think that I have a chart as you can see in the following url:

http://demos.telerik.com/kendo-ui/financial/index

I want to change the floating digits of axis that I marked with red rectangle . What setting do I have to edit?

We can change the template of label using the following setting:

valueAxis: {
    //majorUnit: 0.2,
    labels: {
      template: "#=  kendo.toString(value, '0,.0;(0,.0)') #" + "%"
    }
  }

Here is the full sample .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM