ChartModel + ChartView pattern. Set chartType in the model and the view renders the appropriate chart automatically.
Standard charts
- Line
- Column
- Combo
- Bar
- Stacked column
- Stacked bar
- Area
- Waterfall
- Scatter
- Bubble
- Donut
- Stock
Plots one or more series as connected line segments. Use
nil values produce visible gaps.indexesOfSecondaryValueAxis to assign one or more series to a secondary Y axis.Micro charts
Micro charts are compact, annotation-sized charts designed for use in lists, tables, and object headers. They share the sameChartModel + ChartView API.
Micro area (.micro_area)
Micro area (.micro_area)
A compact sparkline with a filled area below the line.
Micro column (.micro_column)
Micro column (.micro_column)
A compact vertical bar sparkline.
Micro bullet (.micro_bullet)
Micro bullet (.micro_bullet)
A bullet chart that compares a primary value against a target and one or more ranges. Supply values in the order:
[actual, target, range1, range2, ...].Harvey ball (.micro_harvey_ball)
Harvey ball (.micro_harvey_ball)
A pie-like circle that shows percentage completion. Supply a single value between 0 and 1 (or 0–100, depending on your scale).
Micro radial (.micro_radial)
Micro radial (.micro_radial)
An arc-style radial progress indicator.
No-data view
ChartView displays a default empty state when data is empty. You can supply a custom no-data view: