You must be logged in to post your query.
Home › Forums › Chart Support › I want to add % sign in yValueFormatString
Tagged: yValueFormatString
solve this☝🏻
@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.
yValueFormatString
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.
yValueFormatString: "{y}%"
yValueFormatString: "{y}'%'"
— Thangaraj Raman Team CanvasJS
You must be logged in to reply to this topic. Login/Register