Skip to content
프로젝트

소개

Compose frontend for Lets-Plot multiplatform plotting library.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Lets-Plot Compose Frontend

Experimental JetBrains incubator project License MIT Latest Release

Lets-Plot Compose Frontend is a Kotlin Multiplatform library that allows you to embed
Lets-Plot charts in a Compose Multiplatform
application targeting Desktop, Android, and WasmJS.

Supported Targets

  • Desktop (macOS, Windows, Linux)
  • Android
  • WasmJS

For more details see Compose multiplatform compatibility and versioning overview.

Splash

Dependencies

  • Compose Multiplatform: 1.11.1

  • Lets-Plot Kotlin API: 4.15.0

  • Lets-Plot Multiplatform: 4.11.0

  • kotlinx-datetime: 0.7.1

  • kotlinx-coroutines: 1.8.0

Compose Multiplatform for Desktop

dependencies {
    implementation(compose.desktop.currentOs)
    implementation(compose.components.resources)

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

    // Optional: contains the PlotImageExport utility which enables exporting to raster formats.
    implementation("org.jetbrains.lets-plot:platf-awt:4.11.0")

    // Lets-Plot Compose UI
    implementation("org.jetbrains.lets-plot:lets-plot-compose:3.2.2")
}

See examples:

[!TIP] The org.jetbrains.lets-plot:lets-plot-kotlin dependency transitively brings in 3rd-party runtime dependencies:

  • org.jetbrains.kotlinx:kotlinx-datetime:0.7.1
  • org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0

For a dependency-free configuration (JVM/Desktop target only), replace lets-plot-kotlin with the following:

implementation("org.jetbrains.lets-plot:lets-plot-kotlin-kernel:4.15.0")
implementation("org.jetbrains.lets-plot:lets-plot-common:4.11.0")

Compose Multiplatform for Android

dependencies {
    // Lets-Plot Kotlin API
    implementation("org.jetbrains.lets-plot:lets-plot-kotlin:4.15.0")

    // Lets-Plot Compose UI
    implementation("org.jetbrains.lets-plot:lets-plot-compose:3.2.2")
}

See examples:

Compose Multiplatform for WasmJS

dependencies {
    // Lets-Plot Kotlin API
    implementation("org.jetbrains.lets-plot:lets-plot-kotlin:4.15.0")

    // Lets-Plot Compose UI
    implementation("org.jetbrains.lets-plot:lets-plot-compose:3.2.2")
}

See examples:

More Examples

You will find complete examples of using Lets-Plot Kotlin API with Lets-Plot Compose 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, JetBrains s.r.o.

관련 프로젝트 살펴보기

불러오는 중…