| Build Number | Database | OS |
| 3530 | MariaDB | Windows Server |
I have a chart showing percentages and would like to display the percentages on the Y axis without decimals and with the “%” character. But I can’t find the correct format string to do this. If I use the format “%”, the number is multiplied by 100 but displayed without the “%” character. If I use the format “p”, the number is multiplied by 100 and displayed with % but also with two decimals (for example 12.34%). I also tried “p0”, in the assumption that the Kendo UI number formatting is used. However, while this works fine in a grid, it does not work for the chart. If I could use % to multiply by 100 and then somehow add the % using an escape character, it would also work but it seems that none of the usual escapes or string literals work.
Any ideas?
The data for the chart is retrieved using a Stored Procedure, which also calculates the percentage. One solution would therefore be to multiply the percentage by 100 in the SP. But I hope that this won’t be necessary.