CWPlot
The CWPlot object defines the plot for the CWGraph control. Its properties determine the appearance of the data. New plots use settings from the CWGraph.PlotTemplate object.
Use the plot methods on a CWPlot object to display one set of data. To pass more than one set of data at a time, use the plot methods on the CWGraph.
Properties
AutoScale | Specifies if the extent of the data in the plot affect the extent of an autoscaling axis. |
BasePlot | Specifies a plot to use for Y values when either the FillToBase or LineToBase property is enabled. |
BaseValue | Specifies the Y value used to fill the space between the base plot and the x axis when either the FillToBase or LineToBase property is enabled. |
DefaultPlotPerRow | Specifies the default value used by the PlotXY and ChartXY methods if the optional bXInFirstRow parameter is omitted. |
DefaultxFirst | Specifies the default value used by the PlotY method if the optional xFirst parameter is omitted. |
DefaultxInc | Specifies the default value used by the PlotY and ChartY methods if the optional xInc parameter is omitted. |
Enabled | Specifies if the plot generates mouse events when CWGraph.TrackMode = cwGTrackAllEvents and the plot is visible. |
FillColor | Specifies the color to use for filling to the specified BaseValue or BasePlot values. |
FillToBase | Fills the area between the plot and the values set for CWPlot.BaseValue or CWPlot.BasePlot. |
LineColor | Specifies the color of line that connects points in the plot. |
LineStyle | Specifies the style of lines for connecting points on a plot. |
LineToBase | Specifies if lines connect the data points to the values specified by CWPlot.BaseValue or CWPlot.BasePlot. |
LineToBaseColor | Specifies the color of lines connecting data points to the values specified by CWPlot.BaseValue or CWPlot.BasePlot. |
LineWidth | Specifies the width of the plotting line. The width range is 1 to 5. |
MultiPlot | Determines if the CWGraph plot or chart methods can use this plot. |
Name | Specifies the name of the plot. |
PointColor | Specifies the color of the points on a plot. |
PointStyle | Specifies the image drawn at each point on a plot. |
TempPlot | Specifies if a plot can be discarded if the next CWGraph plot or chart method does not need it. |
Visible | Specifies if the plot is visible or hidden. |
XAxis | Specifies the x axis for a plot. This is a read-only property. |
XYData | Displays data from an external source in a plot on a graph as it would if you called the PlotXY method. |
XYDataAppend | Displays data from an external source in a chart as it would if you called the ChartXY method. |
YAxis | Specifies the y axis for a plot. |
YData | Displays data from an external source in a plot on a graph as it would if you called the PlotY method. |
YDataAppend | Displays data from an external source in a chart as it would if you called the ChartY method. |
Methods
ChartXvsY | Charts an array of Y data against an array of X data. This method is similar to the PlotXvsY method, except that the system does not delete the previously plotted data until the amount stored is greater than the CWGraph.ChartLength property specifies. |
ChartXY | Charts a two-dimensional array of data as an XY chart. This method is similar to the PlotXY method, except that the system does not delete the previously plotted data until the amount stored is greater than the CWGraph.ChartLength property specifies. |
ChartY | Charts a 1D array of data. This method is similar to the PlotY method, except that the system does not delete the previously plotted data until the amount stored is greater than the CWGraph.ChartLength property specifies. |
ClearData | Clears the data currently displayed in the plot. |
PlotXvsY | Plots an array of Y data against an array of X data. |
PlotXY | Plots a two-dimensional array of data as an XY plot. The first row is the X data and the second row is the Y data. |
PlotY | Plots a one-dimensional array of data. |