You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs say for mixed chart type that the overall type must be bar (example from docs below). As a user, I don't understand this restriction.
What if I want to specify two lines? This seems to be possible. In this case, I can set the overall type as line and the docs appear to be wrong in saying that the type can only be "bar"
Why does my chart even have a type? This is redundant with the types specified in the dataset. If I have a bar and a line, but set the overall type to line then it breaks. This is strange and I don't understand the reason for it
@benmccann good question! It actually works correctly for the opposite case, but the bar chart has some special default config to change how the x axis behaves (offsetGridline setting for instance) and only the default config of the overall type is merged.
I'm happy to look at a PR either updating the docs or finding a better merge strategy for the configs. @simonbrunel thoughts?
In terms of your specific questions:
Each dataset that has type: 'line' will render as a line so multiple lines are possible
The docs say for mixed chart type that the overall type must be
bar
(example from docs below). As a user, I don't understand this restriction.The text was updated successfully, but these errors were encountered: