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
Describe/explain the bug
I am trying to plot a bar chart using ResponsiveBarCanvas with 1000 data points. It's not plotting all the data points in the chart. We are getting one TypeError as well (e.getBBox is not a function). I am stuck with it for a long time, can you please help me with it?
To Reproduce
You can refer to the code in this sandbox.
Expected behavior
ResponsiveBarCanvas should plot the chart with all the data points.
The TypeError should be resolved.
Screenshots
The text was updated successfully, but these errors were encountered:
The curious arrangement of bars in your screenshot comes about because your data points do not have unique identifiers. Give all your data points different "country" codes and the chart should work.
That error with getBBox is a know issue and has been fixed in fix(canvas): fix getRelativeCursor for non SVG implementations #2125, but the fix is not yet available in a release. To avoid the error, either use ResponsiveBar instead of ResponsiveBarCanvas, or install the package from github.
Describe/explain the bug
I am trying to plot a bar chart using ResponsiveBarCanvas with 1000 data points. It's not plotting all the data points in the chart. We are getting one TypeError as well (e.getBBox is not a function). I am stuck with it for a long time, can you please help me with it?
To Reproduce
You can refer to the code in this sandbox.
Expected behavior
Screenshots
The text was updated successfully, but these errors were encountered: