Comments (1)
This is by purpose, but can be controlled by the attribute includeBoundaries
. The following code should work:
var xAxis = brd0.create('axis', [[0, 0], [45, 0]], {
straightFirst: false,
straightLast: false,
withLabel: true,
name: 'U (V)',
label: { position: 'rt', offset: [0, 15], anchorX: 'right', parse: false, fontSize: 12 },
ticks: {
drawZero: true,
includeBoundaries: true,
insertTicks: false,
ticksDistance: 10,
majorHeight: () => 40 * 2 * brd0.unitY,
majorTickEndings: [1, 0],
minorTicks: 1,
minorHeight: () => 40 * 2 * brd0.unitY,
tickEndings: [1, 0],
label: { visible: true, anchorX: 'middle', anchorY: 'top', offset: [0, -7] }
}
});
from jsxgraph.
Related Issues (20)
- V1.8 - grid-without-axis missing axis lines HOT 2
- V1.8: Grid drawZero issue HOT 4
- Arc: Attributes radiusPoint and anglePoint not working
- 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
- Add 3D polygon element
- 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.