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.
import visualization session.defaultChartOptions
This method modifies the DefaultChartOptions object.
Required arguments
Optional arguments
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.
An Area object specifying how to display the grid area by default.
A Legend object specifying the default attributes for the legend of the chart.
A LineStyle object specifying the default line properties to be used when drawing major gridlines along axis 1.
A LineStyle object specifying the default line properties to be used when drawing major gridlines along axis 2.
A LineStyle object specifying the default line properties to be used when drawing minor gridlines along axis 1.
A LineStyle object specifying the default line properties to be used when drawing minor gridlines along axis 2.
An AreaStyle object specifying the default area properties to be used when creating tags.
A LineStyle object specifying the default tag area border properties to be used when creating tags.
A TextStyle object specifying the default text properties to be used when creating tags.
A Boolean specifying whether to use the QuantityType to associate curves with axes. The default value is ON.
Return value
Exceptions
The DefaultChartOptions object has members with the same names and descriptions as the arguments to the setValues method.