Chart components
Choose a component that matches the shape of the supplied data. Chart primitives do not calculate business metrics, indicators or trading semantics.
| Component | Input shape | Useful for |
|---|---|---|
AffinoTimeSeriesChart | One or more timestamped series | Trends, balances and supplied indicators with a shared UTC axis and crosshair. |
AffinoHlocChart | Timestamped open/high/low/close points | Price ranges and supplied open/close values. |
AffinoLineChart | Rows mapped to x and y fields | Ordered measurements and indexed trends. |
AffinoAreaChart | Rows mapped to x and y fields | Magnitude and change over a sequence. |
AffinoBarChart | Category and numeric fields | Category comparisons, including positive and negative values. |
AffinoScatterChart | Numeric x/y fields, optional radius | Correlation and distribution with an optional third dimension. |
AffinoHistogram | Numeric value field | A binned distribution of supplied samples. |
AffinoPieChart | Category and numeric fields | Parts of a supplied whole. |
AffinoMetricCard | Metric model | A single value, prior value and supplied trend. |
All components use SVG. Import @affino/charts-vue/styles.css and provide data, labels and formatting from your application.