-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[charts] Indicate that min
/max
can not be specified in <ChartsXAxis/>
#10905
Comments
Obviously, I found the answer just publishing the issue. Answer is in the definition of xAxis in ResponsiveChartContainer. |
If it was doing so, the data display would not be aligned with axes and the all chart would be wrong 🙈 Would it solve the issue to remove |
Yes I guess. At least it let only one choice to people doing composition. |
min
/max
can not be specified in <ChartsXAxis/>
@wascou Where did you find that you can provide |
Hi Alex, actualy it was in this example: https://mui.com/x/react-charts/axis/#axis-sub-domain |
@wascou: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Steps to reproduce
The following is not clear for me, neither in the documentation or through Axis examples.
I built a ResponsiveChartContainer with different sub elements including ChartXAxis and ChartYAxis.
Current behavior
Specifying a min and max value in those don't work in ChartXAxis
Specifying a min and max in the xAxis value of ScatterPlot don't work either.
Expected behavior
Setting a min or max should work
Context
I need domain to align with 0 and the max of x and y.
Your environment
Search keywords: charts, xaxis, yaxis, domain
The text was updated successfully, but these errors were encountered: