Comments (2)
Hey @arijit4 ,
What you mean by clips the circle
, mind attaching some screenshot withmore detail? thanks
from charty.
Sorry @hi-manshu for not being clear enough.
The circles/blobs on points (don't know what to call itπ₯²) get clipped by the upper edge.
I'm using padding as a workaround.
LineChart(
modifier = Modifier
.fillMaxSize()
.padding(16.dp),
lineData = entries,
color = MaterialTheme.colorScheme.secondary,
chartDimens = ChartDimens(20.dp)
)
It solves the above-mentioned issue. But the x axis values (15, 16, 17... in the screenshot) still get clipped. Again the dimmed lines parallel to x-axis are not centered according to the y-axis values. This is why the points with yValue = 10
looks less than 10
in the graph.
Couldn't find any
doc
forChartDimens
. But adding it helped :)
Hope the issue's a bit clearer now. Thanks!
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
- Line drawn out of bounds on dataset update HOT 9
- Scroll ability in x-axis HOT 3
- Mix of positive and negative values in HorizontalBarChart? HOT 4
- 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 2
- 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.