Graph2d | Dynamic Styling Example
This example shows how to programmatically change the styling of a group. While this can also be done in CSS, this must be statically defined, and the programmatic interface allows the user to define the look of the graph at runtime.
Line Color
green
red
blue
black
Line Style
line
dash
dot
dash-dot
Line thickness
0
1
2
3
4
5
6
Fill Position
none
top
bottom
zero
Fill Color
green
red
blue
black
Fill Opacity
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Points Shape
none
circle
square
Points Size
1
2
3
4
5
6
8
10
15
20
Points Color
green
red
blue
black
Point Line Thickness
0
1
2
3
4
5
6
Points Fill Color
green
red
blue
black