Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Y.Chart doesn't reset markercolors right #1664

ItsAsbreuk opened this Issue · 0 comments

1 participant


Concerning example:

When you do this with a line-chart and use code to change the color of both line and marker like this:

var color, line, marker;
line = {};
marker = {fill:{}, border:{}};
// color=...
if (color) {
    line.color = color;
    marker.fill.color = color;
    marker.border.color = color;
serie.set("styles", {line:line, marker:marker});

then you see an issue with the markercolor. The markercolor is not reset when color is undefined. It keeps the former colorvalue instead of the auto-generated color, which leads to a linecolor different from markercolor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.