Let's see step-by-step how to create a JavaFX application that uses Charts-kt.
IntelliJ IDEA is the editor of choice for a Kotlin project. This tutorial works with the community (free) edition of IDEA as well as the ultimate edition.
Let's start by creating a new Kotlin project, and choose JVM Application.
Choose the name and location of your project.
As for the build system, Gradle is the preferred option but Maven also works.
We'll choose Gradle Kotlin for this tutorial, you can change it if you're more comfortable with Groovy.
Concerning the JDK, you can either run the project with:
build.gradle.kts
file: