snehilvj / dash-mantine-components

Plotly Dash components based on Mantine React Components
https://www.dash-mantine-components.com
MIT License
529 stars 53 forks source link

barChartProps don't work #294

Closed AnnMarieW closed 6 days ago

AnnMarieW commented 4 weeks ago

This prop should pass props to the underlying chart.

In this example in the docs, there should be a radius on the bars

https://www.dash-mantine-components.com/components/barchart#bar-props

Similar to:

https://mantine.dev/charts/bar-chart/#bar-props

AnnMarieW commented 4 weeks ago

Also, I'd like to add this feature request: https://mantine.dev/charts/bar-chart/#bar-value-label The withBarValueLabel prop is available as of 7.9.0

michaelrussell4 commented 2 weeks ago

Yeah I was toying around with the dmc.BarChart component today and found some issues. The hover legend and legend are not formatted correctly. Instead of the chart in the documentation example: image I'm getting: image Not sure if I should make this a separate issue or not.

AnnMarieW commented 2 weeks ago

Hi @michaelrussell4

Can you make a reproducible example? It should be possible to make it look like the docs

michaelrussell4 commented 2 weeks ago

@AnnMarieW yes I'll make a new issue out of it, though. Sounds like it's a bit different from this one. I'll tag this issue and you in it for reference.