Series Preview

To style the chart portion of the preview chart. You can specify the preview chart type (area or line chart) and styling. Refer to the Stock Charts Tutorial and Zooming, Scrollbar, and Preview Chart Tutorial for more information.

AttributeTypeInfo

alpha

Numeric

Sets the transparency level of the object. Values must range between 0.0 and 1.0, with 0.0 being completely transparent and 1.0 being completely opaque. Note that values require the leading 0 before the decimal point.

0.3 | 0.4 | 0.9 | ...

alpha-area alphaArea

Numeric

Area Chart only: Sets the transparency level of the object. Values must range between 0.0 and 1.0, with 0.0 being completely transparent and 1.0 being completely opaque. Note that values require the leading 0 before the decimal point.

0.3 | 0.4 | 0.9 | ...

background-color backgroundColor

String

Sets the background color of the object. Colors can be entered by name (e.g., "purple", "blue"), hexadecimal notation (e.g., "#666699", #33ccff"), or RGB notation (e.g., "rgb(255,0,0)", "rgb(0,0,255)").

"none" | "transparent" | "purple" | "#33ccff" | "rgb(100, 15, 15)" | ...

line-color lineColor

String

Sets the line color of the object.

"none" | "transparent" | "purple" | "#33ccff" | "rgb(100, 15, 15)" | ...

line-style lineStyle

String

Sets the line style of the object.

"solid" | "dotted" | "dashed" | "dashdot"

line-width lineWidth

Mixed

Sets the line width of the object.

2 | 4 | "6px" | ...

type

String

To set the stock preview chart type: area chart or line chart.

"area" (default) | "line"