https://github.com/data2viz/charts.kt-samples
Sample of the Charts.kt Kotlin Muliplatform charting library
https://github.com/data2viz/charts.kt-samples
Last synced: about 1 year ago
JSON representation
Sample of the Charts.kt Kotlin Muliplatform charting library
- Host: GitHub
- URL: https://github.com/data2viz/charts.kt-samples
- Owner: data2viz
- Created: 2023-07-04T01:57:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-16T10:49:50.000Z (over 2 years ago)
- Last Synced: 2025-02-03T13:17:54.737Z (over 1 year ago)
- Language: Kotlin
- Homepage:
- Size: 801 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Charts.kt samples
This is the official samples repository of Charts.kt,
a commercial Kotlin Multiplatform charting library that supports iOS, Android, the Web, and the JVM.
If you need a license to go beyond experimenting, click "Book a demo" on our website [charts-kt.io](https://charts-kt.io/).
## Important information
⚠️ We are still building this sample project.
Here's our short term plan:
- Add more sample charts to showcase all the important features of Charts.kt.
- Add Kotlin/JS and Kotlin/JVM in this project (currently, it's KMM only, i.e. iOS and Android).
- Add a nice icon for the sample app.
In the meantime, you can go on [our playground](https://play.data2viz.io/sketches?tag=charts.kt).
There, we have **40 examples in Kotlin/JS** that render live with code on the side.
You can edit and run them all online, they usually **compile and render within 1s**!
## How to use
1. Clone the project
2. Open the project in a recent Android Studio version
3. For Android, run the `androidApp` module on a physical or emulator device as usual
4. For iOS, open the Xcode project located within the `iosApp` directory
a. Run on the iOS simulator
b. Run as an iPad app on macOS (resizing the window is currently crashing, next version fixes it)
c. Run on a physical iOS or iPadOS device as usual
5. Experiment with your charts, possibly taking inspiration from the ones found on [our playground](https://play.data2viz.io/sketches?tag=charts.kt)