|Download Help (Windows Only)|
Represents the class for Measurement Studio Windows Forms graphs that accept both x and y data values.
Assembly: NationalInstruments.UI.WindowsForms (in NationalInstruments.UI.WindowsForms.dll) Version: 188.8.131.528
|Visual Basic (Declaration)|
<DefaultPropertyAttribute("Plots")> _ Public Class ScatterGraph _ Inherits XYGraph _ Implements IScatterGraph
[DefaultPropertyAttribute("Plots")] public class ScatterGraph : XYGraph, IScatterGraph
You can use the Plots collection to include multiple ScatterPlot instances on a single graph. With multiple plots, you can plot multiple sets of data in the same plot area. You can determine whether plot colors are assigned by a color generator with the UseColorGenerator property, and you can change the plot color assignment with the PlotLineColorGenerator property.
Use PlotXY to plot a single y value against a single x value or an array of y values against an array of x values. PlotXYAppend plots y values against x values by appending the x and y values to the existing data.
You can plot multiple sets of y data values against a single set of x data values with a single method invocation. Use PlotXYMultiple to plot a 2D array of y values against an array of x values. PlotXYAppendMultiple behaves in much the same way, except that it appends the data to the existing data for plotting. PlotYXMultiple plots a 2D array of x values against an array of y values. PlotYXAppendMultiple behaves similarly but appends the data to the existing data.
|Note: For more information about the scatter graph control, refer to Using the Measurement Studio Windows Forms Graph .NET Controls or Key Measurement Studio Windows Forms Scatter and Waveform Graph .NET Control Features.|