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
My team just updated our chart.js package, but prior to the upgrade i was able to create a stacked horizontal bar chart without a zero line dividing the positive and negative datasets. However, after upgrading it appears that this is a new feature. We are using the react-chartjs wrapper to build our charts, and this is what the chart looks like:
This is the code after trying a variety of options:
I've tried a number of different gridline option changes, as well as dataset configurations, and i can't seem to remove that line at 0 in the bar chart.
This is a screen shot of a rendering in Chrome. Firefox renders the chart with the same zero line.
I would appreciate any leads on how to fix this.
The text was updated successfully, but these errors were encountered:
i just figured out a workaround. if anyone else is having this same problem i basically added some border to the dataset and added borderSkipped: "false". You're border color should be the same color as your background color.
My team just updated our chart.js package, but prior to the upgrade i was able to create a stacked horizontal bar chart without a zero line dividing the positive and negative datasets. However, after upgrading it appears that this is a new feature. We are using the react-chartjs wrapper to build our charts, and this is what the chart looks like:
This is the code after trying a variety of options:
I've tried a number of different gridline option changes, as well as dataset configurations, and i can't seem to remove that line at 0 in the bar chart.
This is a screen shot of a rendering in Chrome. Firefox renders the chart with the same zero line.
I would appreciate any leads on how to fix this.
The text was updated successfully, but these errors were encountered: