- Implementation
- Chart Props
- Tooltip Config
- Tooltip Point Config
Common Examples
TheChart component renders an ECharts option with Anvil2 styling. Import EChartsOption from the kit to keep chart configuration on the supported public API.Chart defaults to appearance="light" and variant="monochrome". Set appearance to match the surrounding theme.Tooltips
PassrenderTooltip to provide tooltip content. The chart controls placement and keeps the tooltip within the plot.Omit renderTooltip when the chart does not need a tooltip. Format each value for its product context.Palette utilities
Usevariant when colors follow the palette’s index order. The variant applies fills, borders, patterns, markers, corner treatments, and hover behavior.chartPalette when an option needs a specific palette entry. chartStepItemStyle converts monochrome and semantic steps into ECharts itemStyle values.itemStyle values override variant styling.