This repository contains examples of using the Lets-Plot Kotlin API in JVM and Kotlin/JS applications.
-
A JVM/Swing app which renders plot directly to AWT Canvas.
-
A JVM/Swing app which uses Apache Batik SVG Toolkit for plot rendering.
Note:
The Batik-based rendering is now obsolete and will be deprecated and then removed in the future.
We recommend using the default AWT-based rendering instead.
-
A JavaFX app which hosts a Swing plot panel inside a
javafx.embed.swing.SwingNode. -
A Kotlin/JS app.
-
Runnable examples that show how to export plot to an SVG, HTML or PNG image using
PlotSvgExport,PlotHtmlExportorPlotImageExportutilities.