Comments (2)
Also, text is behind the line. Additionaly, line is wrongly drawn when using LineType.CURVED_LINE :
Also when interacting with the chart, we've encountered two issues:
- Popup appears behind the chart line, making it difficult to read and interact with the chart effectively.
- When utilizing LineType.CURVED_LINE, the line rendering behaves unexpectedly, leading to incorrect visual representations in the chart.
Full code:
val testLineParameters: List<LineParameters> = listOf(
LineParameters(
label = "Earnings",
data = listOf(100.0, 40.33, 86.232, 88.0, 90.0,60.0, 80.6, 40.33, 86.232, 88.0, 90.0),
lineColor = Color(0xFFFF7F50),
lineType = LineType.CURVED_LINE,
lineShadow = true
),
)
LineChart(
modifier = modifier.fillMaxSize(),
linesParameters = testLineParameters,
isGrid = true,
xAxisData = listOf( "-1", "0", "1", "2", "20","2015", "26", "27", "2", "29", "2"),
animateChart = true,
showGridWithSpacer = true,
yAxisStyle = TextStyle(
fontSize = 14.sp,
color = Color.Gray,
),
xAxisStyle = TextStyle(
fontSize = 14.sp, color = Color.Gray, fontWeight = FontWeight.W400,
),
oneLineChart = false,
gridOrientation = GridOrientation.VERTICAL,
)
from aay-chart.
soon in the next release, we will put all of this in our mind to improve it
from aay-chart.
Related Issues (20)
- Crashes when sum of data is 0
- Offset is unspecified HOT 6
- Percentage text is out of the screen(PieChart and DonutChart)
- Wasm support HOT 1
- Provide draw percentage like on the picture for pie chart HOT 1
- WrapContent
- How to add the lib? HOT 1
- setting latest version as dependency
- Remove extra spacing in radar chart
- Extra entry line when dataset is large and grid is on in linechart
- how can I show the tittle I want instead of percentage in donutchart
- Can I zoom in line chart ?
- Is there a way to make these charts interactive?
- Horizontal grid location error
- xAxisData not showing. HOT 5
- Chart width is getting lower HOT 3
- use more semantic versioning HOT 1
- Does not work inside LazyColumn [Desktop] HOT 1
- Bar chart doesn't have label option for each item HOT 1
- Wrong positions of percentage line on each PieChart and DonutChart drawn arc(not be drawn on the center of each )
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 aay-chart.