Skip to content

Reference

phil/svg-chart

Every public type of the package, with its role.

TypeRole
ChartWhat a chart shows, checked against limits; fromConfig() reads a Chart.js configuration.
ChartTypebar, line, pie and doughnut; hasAxes().
DatasetOne series: its name, its values, its colour or its colours per slice.
SvgChartWriterDraws a Chart as an SVG image.
Exception\SvgChartExceptionImplemented by every exception of the package.
Exception\InvalidChartA configuration or an option that cannot be drawn, with the path of the value.