Lets Plot Skia Save

Skia frontend for Lets-Plot multiplatform plotting library.

Project README

Lets-Plot Skia Frontend

Experimental JetBrains incubator project License MIT Latest Release

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.

Supported Targets

Splash

Dependencies

Using as Dependency

Compose Desktop

dependencies {
    ...

    // Lets-Plot Kotlin API 
    implementation("org.jetbrains.lets-plot:lets-plot-kotlin-kernel:4.7.3")

    // Lets-Plot Multiplatform 
    implementation("org.jetbrains.lets-plot:lets-plot-common:4.3.3")
    implementation("org.jetbrains.lets-plot:platf-awt:4.3.3")

    // Lets-Plot Skia Frontend
    implementation("org.jetbrains.lets-plot:lets-plot-compose:1.0.3")
}

Compose Android

dependencies {
    ...

    implementation("org.jetbrains.skiko:skiko-android:0.7.92")

    // Lets-Plot Kotlin API 
    implementation("org.jetbrains.lets-plot:lets-plot-kotlin-kernel:4.7.3")

    // Lets-Plot Multiplatform 
    implementation("org.jetbrains.lets-plot:lets-plot-common:4.3.3")

    // Lets-Plot Skia Frontend
    implementation("org.jetbrains.lets-plot:lets-plot-compose:1.0.3")
}

Java Swing

dependencies {
    ...

    implementation("org.jetbrains.skiko:skiko:0.7.92")
    // The host OS and architecture should be specified explicitly.
    implementation("org.jetbrains.skiko:skiko-awt-runtime-macos-x64:0.7.92")

    // Lets-Plot Kotlin API 
    implementation("org.jetbrains.lets-plot:lets-plot-kotlin-kernel:4.7.3")

    // Lets-Plot Multiplatform 
    implementation("org.jetbrains.lets-plot:lets-plot-common:4.3.3")
    implementation("org.jetbrains.lets-plot:platf-awt:4.3.3")

    // Lets-Plot Skia Frontend
    implementation("org.jetbrains.lets-plot:lets-plot-swing-skia:1.0.3")
}

Examples

You will find complete examples of using Lets-Plot Kotlin API with Lets-Plot Skia Frontend in the following
GitHub repository: JetBrains/lets-plot-compose-demos.

Change Log

See CHANGELOG.md.

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.

Open Source Agenda is not affiliated with "Lets Plot Skia" Project. README Source: JetBrains/lets-plot-skia
Stars
125
Open Issues
6
Last Commit
1 week ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating