min/max for axis
See original GitHub issueExpected Behavior
I want mirror the y-axis. My solution is to grab min and max with the ticks callback of the left y-axis and write it to the config of the right y-axis. Ths works fine with 2.9.4, but with 3.0.0-beta.10 both axis are not always syncron.
Current Behavior
It seems that min and max are not properly taken into account in the auto-fit behaviour.
Possible Solution
Steps to Reproduce
Take the examples, play with bottom Randomize Data and compare both y-axis. https://codepen.io/pen/YzpNryM with version 2.9.4 always syncron https://codepen.io/pen/gOLgGrO with version 3.0.0-beta.10 not always syncron
Context
Environment
- Chart.js version: 3.0.0-beta.10
- Browser name and version: Edge-dev 90.0.789.1, Firefox 85.0.2
- Link to your project:
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Automate Min Max Y Axis on Excel - YouTube
Automate Min Max Y Axis on Excel - Excel for Finance Analysts, Accountants & Auditors [part 8].
Read more >Clarification of axis used for min/max scaling for data I have
I am building a neural network with keras and need clarification for the pre-processing step. I have a dataframe that is 1-n rows...
Read more >How to change x-axis min/max of Column chart in Excel?
Right click on the chart and choose Select Data. Select your series and choose Edit. Instead of having a "Series Values" of A1:A235, ......
Read more >Idea: Relative min/max values on axis - Tableau Community
Is there a way to set the min/max of the axis to be relative to the min/max values of the dataset? So instead...
Read more >(a) The min-max box for arbitrary axes. (b ... - ResearchGate
Segmentation of a 3-dimensional (3D) polygonal mesh is a method of breaking the mesh down into \meaningful" connected subsets of vertices called regions....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s working. Many thanks. Now I am prepared for version 3.x.
Gesendet von Mail für Windows 10
Von: Evert Timberg Gesendet: Samstag, 13. Februar 2021 16:06 An: chartjs/Chart.js Cc: pbiebricher; Author Betreff: Re: [chartjs/Chart.js] min/max for axis (#8418)
It’s public and defined in the typescript types. I don’t think we ever intended it to be called externally since it was made public for new axis types to be created. It’s probably safe to call on your own since it just parses out the options passed in and stores some values. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
It’s public and defined in the typescript types. I don’t think we ever intended it to be called externally since it was made public for new axis types to be created. It’s probably safe to call on your own since it just parses out the options passed in and stores some values.