Error when log chart

  • Thread starter Thread starter Vergassivellaunus
  • Start date Start date
V

Vergassivellaunus

Guest
If i decide to make a log x axis ona chrta i write:

Form_Spettro.Chart_x.ChartAreas(0).AxisX.LabelStyle.Enabled = True
Form_Spettro.Chart_x.ChartAreas(0).AxisX.IsLogarithmic = True
Form_Spettro.Chart_x.ChartAreas(0).AxisX.LogarithmBase = 10
Form_Spettro.Chart_x.ChartAreas(0).AxisX.MajorGrid.LineColor = Color.LightGray
Form_Spettro.Chart_x.ChartAreas(0).AxisY.MajorGrid.LineColor = Color.LightGray
Form_Spettro.Chart_x.ChartAreas(0).AxisY.Maximum = 100
Form_Spettro.Chart_x.ChartAreas(0).AxisY.Minimum = 0
Form_Spettro.Chart_x.ChartAreas(0).AxisX.Maximum = Fs / 4
Form_Spettro.Chart_x.ChartAreas(0).AxisX.Minimum = 1
Form_Spettro.Chart_x.ChartAreas(0).CursorX.IsUserEnabled = True
Form_Spettro.Chart_x.ChartAreas(0).CursorX.Interval = 0.01
Form_Spettro.Chart_x.Series(0).Color = Color.Red

Form_Spettro.Chart_x.Series(0).Points.AddXY(1, 1) 'Why this ??????????????

If i do not add a point it makes error.

Why?

Continue reading...
 

Similar threads

V
Replies
0
Views
116
Vergassivellaunus
V
V
Replies
0
Views
94
Vergassivellaunus
V
V
Replies
0
Views
92
Vergassivellaunus
V
V
Replies
0
Views
156
Vergassivellaunus
V
V
Replies
0
Views
154
Vergassivellaunus
V
Back
Top