DefaultChartOptions object

The DefaultChartOptions object is used to hold on default chart and axis attributes. The DefaultChartOptions object attributes are used whenever Chart or Axis are created. A DefaultChartOptions object is automatically created when opening a session.

This page discusses:

Access

import visualization
session.defaultChartOptions

setValues(...)

This method modifies the DefaultChartOptions object.

Required arguments

None.

Optional arguments

areaStyle

An AreaStyle object specifying an AreaStyle used to hold on to the default display properties for the chart area.

aspectRatio

A Float specifying the default 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.

defaultAxis1Options

An Axis object specifying an Axis object used to hold on to the default properties for direction 1 axes—the abscissa for a Cartesian chart.

defaultAxis2Options

An Axis object specifying an Axis object used to hold on to the default properties for direction 2 axes—the ordinate for a Cartesian chart.

gridArea

An Area object specifying how to display the grid area by default.

legend

A Legend object specifying the default attributes for the legend of the chart.

majorAxis1GridStyle

A LineStyle object specifying the default line properties to be used when drawing major gridlines along axis 1.

majorAxis2GridStyle

A LineStyle object specifying the default line properties to be used when drawing major gridlines along axis 2.

minorAxis1GridStyle

A LineStyle object specifying the default line properties to be used when drawing minor gridlines along axis 1.

minorAxis2GridStyle

A LineStyle object specifying the default line properties to be used when drawing minor gridlines along axis 2.

tagAreaStyle

An AreaStyle object specifying the default area properties to be used when creating tags.

tagBorder

A LineStyle object specifying the default tag area border properties to be used when creating tags.

tagTextStyle

A TextStyle object specifying the default text properties to be used when creating tags.

useQuantityType

A Boolean specifying whether to use the QuantityType to associate curves with axes. The default value is ON.

Return value

None.

Exceptions

None.

Members

The DefaultChartOptions object has members with the same names and descriptions as the arguments to the setValues method.