You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.
Labels for pie charts can be hidden with arcs rendered after them.
For example, an arc for the last datum can be put over the label for the first datum of pie chart:
Also nested pie (or doughnut) can hide labels for other pie charts' labels:
A layered chart with shared drawing area for two or more layers has this type of problem
Cause
Layer.setLabel simply add SVG elements to the layer when it is invoked. So newer layers added after that, are placed in front of layers drawn in past and can hide any labels of that layers.
Proposal
Change order to invoke setLabel, or rearrange all labels in front of any object after rendering
The text was updated successfully, but these errors were encountered:
g1eng
changed the title
Labels for charts can be hidden behind rendered object after them.
Labels for charts can be hidden behind objects rendered after them.
Dec 1, 2021
Problem
Labels for pie charts can be hidden with arcs rendered after them.
For example, an arc for the last datum can be put over the label for the first datum of pie chart:
Also nested pie (or doughnut) can hide labels for other pie charts' labels:
A layered chart with shared drawing area for two or more layers has this type of problem
Cause
Layer.setLabel
simply add SVG elements to the layer when it is invoked. So newer layers added after that, are placed in front of layers drawn in past and can hide any labels of that layers.Proposal
Change order to invoke
setLabel
, or rearrange all labels in front of any object after renderingThe text was updated successfully, but these errors were encountered: