Skip to content

Option to reverse render order of datasets #6050

Description

@mkstix6

[edited]
Feature request: option to choose the order stacked areas are drawn.

image

I have a stacked-filled-line-chart made with Chart.js

✅ The Input Data is alphabetically sorted.
✅ The Legend is alphabetically sorted.
☹️ But the chart itself is sorted top-to-bottom-reverse-alphabetical.
…visually this makes the chart and the legend sorted the opposite way to each other.

I would like to reverse the order of the chart's stacked areas without reversing both the data and the legend. I know I can do both these things individually but it just seems silly to have to achieve the result I'm looking for this way.

Thank you for a wonderful charting library.

Activity

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

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