domainMin and domainMax not always respected
See original GitHub issuedomainMin
and domainMax
are not always respected, despite domain
behaving correctly.
In Example 1, we can see neither being respected. Modifying them (such as in Example 3) we can see that they are sometimes respected. It’s not clear under what circumstances they are or are not respected.
However, adding in the domain
property with the very same values immediately addresses the issue (see Example 2) I would not expect domainMin
and domainMax
to behave any differently from the use of domain
. While domain
is a reasonable hack around the problem, there are times where we need to specify only one or the other side of the range and domain
requires both a min AND max.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top Results From Across the Web
D3 Domain and Scale Bug - Stack Overflow
When I go to add Dynamic Data by pulling in a JSON page my domain and range are no longer respected and my...
Read more >Calc III: Find absolute max/min on a Domain - YouTube
Calc III: Find absolute max /min on a Domain · Key moments. View all · Key moments · Description · Key moments. View...
Read more >color scale failing to respect if there are more than two values ...
However, this doesn't seem to be the case. It appears that the min/max values of the domain are used to set the min/max...
Read more >Domain: FAQs
Some nTLD domains have their own max length of registration time. Top of page. How much is your premium domain? Premium Domains range...
Read more >Domain and Range of a Function - Statistics How To
Square (quadratic) functions have a domain of all real numbers. The range depends on the sign of the leading coefficient: y ≥ min...
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 Free
Top 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
sure!
I think the issue here is nicing. If you set
nice: false
, it looks like your example is correct. Open the Chart in the Vega EditorWe could set nice to false if domainMin and/or domainMax are set.