GraphChart X Value Member change style using c#.

Anonymous
2023-01-15T03:55:47.1633333+00:00

Good day,

Please take a look the picture below.

2

All of us if we are using GraphChart in c#, as we can see the red box. Under the red box display all data from chart in normal or default style. Now I want to change that, Please see the picture below.

22

Now I want to change like this, using c# 2019. We hope somebody can help me to fix this problem.

Microsoft Security Microsoft Graph
Developer technologies C#
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 122.6K Reputation points
    2023-01-16T16:09:11.0333333+00:00

    Try executing this line:

    chart1.ChartAreas[0].AxisX.LabelStyle.Angle = -90
    

    The angle can be also set manually in Form Designer.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.