Hi
I have a graph produced from equations in my code and when it is displayed it is in 2 point (too thick). The property pages for MSChart are of no help so I was wondering what the code is for making the line 1 point?
Thanks.
Printable View
Hi
I have a graph produced from equations in my code and when it is displayed it is in 2 point (too thick). The property pages for MSChart are of no help so I was wondering what the code is for making the line 1 point?
Thanks.
is this what you need:
Code:Private Sub Form_Load()
Line1.BorderWidth = 1
End Sub
Hi
When I try that I get the eror message 'Method or data member not found'.
Help!
what version of vb are you using?
VB6
thats strange, it should work
Hi
Here is the code which creates the line:-
With MSChart1
.Plot.Axis(VtChAxisIdX).CategoryScale.Auto = True
.Plot.AxisVtChAxisIdX).CategoryScale.DivisionsPerTick = q / 10
.Plot.SeriesCollection(1).Position.Excluded = True 'hide time data
.ChartType = VtChChartType2dLine
.ChartData = Data()
End With
Thanks.
In the MSChart Property Pages, click the tab that says "Series Color". Make sure the graph is set to be a line graph (you can set this from the "Chart" tab); now you can select the line thickness, pattern, and color of the line in the "Edge/Line" Section on that tab.