xkcd
xkcd

Reputation: 2590

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?

Upvotes: 1

Views: 1592

Answers (1)

xkcd
xkcd

Reputation: 2590

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.

Upvotes: 3

Related Questions