Open ghizoulo opened 7 years ago
+1 on this issue, how are the bars supposed to be grouped by X value when groupBars() modifies all the X values? There should be decoupling between the displayed X value and inherent X value.
I have found the solution: You must choose your group space and bar space and bar width such that: (number data sets) * (bar space + bar width) + group space = 1.0. See example.
@tjiang11 Your little explanation solved my problem that I stuck in it for 2 days.
@tjiang11 Your little explanation solved my problem that I stuck in it for 2 days.
The link does not work anymore 🤕
I am using v3.1.0 of this library. I am fine with it until I have a chart like this one below:
So I want to get this result, here is my code:
With this code, I have this chart:
The bars are not displayed in their right position, for example the second bar in January must be in March.
Please if anyone can find a solution to this, let me know @PhilJay @danielgindi