Skip to content

Conversation

@kurkle
Copy link
Member

@kurkle kurkle commented Jun 16, 2020

Revisiting this one (original #7144)

Resolves: #4096, resolves: #4047

Pen

@benmccann
Copy link
Contributor

It might be useful to have a test where the x and y axes have different IDs to make sure that indexAxis still works in that case

@kurkle kurkle added dependencies Pull requests that update a dependency file type: enhancement and removed dependencies Pull requests that update a dependency file labels Jun 17, 2020
@kurkle
Copy link
Member Author

kurkle commented Jun 17, 2020

It might be useful to have a test where the x and y axes have different IDs to make sure that indexAxis still works in that case

Good catch, it didn't actually work. Fixed and added a mixed test.

@benmccann
Copy link
Contributor

I think this closes #4047 as well

Copy link
Contributor

@benmccann benmccann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome. I'm super happy about this!

scatter next? ;-)

@kurkle
Copy link
Member Author

kurkle commented Jun 18, 2020

scatter next? ;-)

Not sure what you mean, this works for scatter too: https://codepen.io/kurkle/pen/JjGbVeG?editors=1010

@benmccann
Copy link
Contributor

I meant maybe we should find figure out how to delete it next

@etimberg etimberg added this to the Version 3.0 milestone Jun 18, 2020
@etimberg etimberg merged commit 59a1af9 into chartjs:master Jun 18, 2020
etimberg pushed a commit that referenced this pull request Sep 1, 2020
* Replace horizontalBar with indexAxis: 'y'
* Fix drawing of line for last x-position
* Consistently determine axis of scale
* Add test
@kurkle kurkle deleted the base-axis branch September 16, 2020 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Horizontal Bars mix with lines [FEATURE] Horizontal bar chart in combination with a line chart

3 participants