Skip to content

Chart components ​

Choose a component that matches the shape of the supplied data. Chart primitives do not calculate business metrics, indicators or trading semantics.

ComponentInput shapeUseful for
AffinoTimeSeriesChartOne or more timestamped seriesTrends, balances and supplied indicators with a shared UTC axis and crosshair.
AffinoHlocChartTimestamped open/high/low/close pointsPrice ranges and supplied open/close values.
AffinoLineChartRows mapped to x and y fieldsOrdered measurements and indexed trends.
AffinoAreaChartRows mapped to x and y fieldsMagnitude and change over a sequence.
AffinoBarChartCategory and numeric fieldsCategory comparisons, including positive and negative values.
AffinoScatterChartNumeric x/y fields, optional radiusCorrelation and distribution with an optional third dimension.
AffinoHistogramNumeric value fieldA binned distribution of supplied samples.
AffinoPieChartCategory and numeric fieldsParts of a supplied whole.
AffinoMetricCardMetric modelA 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.