0

I want to change position of ValueLabel of my chart. What is the solution?

Also can I change size of that?

masoud ramezani
  • 22,228
  • 29
  • 98
  • 151

3 Answers3

2

I think I am too late, but as I had the same problem and found a solution, here it is:

yourChart.Series["yourSeries"]["LabelStyle"] = "Right";

This changes the position of the value label, NOT the axis label!

steven
  • 383
  • 1
  • 3
  • 20
1

Did you try setting the LabelStyle which is a Custom property. here you can specify the positioning within the predefined ones like

  • Top, Bottom, Right, Left, TopLeft, TopRight, BottomLeft, BottomRight, Center
V4Vendetta
  • 37,194
  • 9
  • 78
  • 82
0

You can set the position by this way :

<Points>               
      <asp:DataPoint AxisLabel="1" YValues="14" />
      <asp:DataPoint AxisLabel="2" YValues="11" />
      <asp:DataPoint AxisLabel="3" YValues="16" />
      <asp:DataPoint AxisLabel="4" YValues="4" />
      <asp:DataPoint AxisLabel="5" YValues="3" /> 
</Points>
sobby01
  • 1,916
  • 1
  • 13
  • 22