Hi,
I have a horizontal bar chart. X-axis (the vertial one) shows 1, 2, 3, 4. And the Y-axis (the horizontal one) shows 0, 0.1, 0.2, 0.3
I tried to format the Y-axis labels as percentage with 1 decimal, as following:
myChart.PlotArea.YAxis.Appearance.CustomFormat = "#.0%"
It didn't work. Actually, I've tried in several ways, it kept showing 0.00% 10.00% ... Always gave me 2 decimals. However, when I tried it on the X-axis, it worked (gave me 100.0% 200.% ... 400.0%)
Anybody knows what's wrong?
Second, could anyone please tell me how to hide the axis labels? I don't want to show 1, 2, 3, 4 along the X-axis.
Thanks,
Vivian