The XYCurve object is used to plot X–Y data and to store its display attributes.
import visualization session.charts[name].axes1[i].axisData.curves[i] session.charts[name].axes2[i].axisData.curves[i] session.charts[name].curves[name] session.curves[name] session.defaultChartOptions.defaultAxis1Options.axisData.curves[i] session.defaultChartOptions.defaultAxis2Options.axisData.curves[i] session.xyPlots[name].charts[name].axes1[i].axisData.curves[i] session.xyPlots[name].charts[name].axes2[i].axisData.curves[i] session.xyPlots[name].charts[name].curves[name] session.xyPlots[name].curves[name]
This method creates an XYCurve object from an XYData object.
session.Curve
Required arguments
A String specifying the repository key.
An XYData object specifying the data for the curve.
Optional arguments
Return value
An XYCurve object.
Exceptions
InvalidNameError.
This method modifies the XYCurve object.
Required arguments
Optional arguments
A sequence of SymbolicConstants specifying that describe how curves are to be displayed. Possible values are LINE and SYMBOL. The default value is (LINE).
A String specifying the label to be displayed in the legend. By default, the label is system defined.
An Int specifying the frequency of plotting the markers. Possible values are symbolFrequency 0. If symbolFrequency=1, then markers are plotted at every point. The default value is 1.
A Boolean specifying whether to use the system supplied legend label. The default value is ON.
Return value
Exceptions
The XYCurve object can have the following members:
A String specifying the repository key.
An Int specifying the frequency of plotting the markers. Possible values are symbolFrequency 0. If symbolFrequency=1, then markers are plotted at every point. The default value is 1.
A Boolean specifying whether to use the system supplied legend label. The default value is ON.
A SymbolicConstant specifying how the system supplied, default legend label is to be generated. Possible values are CURVE_LEGEND, CURVE_NAME, and CURVE_NAME_LEGEND. The default value is CURVE_LEGEND.
An XYData object specifying the data for the curve.
A LineStyle object specifying the line properties used to display the curve.
A SymbolStyle object specifying the symbol properties used to display the curve.
A String specifying the label to be displayed in the legend. By default, the label is system defined.
A tuple of SymbolicConstants specifying that describe how curves are to be displayed. Possible values are LINE and SYMBOL. The default value is (LINE).