How to display the y-axis labels in percentage in a column chart or bar chart in .NET Report Viewer

1.6k views Asked by At

I have spent a few hours finding a solution to display the y-axis in percentage in a column chart in Microsoft Report Viewer but couldn't find any solution.

According to the graph in the screenshot, y-axis values are in actual value. I want them to be scale to % (0-100).

enter image description here

I am developing windows form in visual studio 2012.

Thanks.

1

There are 1 answers

1
ThePravinDeshmukh On

Perhaps you can pass percentage values for Y-Axis forehand.

And if you don't want to do that, use Stacked Bar Chart, where chart type is StackedBar100, something like below :

<Series ChartType="StackedBar100" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40">
    <SmartLabelStyle Enabled="True" />
</Series>