JetBrains / lets-plot-compose-demos

MIT License
11 stars 0 forks source link

Experimental JetBrains incubator project License MIT

Lets-Plot Skia Frontend in Compose Applications (Examples)

Lets-Plot Skia Frontend is a Kotlin Multiplatform library that allows you to embed \ Lets-Plot charts in a Compose Multiplatform or Java Swing application.

Compose Desktop Demos

To run a Composer Desktop demo in IntelliJ IDEA simply navigate to MinimalAppMain.kt or MedianAppMain.kt and select "Run <app>" from the context menu.

Compose Android: Running Demos in IntelliJ IDEA

Setting up the Environment

Make sure the Android plugin is installed.

From menu Tools -> Android -> SDK Manager setup an Android SDK.

The local.properties file will be automatically generated. In case the local.properties file didn't appear in the project root:

For example:

sdk.dir=/Users/john/Library/Android/sdk

From menu Tools -> Android -> Device Manager setup Android device.

For example, Nexus 10 with Android 12 works well.

Running a Demo

Build the project:

./gradlew build

In the Run configurations toolbar:

Code of Conduct

This project and the corresponding community are governed by the JetBrains Open Source and Community Code of Conduct. Please make sure you read it.

License

Code and documentation released under the MIT license. Copyright © 2023-2024, JetBrains s.r.o.