All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jetbrains.kotlinx.kandy.echarts.io.EchartsConfig.kt Maven / Gradle / Ivy

There is a newer version: 0.8.0-dev-59
Show newest version
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