# Interface SunburstChartProps

Props of the SunburstChart component.

# Extends

  • BaseChartProps.ChartEventProps

# Properties

# Data

# dataSet

dataSet?: string | Data

Data set for this component, which supports two options:

(1) Data source name (as a string) - e.g. Sample ECommerce. Under the hood, the chart will have an internal query connect to the data source and load the data as specified in dataOptions, filters, and highlights.

OR

(2) Explicit Data, which is made up of an array of columns and a two-dimensional array of data cells. This allows the chart component to be used with user-provided data.

If neither option is specified, the chart will use the defaultDataSource specified in the parent Sisense Context.

# Inherited from

BaseChartProps.dataSet


# filters

filters?: Filter[]

Filters that will slice query results

# Inherited from

BaseChartProps.filters


# highlights

highlights?: Filter[]

Highlight filters that will highlight results that pass filter criteria

# Inherited from

BaseChartProps.highlights

# Chart

# dataOptions

dataOptions: CategoricalChartDataOptions

Configurations for how to interpret and present the data passed to the chart


# styleOptions

styleOptions?: SunburstStyleOptions

Configuration that define functional style of the various chart elements

# Callbacks

# onBeforeRender

onBeforeRender?: BeforeRenderHandler

Before render handler callback that allows adjusting detail chart options prior to render

This callback is not yet supported for Indicator Chart

# Inherited from

ChartEventProps.onBeforeRender


# onDataPointClick

onDataPointClick?: DataPointEventHandler

Click handler callback for a data point

# Inherited from

ChartEventProps.onDataPointClick


# onDataPointContextMenu

onDataPointContextMenu?: DataPointEventHandler

Context menu handler callback for a data point

# Inherited from

ChartEventProps.onDataPointContextMenu


# onDataPointsSelected

onDataPointsSelected?: DataPointsEventHandler

Handler callback for selection of multiple data points

# Inherited from

ChartEventProps.onDataPointsSelected