yaxis anomaly
#4225
Replies: 1 comment
-
probably related to the fact you can have mutiple y axis |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While updating the options in order to change chart colors, I couldn't figure out why the yaxis labels were the only thing not changing color correctly so I dumped the chartContext in the chart "updated" event handler.
It seems the value of the yaxis property is an ARRAY instead of an object like rest of the options properties.
Here's the yaxis section of the options object that is passed to the chart:
Here's me changing the color values of the options:
However, this works:
Note the array index [0]
It appears the yaxis object got inserted into an array instead of remaining as an object.
Just curious if this is a bug or not. Seems like an inconsistency.
Beta Was this translation helpful? Give feedback.
All reactions