Manual Setup
This guide will help you integrate the HDCharts library into your Kotlin Multiplatform project.
Installation
Core Dependency
commonMain.dependencies {
implementation("io.github.dautovicharis:charts:2.0.0")
}
dependencyResolutionManagement {
repositories {
mavenCentral()
}
}Platform-Specific Dependencies
implementation("io.github.dautovicharis:charts-android:2.0.0") // For Android
implementation("io.github.dautovicharis:charts-jvm:2.0.0") // For JVM
implementation("io.github.dautovicharis:charts-js:2.0.0") // For JavaScript
implementation("io.github.dautovicharis:charts-iosx64:2.0.0") // For iOS (x64)
implementation("io.github.dautovicharis:charts-iosarm64:2.0.0") // For iOS (ARM64)Snapshot Builds 
Access the latest pre-release builds through the Sonatype snapshots repository. Snapshots contain the most recent features and fixes that haven't been officially released yet, allowing you to test upcoming functionality.
commonMain.dependencies {
implementation("io.github.dautovicharis:charts:<snapshot-version>")
}
dependencyResolutionManagement {
repositories {
// Sonatype Central Portal Snapshots (replaces old s01.oss.sonatype.org)
maven("https://central.sonatype.com/repository/maven-snapshots/")
}
}