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:
Different logics are available regarding the way to display the labels on the axes when can't all be displayed. Whether the axis shows discrete or continuous values, the following modes can be applied on the horizontal and vertical axes:
On the horizontal axis the property config.horizontalAxisLabelsBehavior
can be set to anticipate a situation where all the labels can't be displayed. The available values are from the WebChartLabelBehavior
:
WebChartLabelBehavior = { Hide: "hide", Rotate: "rotate", Stagger: "stagger", Wrap: "wrap", };
horizontalAxisLabelsBehavior | Chart |
Rotate (default mode) | |
Wrap | |
Stagger | ![]() |
Hide |
On the vertical axis the property config.verticalAxisLabelsBehavior
can be set to anticipate a situation where the labels occupy too much space. The available values are a subset from the WebChartLabelBehavior
:
WebChartLabelBehavior = { Hide: "hide", Wrap: "wrap", };
Wrap (default mode) | Hide |
![]() | ![]() |