Skip to content

minSize & maxSize doesn't work with dataLabels disabled #5

@raf18seb

Description

@raf18seb

When series.minSize and series.maxSize are set, ternary plot doesn't work without dataLabels enabled.

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/ds189b05/

Plugin version

v2.0.1

Workaround

Enable dataLabels. If no dataLabels text should be displayed, use an empty string " " (with space), and set the fontSize to 0:
https://jsfiddle.net/BlackLabel/avnrj4xf/

Potential solution

Check for dataLabels.enabled in this if statement:

if (!(this.options.minSize && this.options.maxSize)) {
return;
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions