Comments (9)
Hey I will try to fix this by this weekend
from charty.
Fixed this issue in PR #55
from charty.
Hey buddy, thank you for this. Can you pass your dataset for me to replicate!
thanks
from charty.
Initial Data:
LineData(xValue=23 Sep , yValue=10.0)
LineData(xValue=24 Sep , yValue=10.0)
Updated Data:
LineData(xValue=23 Sep , yValue=10.0)
LineData(xValue=24 Sep , yValue=10.0)
LineData(xValue=26 Sep , yValue=20.0)
from charty.
Thank you, will check soon!
from charty.
Hey @hi-manshu sorry to bug you, but any update on this?
from charty.
Hi,
I'm facing similar problem with CurveLineChart.
When I load the follwing LineData, recomposition draw the CurveLine chart out of bounds.
LineData that I used.
listOf(
LineData(xValue = "23 Sep", yValue = 0.793f),
LineData(xValue = "24 Sep", yValue = 0.766f),
LineData(xValue = "25 Sep", yValue = 0.746f),
LineData(xValue = "26 Sep", yValue = 0.786f),
LineData(xValue = "27 Sep", yValue = 0.735f),
LineData(xValue = "28 Sep", yValue = 0.712f),
LineData(xValue = "29 Sep", yValue = 0.744f),
LineData(xValue = "30 Sep", yValue = 0.774f)
)
from charty.
Hi @AlexZhukovich ,
Tested the fix with your branch. Found that the issue still exist with the following LineData.
listOf(
LineData(xValue = "23 Sep", yValue = 0.793f),
LineData(xValue = "24 Sep", yValue = 0.766f),
LineData(xValue = "25 Sep", yValue = 0.746f),
LineData(xValue = "26 Sep", yValue = 0.786f),
LineData(xValue = "27 Sep", yValue = 0.735f),
LineData(xValue = "28 Sep", yValue = 0.712f),
LineData(xValue = "29 Sep", yValue = 0.744f),
LineData(xValue = "30 Sep", yValue = 0.774f)
)
from charty.
@khaleeljageer I think here we have different issues. The initial issue is related to adding additional data and updating the chart component. In your case, the data is displaying incorrectly.
from charty.
Related Issues (20)
- After PieChart rework expandDonutOnClick = false does not work HOT 1
- Need the ability to set LineChart label color HOT 4
- Labels not visible on dark mode HOT 4
- Scroll ability in x-axis HOT 3
- Mix of positive and negative values in HorizontalBarChart? HOT 4
- Offset in axis HOT 2
- Thank you for your submission to JetpackCompose.app
- The path is displayed when you create a LineChart with a single point HOT 1
- IllegalArgumentException with CurveLineChart HOT 3
- Add support for compose-jb
- Bar data represented incorrectly on server data update HOT 1
- Point-Line Combo Chart HOT 3
- x-axis labels. HOT 1
- Refactor build to compose-multiplatform? HOT 1
- To have multiple lines in single Line Chart HOT 1
- Spider/radar chart
- Cleanup non issue
- No static method FlowRow in CircleChart.kt:122 HOT 1
- Amazing Library! Looks like the grid line color is not used from the config :)
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 charty.