Comments (5)
Got it with the previous commit, and the will be included in the next release (beta.13), thanks again!
from livecharts2.
@beto-rodriguez did you manage to reproduce this bug ? :)
from livecharts2.
I am rolling this fix back, I am now experiencing a bug because of this fix.
This was never a bug, I miss-understood the problem, The library automatically fits the view to the data on your chart.
The problem for your case was that your Y Axis had a limit from 0 to 4, if you look at your data, none of the values were in that range, thus you got that, and that was correct that is what the library should do, if you wanted to preserve the X range, then you must set the X axis limits too, or set a valid range in the Y Axis.
Notice this huge difference when zooming and panning, in the first image, the library is able to fit the view to the current data.:
Previously:
Now (after 126d232):
from livecharts2.
Well, I think I didnt desrbice it clear enough. I was talking about situation when you have zooming and panning disabled and you keep MaxLimit on Y axis defined. Its because you want specific Y range.
I have FFT ColumnSeries chart which is updated every 500ms. I keep MaxLimit on Y axis set to 100 because for the most time these values are much lower than 100. But for time to time these values could increase far above 100 but I dont want to change MaxLimit as I dont really care about that kind of artifacts. Its fine for me to see only a piece of a column below 100. But you cant do it before 126d232 because if all columns exceeds MaxLimit then they dissappear from chart, like you can see on my screen
from livecharts2.
Well, I think I didnt desrbice it clear enough. I was talking about situation when you have zooming and panning disabled and you keep MaxLimit on Y axis defined. Its because you want specific Y range.
I Agree, but notice in your image, that the library respects your range in the Y axis, but because you don't have a a range the X axis, then the library is trying to fit the view to the current data, since you have no points in that Y range, then the X axis messes up.
I think that the library should be smarter, and maybe use the previous valid range if the new one is not valid.
from livecharts2.
Related Issues (20)
- PieChart doesn't show custom legend
- Ubuntu 22 drawing error (AvaloniaUI) HOT 2
- MAUI: Tooltips do not clear unless moving the cursor outside of the chart HOT 1
- Exception of βan excessive number of separators,β for no deep zooming HOT 5
- Use Standard Alpha 2 County Codes HOT 1
- The world.geojson is missing Singapore HOT 1
- GeoMap does not display value tooltips
- Unable to instantiate SKGeoMap
- Build Failure: Missing 'icon.png' in LiveChartsCore.SkiaSharpView.WinUI during WinUI Project Packaging
- docs bug
- Invalid geo map country code causes drawing bug
- ScalesXAt, ScalesYAt should reference directly to XAxis,Yaxis instead of index
- Empty collection does not let the plot become invisible
- Not Working with latest MAUI mobile app.
- The legend does not reflect my Stroke color
- PIeChart Documentation Out of Date HOT 2
- HeatMap color interpolation not correct
- Bad rendering on MacOS/Catalyst with a Uno Platform project
- With ZoomMode=X, chart pans on click without dragging HOT 1
- 3d hardware acceleration
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 livecharts2.