New Charts

    Dataset controllers must implement the following interface.

    The following methods may optionally be overridden by derived dataset controllers.

    The built in controller types are:

    • BubbleController
    • DoughnutController
    • LineController
    • PolarAreaController
    • RadarController
    • ScatterController

    These controllers are also available in the UMD package, directly under . Eg: Chart.BarController.

    If you want your new chart type to be statically typed, you must provide a .d.ts TypeScript declaration file. Chart.js provides a way to augment built-in types with user-defined ones, by using the concept of “declaration merging”.

    When adding a new chart type, ChartTypeRegistry must contains the declarations for the new type, either by extending an existing entry in or by creating a new one.