setting a logaritmic chart

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

Vergassivellaunus

Guest
I design a chart with its x axis logartmic:

With Chart1.ChartAreas(0)
.AxisX.Title = "Hz"
.AxisX.IsLogarithmic = True
.AxisX.LogarithmBase = 10
End With

Chart1.ChartAreas(0).AxisX.Maximum = Fs / 4
Chart1.ChartAreas(0).AxisX.Minimum = Fs / 1024

'If I omit the following, it makes error
For n = 1 To 256
Me.Chart1.Series(0).Points.AddXY(n, X_s(n))
Next



This is not logical. Axis are indipendent of data. Error will arise if i pretend to show a zero x value point, but not before.

Continue reading...
 

Similar threads

V
Replies
0
Views
92
Vergassivellaunus
V
V
Replies
0
Views
114
Vergassivellaunus
V
V
Replies
0
Views
152
Vergassivellaunus
V
V
Replies
0
Views
139
Vergassivellaunus
V
V
Replies
0
Views
154
Vergassivellaunus
V
Back
Top