Skip to content
HDCharts

How Charts Work Inside

Notes on how the charts work inside, mostly the shared code in charts-core, for anyone changing them.

A chart checks its data and style at a shared entry point in charts-core, then hands them to a content composable that lays out, animates and draws.

Loading diagram…

Pages

TopicPageWhat it covers
The whole pathPipeline and Stage OwnershipThe pipeline stages and where each one belongs.
Entry Seam and Chart PolicyThe shared entry point and how a chart declares its checks.
Input and styleValidation ErrorsWhen a chart shows errors instead of drawing.
Style ClampingHow out-of-range style values are corrected.
Style DefaultsWhere style defaults live and how factories use them.
DrawingRendering and AnimationDrawing, animation and the compact view of the Cartesian charts.
X-Axis LabelsHow X-axis labels are spaced and placed.
Y-Axis LabelsHow Y-axis ticks and labels are placed.
Legend and SelectionWhen the legend and title appear and what they show.
Code layoutNaming and File StructureHow chart composables and files are named.

Known issues and limits of these pages are in the Known Issues section.