[charts] Allow to partially provide bar/line charts x-axis #13794
Labels
component: charts
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
The bar chart has a good default x-axis that automatically set the scale type to band, and populate
data
with needed array to display the y-values.But those default are only applied if there is no axis provided:
mui-x/packages/x-charts/src/BarChart/useBarChartProps.ts
Lines 81 to 86 in 0c98c78
It should:
data
nordataKey
are providedThe idea is to allow
xAxis={[{ zomm: true }]}
to work with bar chartSearch keywords:
The text was updated successfully, but these errors were encountered: