Skip to content

Mixed chart types support #1048

@ActuallyHappening

Description

@ActuallyHappening

Would you like to work on this feature?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

What problem are you trying to solve?

I have a type issue when I try to mix chart types

Describe the solution you'd like

I would like a specific , preferably typed way, of mixing chart types.
As shown in official documentation of ChartJS: https://www.chartjs.org/docs/latest/charts/mixed.html

Describe alternatives you've considered

Access the underlying chart JS instance and manually add my own data

Documentation, Adoption, Migration Strategy

<Bar :data="{
        datasets: [{
            type: 'bar',
            label: 'Bar Dataset',
            data: [10, 20, 30, 40]
        }, {
            type: 'line',
            label: 'Line Dataset',
            data: [50, 50, 50, 50],
        }],
        labels: ['January', 'February', 'March', 'April']
    }" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions