Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dynamically circle colors changes on LineChartRenderer #5231

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jan 3, 2022

  1. changed mImageCache from HashMap to WeakHashMap to avoid OOM

    Moved DataSetImageCache.init from a method to a constructor. The main idea is verify the content of the color in array instead of only the length.
    I met one use case that I needed to use different colors from dots. So I used the method setCircleColors, but when I call drawCircle it doesnt works because the length of the circle array is not change, only the content is changed.
    agabriel committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    b7fe79c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e603d8f View commit details
    Browse the repository at this point in the history