Skip to content

Nested Arrays as Data #615

Not planned
Not planned

Description

@lisaWriteJava

Hello,

Is it possible to use your charts with data that looks like
[
[apple, fig, pear],
[apple, chicken, fish],
[cereal, sandwich, fish]
]
Label: [breakfast, lunch, dinner]

and I'd like to show the variations for breakfast, lunch and dinner in various charts.

Activity

  1. Arantiryo commented on May 3, 2022

    @Arantiryo
    Collaborator

    Hi @lisaWriteJava 👋

    Would you mind providing a bit more explanation or possibly an image of this sort of chart?

    Cheers!

  2. dangreen commented on Nov 30, 2026

    @dangreen
    Collaborator

    Closing: this is a usage question rather than a bug report or a feature request. The docs of the wrapper are at https://react-chartjs-2.js.org and the chart options are described in the Chart.js docs: https://www.chartjs.org/docs/latest/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions