Namespace TwBlazor.Charting
Classes
- ChartAxis
The labels along one edge of the plot area.
- ChartDatum
An interactive data point: the hover and keyboard-focus target that carries a tooltip. Positioned by its center.
Clipis an optional CSS shape, in percentages of the datum's own box, that limits where the pointer triggers it; without one the whole box does.AnchorXandAnchorYare the plot position the tooltip points at; without them it sits above the middle of the box.
- ChartDatumRow
One line of a tooltip: a label, its formatted value and an optional color key.
- ChartDot
A filled circle centered on a point.
Diameteris in pixels so dots stay round and legible at any width.
- ChartGeometry
Geometry helpers shared by the charts.
- ChartGlyph
An icon centered on a point.
Sizeis in pixels.
- ChartLegendItem
A legend entry. Entries with a
SeriesIndexcan be toggled to hide that series.
- ChartLine
A straight stroked line.
- ChartPath
An SVG path, either stroked or filled.
Outlineadds a surface-colored gap around a filled shape.
- ChartPathBuilder
Builds SVG path data in the plot's percentage coordinate space.
- ChartRect
A filled rectangle.
- ChartScale
A linear scale that maps a data value to a percentage (0 to 100) of an axis, with round tick values.
- ChartScene
Everything a chart draws, described as data: marks, interactive data points, axes, a legend and a table.
- ChartSceneBuilder
Collects the marks, data points, axes, legend and table of a ChartScene.
- ChartTable
The chart's data as a table: the accessible alternative to the plot.
- ChartText
A text label. Offsets and
FontSizeare in pixels.MaxWidthis a percentage of the plot's width; a label that would be wider is cut short with an ellipsis instead of spilling over its mark.
- ChartTick
A label at a position along an axis.
Structs
- ChartBand
Divides part of an axis into equal slots, one per category.
- ChartColor
A themed color reference: a ChartColorRole and, for Series, the slot.
- ChartSector
A ring segment, or a pie wedge when
InnerRadiusis zero. Positions and radii are percentages of the plot area; angles are in degrees, clockwise from 12 o'clock.
Interfaces
- IChartMark
A visual primitive in a ChartScene. All positions and sizes are percentages (0 to 100) of the plot area, measured from its top-left corner, so a scene scales to any width without script.
Enums
- ChartAnchor
Where a text mark sits horizontally relative to its position.
- ChartBaseline
Where a text mark sits vertically relative to its position.
- ChartColorRole
The job a color does in a chart. The theme maps each role to its classes, so a chart never names a color itself.
- ChartCorner
Which corners of a rectangle are rounded.
- ChartHover
How a datum responds to hover and keyboard focus.
- ChartShape
The proportions of the plot area.
- ChartStroke
The weight of a stroked line or path.
- ChartTextTone
The ink a text mark uses. Text never wears a series color.