org.jetbrains.kotlinx.kandy.echarts.io.EchartsConfig.kt Maven / Gradle / Ivy
package org.jetbrains.kotlinx.kandy.echarts.io
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.json.Json
@OptIn(ExperimentalSerializationApi::class)
internal object EchartsConfig {
private const val ECHARTS_MINOR = 5
private const val ECHARTS_MAJOR = 5
internal const val ECHARTS_JSDELIVER_PACK =
"https://cdn.jsdelivr.net/npm/echarts@${ECHARTS_MAJOR}.${ECHARTS_MINOR}/dist/echarts.min"
internal const val ECHARTS_JSDELIVER_SRC: String = "$ECHARTS_JSDELIVER_PACK.js"
internal val json = Json {
explicitNulls = false
encodeDefaults = true
prettyPrint = true
isLenient = true
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy