diff options
author | Robbie Cronin <robert.cronin@uqconnect.edu.au> | 2019-05-01 09:13:53 +0800 |
---|---|---|
committer | Robbie Cronin <robert.cronin@uqconnect.edu.au> | 2019-05-01 09:13:53 +0800 |
commit | 0c6da96f0ce5ddbbfa58d9efed96ac62f2a22221 (patch) | |
tree | 8e62f39fcdcf16f65e2f92e5ce13352dc0f2bff8 /kvision-modules/kvision-chart/src/main/kotlin | |
parent | 736b9e0ab17a2ce655f534659a84a18a37daa87a (diff) | |
download | kvision-0c6da96f0ce5ddbbfa58d9efed96ac62f2a22221.tar.gz kvision-0c6da96f0ce5ddbbfa58d9efed96ac62f2a22221.tar.bz2 kvision-0c6da96f0ce5ddbbfa58d9efed96ac62f2a22221.zip |
Fix namespace issue
Rename 2 conflicting Options variables in Charts and Tabulator packages to ChartOptions and TabulatorOptions respectively
Diffstat (limited to 'kvision-modules/kvision-chart/src/main/kotlin')
-rw-r--r-- | kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt b/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt index 0925a0c8..a598bc5d 100644 --- a/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt +++ b/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/Configuration.kt @@ -728,7 +728,7 @@ fun ChartScales.toJs(i18nTranslator: (String) -> (String)): dynamic { /** * Chart options. */ -data class Options( +data class ChartOptions( val responsive: Boolean = true, val responsiveAnimationDuration: Int = 0, val aspectRatio: Int = 2, |