sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Function BoxplotChart

BoxplotChart(props): Promise< ReactNode > | ReactNode

A React component representing data in a way that visually describes the distribution, variability, and center of a data set along an axis.

Parameters

ParameterTypeDescription
propsBoxplotChartPropsBoxplot chart properties

Returns

Promise< ReactNode > | ReactNode

Boxplot Chart component

Example

Boxplot chart displaying data from the Sample ECommerce data model.

import { BoxplotChart } from '@sisense/sdk-ui';
import * as DM from './sample-ecommerce';

const CodeExample = () => (
  <BoxplotChart
    dataSet={DM.DataSource}
    dataOptions={{
      category: [DM.Commerce.Condition],
      value: [{ column: DM.Commerce.Cost, name: 'Total Cost' }],
      boxType: 'iqr',
      outliersEnabled: true,
    }}
    styleOptions={{ subtype: 'boxplot/full' }}
  />
);

export default CodeExample;
Boxplot chart example 1
Last Updated: