Comments (4)
let me suggest that the default for 'drawZero' should be true
, not false
.
because
false
breaks compatibility with older releases (eg: https://jsxgraph.uni-bayreuth.de/wiki/index.php?title=Rectangles)false
seems strange, geometers expect a full grid withinitboard('html',{grid:true})
- snapToGrid snaps to zero locations even if the grid is drawn without
drawZero
- there is little downside;
true
has no visible effect when a default axis is also drawn
from jsxgraph.
Agreed!
from jsxgraph.
OK, the bug is fixed: "size: 3" for the diamond had been considered as user unit, not as pixel value.
from jsxgraph.
@alfredwassermann has also set the default of minor.drawZero
to true
. So if I am not mistaken, this issue should be fixed in the next version. Please reopen, if there are still any errors.
As you already noted in #625, instead of
{
...
minor: {
drawZero: true
},
major: {
drawZero: true
},
}
the following code can be written:
{
...
drawZero: true
}
I will open a PR that adds these shortcuts to the documentation.
from jsxgraph.
Related Issues (20)
- V1.8 - grid-without-axis missing axis lines HOT 2
- Arc: Attributes radiusPoint and anglePoint not working
- Axis: drawZero does not work when line point is at [0,0] HOT 1
- Suggestion for a different approach to 3D HOT 6
- Add 3D circle element HOT 7
- Riemannsum type as string HOT 2
- Grid lines thick and a bit obtrusive with 1.8.0 HOT 5
- Type handling regression in commit 43de0b93 HOT 1
- Minimum supported browser versions? HOT 2
- Every dblclick is also a click HOT 9
- view3D elements will run, but they won't hide ;-)
- JupyterLite kernel or extension
- More 3D gliders HOT 1
- Confusing constraints for surface gliders HOT 1
- Generate data with a binomial distribution HOT 1
- Overlay div with transparent background not working HOT 5
- Support central projection for spheres HOT 1
- Add 3D polygon element HOT 1
- Board origin is not centered on the element HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsxgraph.