Kontrast
Demos
Download
Kontakt
[english]
Appearance of Cartesian axes
This example shows how to modify the appearance of
Cartesian axes
.
let graph = figure.createGraph({ abscissae: { x: { yOrigin: -1, // arrow head arrowColor: 'red', arrowOpacity: 1, arrowThickness: 25, // line segment of arrow lineLength: 1, lineColor: 'green', lineOpacity: 0.3, lineThickness: 10 } }, ordinates: { y: { xOrigin: -1, // tick (short line segments) tickColor: 'red', tickOpacity: 1, // numbers on the axis tickLabelColor: 'blue', tickLabelOpacity: 1 } } })