Skip to content

Samples demonstrating the features and use of Koala Plot, a Compose Multiplatform based charting and plotting library written in Kotlin.

License

Notifications You must be signed in to change notification settings

KoalaPlot/koalaplot-samples

Repository files navigation

Koala Plot Samples

This repository houses samples demonstrating the use and features of Koala Plot libraries.

Try out the web version of the samples for a quick look at the possibilities when using Koala Plot. Note that this uses the alpha Kotlin wasm Compose web-canvas capability, and you'll need a browser supporting the wasm garbage collection feature. For more information see https://kotl.in/wasm_help.

How to run with a development build of koalaplot-core

  1. Build koalaplot-core with the following commands
git clone https://github.com/KoalaPlot/koalaplot-core.git
cd koalaplot-core
./gradlew publishToMavenLocal
  1. Build koalaplot-samples
cd ..
git clone https://github.com/KoalaPlot/koalaplot-samples.git
cd koalaplot-samples
./gradlew build
  1. Run it
    1. For desktop:
    ./gradlew run
    1. For web:
     ./gradlew jsBrowserRun
    1. For Android, to run in an emulator on your machine:
      1. Download Android Studio
      2. Open the koalaplot-samples folder as a project in Android Studio
      3. Run kaoalaplot-samples in the emulator. Further instructions on using the emulator are available online.
    2. For iOS, to run in a simulator on your machine (only for macOS):
      1. Download Xcode
      2. Open the iosApp folder as a project in Xcode
      3. Run kaoalaplot-samples in the simulator. Further instructions on using the simulator are available online
      4. You can also launch the iOS app in Android Studio

About

Samples demonstrating the features and use of Koala Plot, a Compose Multiplatform based charting and plotting library written in Kotlin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages