whether to draw dots or lines, a value from DrawingMode
a CSS color specification
thickness to use when drawing the graph line, in screen coordinates, so a unit is a screen pixel.
Optional
opt_lineDash: number[]Line dash array used when drawing the line.
Corresponds to lengths of dash and spaces, in screen coordinates.
For example, [3, 5]
alternates dashes of length 3 with spaces of length 5.
Empty array indicates solid line (which is the default).
a CSS color specification
Whether to draw dots or lines, a value from DrawingMode.
Line dash array used when drawing the line. Corresponds to lengths of dash
and spaces, in screen coordinates. For example, [3, 5]
alternates dashes of
length 3 with spaces of length 5. Empty array indicates solid line.
thickness to use when drawing the line, or size of dots, in screen coordinates, so a unit is a screen pixel.
Static
dotReturns a DrawingStyle for drawing dots with the given color and dot size.
a CSS color specification
size of dots in screen coordinates, so a unit is a screen pixel.
a DrawingStyle for drawing dots with the given color and dot size
Static
lineReturns a DrawingStyle for drawing a line with the given color, line width and optional line dash.
a CSS color specification
thickness to use when drawing the graph line, in screen coordinates, so a unit is a screen pixel.
Optional
opt_lineDash: number[]Line dash array used when drawing the line.
Corresponds to lengths of dash and spaces, in screen coordinates.
For example, [3, 5]
alternates dashes of length 3 with spaces of length 5.
Empty array indicates solid line (which is the default).
a DrawingStyle for drawing a line with the given color, line width and optional line dash
Generated using TypeDoc
Specifies drawing style including: whether to draw dots or lines; color; thickness; line dash.