Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

enable line chart to change it colors dynamically #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

enable line chart to change it colors dynamically #101

wants to merge 1 commit into from

Conversation

5c077yP
Copy link

@5c077yP 5c077yP commented Apr 11, 2016

Hey,

we recently introduced this lib into our own app and i noticed that one cannot change the line chart color dynamically. Looking at the code shows that only datapoints are updated, but updating other properties from the dataset can also be updated (i tested that locally).

So here the PR, this enables the Line Chart to update it's colors dynamically without setting the redraw attribute.

@5c077yP
Copy link
Author

5c077yP commented Apr 21, 2016

Hey any plans on looking at this ?

@austinpray
Copy link
Member

April 11, yikes!

I just tested this and it works. However, I would much prefer a whitelist of things that are known to not cause trouble rather than blacklisting "data".

@benmccann
Copy link
Collaborator

@5c077yP this PR needs to be rebased

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants