-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create line and bar chart components for the demo #645
Conversation
Code Coverage
|
The charts doesn't work in a container that has a fixed size ? For example Column(modifier = Modifier.fillMaxWidth(0.5f)){
LineChart(...)
} |
|
71877c4
to
0896a6e
Compare
Pull request
Description
This PR introduces two new composables in
pillarbox-demo-shared
:LineChart
andBarChart
. As their names suggest, they are meant to display simple line- and bar-charts.Usage
The most basic usage for each component looks like this:
Each component provides a set of options to customize how it is displayed (color, stroke width, spacing, ...).
Screenshot
Changes made
LineChart
component.BarChart
component.Checklist
main
branch.