Skip to content

Fix rendering of pie legends when arrays e.g. pattern or line.width having 4 items or more - #6628

Merged
archmoj merged 2 commits into
masterfrom
patterns-4-items-more
Jun 5, 2023
Merged

Fix rendering of pie legends when arrays e.g. pattern or line.width having 4 items or more#6628
archmoj merged 2 commits into
masterfrom
patterns-4-items-more

Conversation

@archmoj

@archmoj archmoj commented Jun 5, 2023

Copy link
Copy Markdown
Contributor

Follow up of #3891 and #3891 (comment).

cc: @thierryVergult

@archmoj archmoj added the bug something broken label Jun 5, 2023
@archmoj
archmoj merged commit f32c7ea into master Jun 5, 2023
@archmoj
archmoj deleted the patterns-4-items-more branch June 5, 2023 20:00
Comment thread src/lib/index.js
var objOut = {};
if(typeof obj2 !== 'object') obj2 = {};
var arrayLen = 3;
var arrayLen = isPie = 3;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not sure what happened with my editor here!
This logic is not quite right as it changes the input argument. This may slow the process.
I'll fix it and release a patch shortly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed by #6632.

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

Labels

bug something broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant