Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:
By default the bounds on a value axis will be set to be flushed against the highest/lowest bar or marker on the chart, without letting any extra space.
The behavior can be adjusted through the boolean property config.axes[i].buffer
:
false
, there won't be any buffer around the points or bars.true
, an automatic buffer will be added. The allocated space will vary according to the current distance in between two axis labels / grid lines:No buffer (default mode) | Buffer |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
A value or date axis bounds can be also directly set through the numeric properties config.axes[i].minimum | maximum
(unless the axis is using a logarithmic scale, see after).
No specific bounds set | x-axis bounds: [-165, -140] - y-axis bounds: [55-68] |
![]() | ![]() |
A value axis can be set to display on a regular or logarithmic scale, through the boolean property config.axes[i].isLogarithmic
.
When the logarithmic option is selected, the customized bounds are not applied anymore.
Observe the axis labels on the following examples:
Axis type | Chart |
both regular axes (default) | ![]() |
y-axis logarithmic | ![]() |
x-axis logarithmic | ![]() |