The Chart object is used to display XYCurve objects. A Chart object is automatically created when creating an XYPlot object
import visualization session.charts[name] session.xyPlots[name].charts[name]
This method distributes the colors on all curves displayed in the chart using the color palette defined by the xyColors object.
Required arguments
Optional arguments
A Boolean defining whether color distribution affects curve lines.
A Boolean defining whether color distribution affects curve symbols.
Return value
Exceptions
This method distributes the symbols on all curves displayed in the chart.
Arguments
Return value
Exceptions
This method resets the transform of the chart. It cancels any zoom or pan action.
Arguments
Return value
Exceptions
This method returns the Axis object used for displaying the Axis1 of the XYCurve specified by name or object or used for the given QuantityType object.
Required arguments
The QuantityType object associated to the Axis object.
Optional arguments
Return value
An Axis object.
Exceptions
If the given XYCurve is not used in the Chart.
XypError: Curve not found:
If both arguments are specified.
If the given QuantityType is not used in the Chart.
This method returns the Axis object used for displaying the Axis2 of the XYCurve specified by name or object or used for the given QuantityType object.
Required arguments
The QuantityType object associated to the Axis object.
Optional arguments
Return value
An Axis object.
Exceptions
If the given XYCurve is not used in the Chart.
XypError: Curve not found:
If both arguments are specified.
If the given QuantityType is not used in the Chart.
This method moves the relative position of the given Axis object up in the axis sequence of the Chart.
Return value
Exceptions
This method moves the relative position of the given Axis object down in the axis sequence of the Chart.
Return value
Exceptions
This method removes the given XYCurve from the Chart.
Required argument
Optional arguments
Return value
Exceptions
This method modifies the Chart object.
Required arguments
Optional arguments
A Chart object from which attributes are to be copied.
A sequence of Strings specifying the names of the curves to plot. In addition to this type, the argument can also be one of the following:
A Float specifying the aspect ratio of the grid area. A value of -1 specifies that the gridArea will take up all available space. The default value is –1.
A sequence of Floats specifying a transformation matrix used to scale or pan along the axes of the Chart.
A View object.
A Boolean specifying whether to use the QuantityType to associate curves with axes. The default value is ON.
Return value
Exceptions
RangeError.
The Chart object can have the following members:
A String specifying the name of the Chart object.
A Boolean specifying whether to use the QuantityType to associate curves with axes. The default value is ON.
A Float specifying the aspect ratio of the grid area. A value of -1 specifies that the gridArea will take up all available space. The default value is –1.
An AxisArray object specifying a read-only sequence of axis objects displayed as axes1 - the abscissa for a Cartesian chart.
An AxisArray object specifying a read-only sequence of axis objects displayed as axes2 - the ordinate for a Cartesian chart.
An Area object specifying position, padding, background and borders of the chart.
An Area object specifying how to display the grid area.
A Legend object specifying the attributes for the legend of the chart.
A LineStyle object specifying the line properties to be used when drawing major gridlines along axis 1.
A LineStyle object specifying the line properties to be used when drawing major gridlines along axis 2.
A LineStyle object specifying the line properties to be used when drawing minor gridlines along axis 1.
A LineStyle object specifying the line properties to be used when drawing minor gridlines along axis 2.
A TextStyle object specifying the text properties to be used when creating tags.
An AreaStyle object specifying the area properties to be used when creating tags.
A LineStyle object specifying the tag area border properties to be used when creating tags.
A tuple of Floats specifying a transformation matrix used to scale or pan along the axes of the Chart.