No Preview

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:

  1. Missing Context/Providers: You can use decorators to supply specific contexts or providers, which are sometimes necessary for components to render correctly. For detailed instructions on using decorators, please visit the Decorators documentation.
  2. Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary settings for loaders, plugins, and other relevant parameters. You can find step-by-step guides for configuring Webpack or Vite with Storybook.
  3. Missing Environment Variables: Your Storybook may require specific environment variables to function as intended. You can set up custom environment variables as outlined in the Environment Variables documentation.

WebChartPredefinedLabelsDataOrder

A data order option for the items to be ordered by category based on a predefined list of labels.

Referenced by: WebMapWebChart, WebMapWebGaugeChart, WebMapWebBoxPlot, WebChart, WebGaugeChart, WebBoxPlot, WebMapWebRadarChart, WebRadarChart

Properties

PropertyDetails
orderType*

The type of order, which is by category.


The type of this property is: string.

orderBy*

The predefined list of labels to order the data by.



When the value of the preferLabel property is set to false, the orderBy list should be a list of


coded domain values or field names; otherwise, it should be a list of domain descriptions, subtypes descriptions, or field aliases.


The type of this property is: array.

preferLabel

Indicates whether to order data by the label or the value.



For example, when a field has domain coded values or supbtypes, setting this property to false will order the data by the field value.


Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.



When the value is set to true or undefined, the orderBy property should contain a list of labels like domain descriptions, subtypes descriptions, or field aliases.


When the value is set to false, the orderBy property should contain a list of coded domain values or field names, in order for the data to be sorted correctly.


The type of this property is: boolean.