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

Interface SunburstStyleOptions

Configuration options that define functional style of the various elements of the SunburstChart component

Properties

dataLimits

dataLimits?: DataLimits

Data limit for series or categories that will be plotted


height

height?: number

Total height of the component, which is considered in the following order of priority:

  1. Value passed to this property (in pixels).
  2. Height of the container wrapping this component
  3. Default value of 400px (for component without header) or 425px (for component with header).

labels

labels?: object

Labels options object

Deprecated

Please use seriesLabels instead

Type declaration

labels.category

category?: { enabled: boolean; }[]

Array with single label options objects (order of items relative to dataOptions.category)


legend

legend?: LegendOptions

Configuration for legend - a key that provides information about the data series or colors used in chart


seriesLabels

seriesLabels?: SunburstSeriesLabels

Configuration for series labels - titles/names identifying data series in a chart Single label options object would be applied to all levels. Array of label options objects would be applied to each level.

Example

Single label options object would enable labels for all levels.

{
  seriesLabels: {
      enabled: true,
  },
}

Example

Array of label options objects would disable labels for first level and enable labels for second level.

{
  seriesLabels: [
    {
      enabled: false,
    },
    {
      enabled: true,
    },
  ],
}

tooltip

tooltip?: object

Tooltip options object

Type declaration

tooltip.mode

mode?: "contribution" | "value"

Define mode of data showing


width

width?: number

Total width of the component, which is considered in the following order of priority:

  1. Value passed to this property (in pixels)
  2. Width of the container wrapping this component
  3. Default value of 400px
Last Updated: