packages/charts/react-charting/docs/TechnicalDetails.md
Overview
This document describes different chart components in detail.
This can be used as a guide to use the charts and contribute new functionalities or improvements to the library.
Components
The charting components are built using following building blocks.
Cartesian Charts.
Legends.
Hover Callouts.
Axes.
Our charts currently support cartesian axes. Different charts support different type of axes - numerical axis, date or time series axis, string or categorical axis. Detals about supported axes can be found in readme for each chart.
Axes support for different charts
| Chart | Numeric Axis | Date Axis | String Axis |
|---|---|---|---|
| Line Chart | Yes | Yes | No |
| Area Chart | Yes | Yes | No |
| Vertical Bar Chart | Yes | Yes | Yes |
| Vertical Stacked Bar Chart | Yes | Yes | Yes |
| Grouped Vertical Bar Chart | No | No | Yes |
| Heatmap Chart | Yes | Yes | Yes |
| Horizontal Bar Chart | -- | -- | -- |
| Donut Chart | -- | -- | -- |
| Sankey Chart | -- | -- | -- |
| Tree Chart | -- | -- | -- |
| Sparkline Chart | -- | -- | -- |
Axis localization The axes support 2 ways of localization.
Date axis formatting The date axis can be custom formatted using the customDateTimeFormatter prop.
Event annotations (Available in line charts).
Typography.
Colors
Themes
Accessibility.
xAxisCalloutAccessibilityData and callOutAccessibilityData properties.RTL Support
Component Styling
Details about ticks.