Appearance of point and line plots
To change appearance of points and
lines you can specify the properties
color
, opacity
and thickness
.
These properties are optional: if you do not specify them, the
default values are used.
Note that there is a strict differentiation between graphical
properties (such as color
and opacity
of
points and lines) and data. As soon as you specify data that is
mapped to a color axis,
the color
property will be ignored.
The basic structure of the code looks as follows (see also the tutorial):
To specify a color, please refer to the color property.
To control the order in which object are drawn (which object should
be drawn over/under which object), use renderIndex
(see
Example: Fine-tuning the drawing order using the render index).
This example shows several colors and thicknesses.
This example shows different values for the opacity.