If you want to keep the same colors, you'll have to assign them yourself
for now.  I modified that jsfiddle to show how it can be done:
http://jsfiddle.net/dlaliberte/a3cgLkq6/

On Thu, Dec 25, 2014 at 5:44 AM, Schabagh <[email protected]> wrote:

> Hi,
>
> how can I Hide/Show the lines in a line chart via checkboxes. I found the
> following example "http://jsfiddle.net/gTxkN/1/";. This works grate, but
> the other line colors are chnged if I hide a line, which is irritating.
> How can I fix it? Is there a better way for Hide/Show vis checkboxes?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to