Hnin Htet Htet Aung
Hnin Htet Htet Aung

Reputation: 521

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

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.

Upvotes: 0

Views: 1693

Answers (1)

ThePravinDeshmukh
ThePravinDeshmukh

Reputation: 1913

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>

Upvotes: 1

Related Questions