Optional
accessibilityOptional
animationsboolean to disable animations (enabled by default)
Optional
axesOptional
canvasOptional
coloroptions related to color scales
Optional
gradient?: { colors?: string[]; enabled?: boolean }Optional
colors?: string[]hex color array e.g. ['#fff', '#000', ...]
Optional
enabled?: booleanOptional
pairing?: { numberOfVariants?: number; option?: number }use a carbon dataviz preset color palette put the index (selection of which variant)
Optional
numberOfVariants?: numberthe number of color variants in the palette (defaults to using the number of data groups in the given data)
Optional
option?: numberthe option number of the color paring
Optional
scale?: objectOptional
curveoptions for the curve of the line
Optional
dataoptions related to charting data
Optional
groupMapsTo?: stringidentifier for data groups
Optional
loading?: booleanused to simulate data loading in skeleton way
Optional
selectedGroups?: string[]options related to pre-selected data groups Remains empty if every legend item is active or dataset doesn't have the data groups.
Optional
experimentalwhether this type of chart is experimental
Optional
fileOptional
fileName?: string | (type: "jpg" | "png" | "csv") => stringthe number of color variants in the palette (defaults to using the number of data groups in the given data)
Optional
getOptional function to generate the fill color based on datasetLabel, label, and/or data
Optional
getOptional function to determine whether is filled based on datasetLabel, label, and/or data
Optional
getOptional function to generate the stroke color based on datasetLabel, label, and/or data (note) - not all chart types support the stroke color (e.g. wordcloud)
Optional
gridOptional
heightOptionally specify a height for the chart
Optional
legendlegend configuration
Optional
localeLocale configuration
Optional
pointsoptions for the points
Optional
enabled?: booleanOptional
filled?: booleanOptional
fillOpacity?: numberOptional
radius?: numbersets the radius of the point
Optional
resizableboolean to prevent the container from resizing
Optional
stylestylesheet options
Optional
prefix?: stringoptional prefixing string for css classes (defaults to 'cc')
Optional
tabularoptions related to table data customization
Optional
themeOptionally specify a theme for the chart
Optional
timeOptional
titleOptionally specify a title for the chart
Optional
toolbartoolbar configurations
Optional
tooltiptooltip configuration
Optional
widthOptionally specify a width for the chart
Optional
zoomzoombar configuration
options specific to scatter charts