plotStyle

plotStyle alters the style of a XY series and category charts.

Syntax

plotStyle(plotStyle)

Parameters

ParameterTypeDescription
plotStyleString

The plot style to apply. The following options are available:

  • AREA
  • BAR
  • ERROR_BAR
  • HISTOGRAM
  • LINE
  • OHLC
  • PIE
  • SCATTER
  • STACKED_AREA
  • STACKED_BAR
  • STEP
  • TREEMAP

These arguments are case insensitive.

Examples

The following example creates a single series plot using the STACKED_AREA style.

The following example creates a category plot with the STACKED_BAR style.