New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose sorting function on lines #220

Closed
peol opened this Issue Oct 1, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@peol
Member

peol commented Oct 1, 2018

馃殌 Feature

Allow a user to sort lines in the line component by a custom function.

Motivation

We sort lines by median today (https://github.com/qlik-oss/picasso.js/blob/master/packages/picasso.js/src/core/chart-components/line/line.js#L287), it would be nice if the user could define this themselves to control which lines would be rendered on top.

Additional context

Example use case shown below, note that I cannot control the line stacking at this point and the highlighted one is covered by other lines.

screen shot 2018-10-01 at 9 11 48 pm

miralemd added a commit to miralemd/picasso.js that referenced this issue Oct 9, 2018

miralemd added a commit to miralemd/picasso.js that referenced this issue Oct 9, 2018

@miralemd miralemd closed this in #228 Oct 9, 2018

miralemd added a commit that referenced this issue Oct 9, 2018

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