Skip to content

Tick mark color doesn't properly default to axis.color. #984

Closed
dnschnur opened this Issue Mar 7, 2013 · 0 comments

1 participant

@dnschnur
Flot member
dnschnur commented Mar 7, 2013

The color option on an individual axis doesn't properly act as a default for the tickColor option when it is provided by xaxes/yaxes instead of xaxis/yaxis.

@dnschnur dnschnur was assigned Mar 7, 2013
@dnschnur dnschnur added a commit that referenced this issue Mar 31, 2013
@dnschnur dnschnur Fix incorrect default for xaxes/yaxes tickColor.
The way in which xaxes/yaxes inherit options from xaxis/yaxis resulted
in a minor bug, where tickColor defaulted to the xaxis/yaxis color
instead of the color for its axis.  Fixed by applying the default before
extending the per-axis options, resolving #984.

There's still some questionable behavior here; this section should be
revisited for 0.9, especially with an eye towards removing some of the
code that only exists for backwards-compatibility.
55e671b
@dnschnur dnschnur closed this Mar 31, 2013
@dnschnur dnschnur added a commit to dnschnur/flot that referenced this issue Apr 6, 2013
@dnschnur dnschnur Fix incorrect default for xaxes/yaxes tickColor.
The way in which xaxes/yaxes inherit options from xaxis/yaxis resulted
in a minor bug, where tickColor defaulted to the xaxis/yaxis color
instead of the color for its axis.  Fixed by applying the default before
extending the per-axis options, resolving #984.

There's still some questionable behavior here; this section should be
revisited for 0.9, especially with an eye towards removing some of the
code that only exists for backwards-compatibility.
7a70f4e
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.