Skip to content
Jorge Yagüe París edited this page Feb 13, 2018 · 2 revisions
Version history
0.0.30 (current)
0.0.1

The following configuration parameters can be applied to any visualisation that uses the XYAxis component.

Option Syntax examples Description Values
xAxisType linear
time
Type of the X axis. It can oly be linear or temporal linear or time
xAxisFormat %m/%d/%y Format of the temporal X axis. It's only used if the axis type is temporal D3 date format
xAxisLabel Speed (m/s) Label for the X axis String
xAxisGrid false Show or hide horizontal grid lines in the background Boolean
xAxisMax auto
154
Set the maximum value of the X axis or set it as auto so it changes dynamically based on data Number or auto
xAxisMin auto
154
Set the minimum value of the X axis or set it as auto so it changes dynamically based on data Number or auto
xTicksTextRotation 0
-90
-65
Sets the rotation of the X axis ticks labels. Number
yAxisType linear
time
Type of the Y axis. It can oly be linear or temporal linear or time
yAxisFormat %d Format of the temporal Y axis. It's only used if the axis type is temporal D3 date format
yAxisLabel Speed (m/s) Label for the Y axis String
yAxisGrid false Show or hide vertical grid lines in the background Boolean
yAxisMax auto
154
Set the maximum value of the Y axis or set it as auto so it changes dynamically based on data Number or auto
yAxisMin auto
154
Set the minimum value of the Y axis or set it as auto so it changes dynamically based on data Number or auto
xTicksTextRotation 0,-90,-65 Sets the rotation of the X axis ticks labels. Number
yAxisShow true Show or hide the Y axis. Boolean