Initializing help system before first use

vdl-chart-axis

Use a vdl-chart-axis tag to configure each axis on the chart.

Required parent element

Must be contained within one of the following elements:

Example

<vdl-chart title="Factory Supply vs Demand">
	<vdl-chart-axis axis="x" title="Factory" />
	...
</vdl-chart>

Attributes

axis Specify the axis to configure. Accepts: "x", "y" required
margin-size The size of this margin in pixels. accepts expression
max Specify a maximum value (number) for this axis. Must be used in conjunction with "min" accepts expression
min Specify a minimum value (number) for this axis. Must be used in conjunction with "max" accepts expression
show-grid Show the grid lines on this axis. Accepts: "true", "false". Defaults to "false"
step Specify the step in-between ticks on the axis accepts expression
suffix The suffix to add to labels on this axis
title Title for the axis accepts expression
type Type for the axis. Defaults to "category" for x axis and autodetect for y axis. Accepts: "-", "linear", "log", "date", "category"