# Interface ColumnChartProps

Props of the ColumnChart component.

# Extends

  • BaseChartProps

# Properties

# Data

# dataSet

dataSet?: string | Data

Data set for this chart, which supports two options:

(1) Data source name (as a string) - e.g. Sample ECommerce. Under the hood, the chart will have an internal ExecuteQuery 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 SisenseContextProvider component.

# 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: CartesianChartDataOptions

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


# styleOptions

styleOptions?: StackableStyleOptions

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 IndicatorChart

# Inherited from

BaseChartProps.onBeforeRender


# onDataPointClick

onDataPointClick?: DataPointEventHandler

Click handler callback for a data point

# Inherited from

BaseChartProps.onDataPointClick


# onDataPointContextMenu

onDataPointContextMenu?: DataPointEventHandler

Context menu handler callback for a data point

# Inherited from

BaseChartProps.onDataPointContextMenu


# onDataPointsSelected

onDataPointsSelected?: DataPointsEventHandler

Handler callback for selection of multiple data points

# Inherited from

BaseChartProps.onDataPointsSelected