Skip to content

[DISCUSSION] custom chart types #4437

@0kk3t

Description

@0kk3t

http://www.chartjs.org/docs/latest/developers/charts.html#extending-existing-chart-types provides an example of a new chart type extending a bubble chart, but it is not complete:

  • how to build a new chart type from scratch? Do you have to derive from an existing chart? Is there a root controller object?

  • The comment is confusing:

// I think the recommend using Chart.controllers.bubble.extend({ extensions here });

What is recommend?

  • Standard JS package / naming convention? use hyphens like chartjs-chart-financial or period like Chart.BarFunnel.js?

  • Community list of extensions? Wiki would help!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions