# Interface ChartWidgetProps

Props for the ChartWidget component

# Extends

  • ChartEventProps

# Properties

# Data

# dataSource

dataSource: string

Data source the query is run against - e.g. Sample ECommerce

If not specified, the query will use the defaultDataSource specified in the parent SisenseContextProvider component.


# filters

filters?: Filter[]

Filters that will slice query results


# highlights

highlights?: Filter[]

Highlight filters that will highlight results that pass filter criteria

# Chart

# chartType

chartType: ChartType

Default chart type of each series


# dataOptions

dataOptions: ChartDataOptions

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


# styleOptions

styleOptions?: StyleOptions

Style options union across chart types

# Widget

# description

description?: string

Description of the widget


# drilldownOptions

drilldownOptions?: DrilldownOptions

List of categories to allow drilldowns on


# title

title?: string

Title of the widget


# widgetStyleOptions

widgetStyleOptions?: WidgetStyleOptions

Style options for both the widget as a whole and specifically for the widget header

# Callbacks

# onBeforeRender

onBeforeRender?: BeforeRenderHandler

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

This callback is not yet supported for IndicatorChart

# 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