Example: ChartStyle property using XY plotting

This example sets the plotting style of a trend chart to XY plotting.
Private Sub XYPlot() If Trend1.ChartStyle = rstXYplotStyle Then ' go to standard display mode Trend1.ChartStyle = rstStandardStyle Else ' go to XY Chart mode ' Go into XY Chart mode Trend1.ChartStyle = rstXYplotStyle ' Use Pen#1 as the X axis Trend1.XYPlotXAxisPen = 1 End If End Sub
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal