- Implementation
- Chart Props
- Tooltip Config
- Tooltip Point Config
Common Examples
TheChart component renders an ECharts option with Anvil2 styling. Native charts require explicit dimensions because they do not have a CSS container to fill.Set accessibilityLabel to describe the chart for VoiceOver and TalkBack. The drawing surface does not expose accessible children.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.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.