Skip to content

Fix : Issue #6455 : steppedline chart stacked with stacked groups does not work properly#6461

Closed
koljagava wants to merge 6 commits intochartjs:masterfrom
koljagava:master
Closed

Fix : Issue #6455 : steppedline chart stacked with stacked groups does not work properly#6461
koljagava wants to merge 6 commits intochartjs:masterfrom
koljagava:master

Conversation

@koljagava
Copy link

Please consider this pull request as a fix for issue #6455

thank you

kolja

* @returns {string[]} The list of stack IDs
* @private
*/
_getStacks: function(last) {
Copy link
Contributor

@benmccann benmccann Aug 13, 2019

Choose a reason for hiding this comment

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

It looks like this is copied directly from the bar scale (though with meta.bar changed to meta.line). I'm not sure it there's a preferred way of sharing the code, but I'd like to get other folks thoughts on this

Copy link
Author

Choose a reason for hiding this comment

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

Hi @benmccann,
I did it intentionally to maintain project "coerence". If this solution will be considered valid i can try to do a refactoring making those methods (_getStacks, getStackIndex) available in a common prototype (DatasetController?) and with the ability to choose axis (index or value) to work on.
let me know.
regards
Kolja

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants