Comments (7)
right now there's an implicit assumption that the x-axis contains ascending unix timestamps. but that will be made more generic (simply numeric, ascending and unique) in the near future. closing this as essentially a dupe of #2
from uplot.
also see #9
from uplot.
urm, this is the y axis, sorry simplified too much in the example, same happens if they are real timestamps.
from uplot.
ah, sorry. you're right. dismissed this too fast. i'm having my coffee now.
from uplot.
i guess it would make sense to fall back to some minimum value for valDelta
. e.g.
let pxPerUnit = dim / (valDelta || 1);
from uplot.
ok, i think this is properly squashed. let me know if i missed something.
thanks for reporting!
from uplot.
heads up if you're testing, API has changed to provide data separately from the opts in b782734
from uplot.
Related Issues (20)
- Labels above all bar and lines HOT 2
- Points and paths are separated when changing scale width HOT 2
- When the data is too large, such as exceeding 1.00e+16, the y-axis cannot render properly? HOT 3
- Title and Legend onto Canvas ? HOT 4
- How to freely segment the timeline in a grouped graph? HOT 12
- How to have scrollable and smaller font in legends? HOT 1
- all-null series incorrectly accumulate log scales to min: 1, max: 10 HOT 2
- Change grid.stroke color HOT 1
- Point hover bounding box option for individual series HOT 7
- Can scatter plot achieve the shape of scatter points? HOT 1
- 1.6.28 broke plot zooming in mode 2 HOT 5
- xy zoom with static y scale cannot be unzoomed/reset HOT 1
- auto scaling does not work with all 0 datapoints HOT 7
- valToPos() returns wrong values when browser is zoomed in HOT 2
- Scatter Plot won't render a large number of points HOT 7
- Can we fire the setCursor hook when a cursor becomes locked? HOT 5
- Interactive canvas layer HOT 19
- axis._found null is not iterable HOT 2
- Is there a way to reset scales programmatically? HOT 3
- Rotating ticks on axes other than bottom(2) HOT 1
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 uplot.