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)
- Empty collection does not let the plot become invisible HOT 2
- Not Working with latest MAUI mobile app. HOT 1
- 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
- FontFamily="{StaticResource myFont}" not work
- How to Draw Arrows, Lines, and Rectangles on CartesianChart with CandlesticksSeries<FinancialPoint>?
- Building from CSV
- Charts do not scale properly when moving to extended display with different scale on Mac (MAUI)
- Doughnut Chart Center Label
- How to Display Chinese in Save as Image? HOT 2
- Custom Geometry binding to the point ,for control the rotation of geometry
- How to hide this tick mark HOT 1
- Question about Uno MVUX Pattern HOT 2
- Section UI is Frozen on Chart
- The update will not be displayed after 20 minutes HOT 2
- Radial Area chart in WPF is missing one border line
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.