Home Forums Chart Support I want to add % sign in yValueFormatString

I want to add % sign in yValueFormatString

Viewing 2 posts - 1 through 2 (of 2 total)
  • #42488

    solve this☝🏻

    #42491

    @sain,

    Please check this documentation page for an example on using the yValueFormatString property and the different formatting options supported. Also, please take a look at this gallery page example of a pie chart with percentage values in the tooltip as well as indexlabel.

    In your case you can set yValueFormatString: "{y}%" if you want to show the value in percentage or yValueFormatString: "{y}'%'" if you want to add % symbol along with the current y-value.


    Thangaraj Raman
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.