Changed graph color, legend does not update color.

92 views
Skip to first unread message

Ørjan Pettersen

unread,
Oct 7, 2014, 6:09:22 AM10/7/14
to flo...@googlegroups.com

When I change the color for a line in a graph, the legend does not update with the same color. It stays the same as default color. Is there something I need to do to update the color in the legend to display the same color as the graph?

http://jsfiddle.net/ye0ny57j/



Carl Sutherland

unread,
Oct 7, 2014, 7:55:49 PM10/7/14
to orja...@gmail.com, flotr2
Hello Ørjan, it should be sufficient to promote the color to the series config itself: http://jsfiddle.net/ye0ny57j/3/

-c

On Tue, Oct 7, 2014 at 3:09 AM, Ørjan Pettersen <orja...@gmail.com> wrote:

When I change the color for a line in a graph, the legend does not update with the same color. It stays the same as default color. Is there something I need to do to update the color in the legend to display the same color as the graph?

http://jsfiddle.net/ye0ny57j/



--
You received this message because you are subscribed to the Google Groups "flotr2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flotr2+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages