ChartsOrg / ChartsOrg/Charts

[Enhancement] do not draw data if the data is going to be highlighted

Open
#573 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Found an issue today while adding transparency to highlight color, which is white color + 0.5 alpha.

Then I found that it's not pure white, with a little blue, which is the data set color, because we perform `drawData` before `drawHighlighted`, so every data is redrawed and being highlighted above. This seems can be improved, if we found some data is going to be highlighted, we can avoid draw it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.