Skip to content

JetBrains/lets-plot-compose-demos

Repository files navigation

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

  • Android Plugin

Make sure the Android plugin is installed.

  • Android SDK

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:

  • create it manually
  • add property sdk.dir pointing to the location of the Android SDK on your system.

For example:

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

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:

  • Select compose-android-min or compose-android-median application
  • Select the Android device
  • Click Run

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages