The AreaStyle object is used to define how areas are to be filled when drawing XY-plot objects.
AreaStyle objects are automatically created whenever an Area object is created. AreaStyle objects can be created using the methods described below.
import visualization session.charts[name].area.style session.charts[name].gridArea.style session.charts[name].legend.area.style session.charts[name].tagAreaStyle session.defaultChartOptions.areaStyle session.defaultChartOptions.gridArea.style session.defaultChartOptions.legend.area.style session.defaultChartOptions.tagAreaStyle session.defaultPlot.area.style session.defaultPlot.title.area.style session.xyPlots[name].area.style session.xyPlots[name].charts[name].area.style session.xyPlots[name].charts[name].gridArea.style session.xyPlots[name].charts[name].legend.area.style session.xyPlots[name].charts[name].tagAreaStyle session.xyPlots[name].title.area.style
This method creates an AreaStyle.
session.AreaStyle
xyPlot.AreaStyle
Required arguments
Optional arguments
A String specifying the color to be used when filling an area with this AreaStyle object. The default value is "White".
A Boolean specifying whether to fill the area when using this AreaStyle. The default value is ON.
A SymbolicConstant specifying the area pattern style to be used when filling an area using this AreaStyle. The default value is SOLID.
Return value
An AreaStyle object.
Exceptions
ColorError
This method modifies the AreaStyle object.
Required arguments
Optional arguments
A String specifying the color to be used when filling an area with this AreaStyle object. The default value is "White".
A Boolean specifying whether to fill the area when using this AreaStyle. The default value is ON.
A SymbolicConstant specifying the area pattern style to be used when filling an area using this AreaStyle. The default value is SOLID.
Return value
Exceptions
The AreaStyle object has members with the same names and descriptions as the arguments to the setValues method.