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)
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...
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)
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...