Hi Team
I want to show case the percentage of data in the Y axis of the column chart field.
Eg: If the X axis is have 4 values: A,B,C,D and Y axis is having values for each 1 for A, 2 for B, 3 for C, 4 for D.
But other than showing these values is it also possible to showcase the percentage of these values as well?
Thanks
Harikrishnan
Discussion posts and replies are publicly visible
harikrishnanp6130 said:Hi Team I want to show case the percentage of data in the Y axis of the column chart field. Eg: If the X axis is have 4 values: A,B,C,D and Y axis is having values for each 1 for A, 2 for B, 3 for C, 4 for D. But other than showing these values is it also possible to showcase the percentage of these values as well? Thanks Harikrishnan
Yes, you can display both the values and their percentages on a column chart. First, calculate the percentage of each value relative to the total (e.g., value / total * 100). Then, customize the data labels to show both the atfbooru raw values and percentages, such as "1 (25%)". Most charting libraries, like Chart.js, allow you to modify the label format using options like tooltip.callbacks to display both the values and percentages. Alternatively, you can use a dual-axis chart if you want to show raw values on one axis and percentages on the other.
Hi atfb650251Could you please tell us how to use the dual-axis chart for this?The requirement is like as we have pinged in the above ticket.