You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jo...@apache.org on 2022/02/11 18:10:20 UTC

[isis] branch ISIS-2957 updated (39736ff -> 64d8ea7)

This is an automated email from the ASF dual-hosted git repository.

joergrade pushed a change to branch ISIS-2957
in repository https://gitbox.apache.org/repos/asf/isis.git.


    from 39736ff  ISIS-2949 catch NPE's
     new 6f9addb  ISIS-2957 barchartExample is rendered
     new 64d8ea7  ISIS-2957 upgrade to kvision 5.8.1, Kotlin 1.6.10, changes regarding SVG to accommodate kvision-map update, catch empty BaseAggregator, luxon added in index.html, new approach to visualize Event timing

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 incubator/clients/kroviz/build.gradle.kts          |  24 +++-
 incubator/clients/kroviz/gradle.properties         |   4 +-
 .../client/kroviz/core/aggregator/SvgDispatcher.kt |   2 +-
 .../isis/client/kroviz/core/event/EventStore.kt    |   2 +-
 .../isis/client/kroviz/core/event/LogEntry.kt      |  13 +-
 .../isis/client/kroviz/core/model/ObjectDM.kt      |   2 +-
 .../isis/client/kroviz/handler/BaseHandler.kt      |   2 +-
 .../isis/client/kroviz/handler/IconHandler.kt      |   2 +-
 .../org/apache/isis/client/kroviz/to/Value.kt      |  13 +-
 .../isis/client/kroviz/ui/chart/ChartFactory.kt    |   8 +-
 ...EventChartModel.kt => EventBubbleChartModel.kt} |  23 ++--
 .../apache/isis/client/kroviz/ui/core/RoMenuBar.kt |  14 +-
 .../client/kroviz/ui/diagram/Data2VizDiagram.kt    | 153 +++++++++++++++++++++
 .../isis/client/kroviz/ui/dialog/ChartDialog.kt    |  52 +------
 .../kroviz/ui/kv/override/RoManagerBootstrap.kt    |  15 +-
 .../isis/client/kroviz/ui/kv/override/RoTab.kt     |   2 +-
 .../client/kroviz/ui/kv/override/RoTabPanel.kt     |   2 +-
 .../isis/client/kroviz/ui/kv/override/RoWindow.kt  |  11 +-
 .../client/kroviz/ui/panel/EventBubbleChart.kt     |  59 ++++++++
 .../isis/client/kroviz/ui/panel/EventChart.kt      |   6 +-
 .../apache/isis/client/kroviz/ui/panel/GeoMap.kt   |  36 +++--
 .../apache/isis/client/kroviz/ui/panel/SvgMap.kt   |  15 +-
 .../apache/isis/client/kroviz/ui/panel/SvgPanel.kt |   9 +-
 incubator/clients/kroviz/src/main/web/index.html   |   2 +
 24 files changed, 343 insertions(+), 128 deletions(-)
 copy incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/chart/{EventChartModel.kt => EventBubbleChartModel.kt} (85%)
 create mode 100644 incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/diagram/Data2VizDiagram.kt
 create mode 100644 incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt

[isis] 01/02: ISIS-2957 barchartExample is rendered

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

joergrade pushed a commit to branch ISIS-2957
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 6f9addbf102da653291cffcde2784ab2aaff1409
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Fri Feb 11 11:09:29 2022 +0100

    ISIS-2957 barchartExample is rendered
---
 .../main/kotlin/org/apache/isis/client/kroviz/ui/dialog/ChartDialog.kt  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/dialog/ChartDialog.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/dialog/ChartDialog.kt
index 0cceb52..3ce1004 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/dialog/ChartDialog.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/dialog/ChartDialog.kt
@@ -44,7 +44,7 @@ class ChartDialog(
         )
         val canvas = Canvas(200, 200)
         canvas.addAfterInsertHook {
-            val htmlCanvas = canvas.unsafeCast<HTMLCanvasElement>()
+            val htmlCanvas = canvas.getElement().unsafeCast<HTMLCanvasElement>()
             viz().bindRendererOn(htmlCanvas)
         }
         dialog.add(canvas)

[isis] 02/02: ISIS-2957 upgrade to kvision 5.8.1, Kotlin 1.6.10, changes regarding SVG to accommodate kvision-map update, catch empty BaseAggregator, luxon added in index.html, new approach to visualize Event timing

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

joergrade pushed a commit to branch ISIS-2957
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 64d8ea7e67ecf241f43ff85e6bfd8f0220ed1326
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Fri Feb 11 19:09:39 2022 +0100

    ISIS-2957 upgrade to kvision 5.8.1, Kotlin 1.6.10, changes regarding SVG to accommodate kvision-map update, catch empty BaseAggregator, luxon added in index.html, new approach to visualize Event timing
---
 incubator/clients/kroviz/build.gradle.kts          |  24 +++-
 incubator/clients/kroviz/gradle.properties         |   4 +-
 .../client/kroviz/core/aggregator/SvgDispatcher.kt |   2 +-
 .../isis/client/kroviz/core/event/EventStore.kt    |   2 +-
 .../isis/client/kroviz/core/event/LogEntry.kt      |  13 +-
 .../isis/client/kroviz/core/model/ObjectDM.kt      |   2 +-
 .../isis/client/kroviz/handler/BaseHandler.kt      |   2 +-
 .../isis/client/kroviz/handler/IconHandler.kt      |   2 +-
 .../org/apache/isis/client/kroviz/to/Value.kt      |  13 +-
 .../isis/client/kroviz/ui/chart/ChartFactory.kt    |   8 +-
 .../kroviz/ui/chart/EventBubbleChartModel.kt       |  86 ++++++++++++
 .../apache/isis/client/kroviz/ui/core/RoMenuBar.kt |  14 +-
 .../client/kroviz/ui/diagram/Data2VizDiagram.kt    | 153 +++++++++++++++++++++
 .../isis/client/kroviz/ui/dialog/ChartDialog.kt    |  50 +------
 .../kroviz/ui/kv/override/RoManagerBootstrap.kt    |  15 +-
 .../isis/client/kroviz/ui/kv/override/RoTab.kt     |   2 +-
 .../client/kroviz/ui/kv/override/RoTabPanel.kt     |   2 +-
 .../isis/client/kroviz/ui/kv/override/RoWindow.kt  |  11 +-
 .../client/kroviz/ui/panel/EventBubbleChart.kt     |  59 ++++++++
 .../isis/client/kroviz/ui/panel/EventChart.kt      |   6 +-
 .../apache/isis/client/kroviz/ui/panel/GeoMap.kt   |  36 +++--
 .../apache/isis/client/kroviz/ui/panel/SvgMap.kt   |  15 +-
 .../apache/isis/client/kroviz/ui/panel/SvgPanel.kt |   9 +-
 incubator/clients/kroviz/src/main/web/index.html   |   2 +
 24 files changed, 413 insertions(+), 119 deletions(-)

diff --git a/incubator/clients/kroviz/build.gradle.kts b/incubator/clients/kroviz/build.gradle.kts
index 1d4eff1..7615935 100644
--- a/incubator/clients/kroviz/build.gradle.kts
+++ b/incubator/clients/kroviz/build.gradle.kts
@@ -30,7 +30,7 @@ plugins {
 var version = "2.0.0-SNAPSHOT"
 
 kotlin.sourceSets.all {
-    languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
+    languageSettings.optIn("org.mylibrary.OptInAnnotation")
 }
 
 repositories {
@@ -100,11 +100,27 @@ kotlin {
         implementation("io.kvision:kvision-rest:$kvisionVersion")
         implementation("io.kvision:kvision-moment:$kvisionVersion")
         implementation("io.kvision:kvision-maps:$kvisionVersion")
-        implementation("io.data2viz.d2v:d2v-core-js:0.9.1")
+/*
+        implementation("io.data2viz.d2v:d2v-axis-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-chord-js:0.9.1")
         implementation("io.data2viz.d2v:d2v-color-js:0.9.1")
+//        implementation("io.data2viz.d2v:d2v-contour-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-delaunay-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-dsv-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-ease-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-force-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-format-js:0.9.1")
+//        implementation("io.data2viz.d2v:d2v-geo-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-hexbin-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-hierarchy-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-quadtree-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-random-js:0.9.1")
         implementation("io.data2viz.d2v:d2v-scale-js:0.9.1")
-        implementation("io.data2viz.d2v:d2v-viz-js:0.9.1")
-
+        implementation("io.data2viz.d2v:d2v-shape-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-tile-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-time-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-timer-js:0.9.1")
+        implementation("io.data2viz.d2v:d2v-viz-js:0.9.1") */
         implementation(npm("xmltojson", "1.3.5", false))
         implementation(npm("flatted", "3.2.2", false))
         implementation(npm("diff", "5.0.0", false))
diff --git a/incubator/clients/kroviz/gradle.properties b/incubator/clients/kroviz/gradle.properties
index 4c532c0..6830ed0 100644
--- a/incubator/clients/kroviz/gradle.properties
+++ b/incubator/clients/kroviz/gradle.properties
@@ -18,10 +18,10 @@
 #
 javaVersion=1.8
 #Plugins
-systemProp.kotlinVersion=1.5.31
+systemProp.kotlinVersion=1.6.10
 serializationVersion=1.3.0
 #Dependencies
-systemProp.kvisionVersion=5.5.1
+systemProp.kvisionVersion=5.8.1
 coroutinesVersion=1.5.2
 
 kotlin.mpp.stability.nowarn=true
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/aggregator/SvgDispatcher.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/aggregator/SvgDispatcher.kt
index 0f65e88..4137ced 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/aggregator/SvgDispatcher.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/aggregator/SvgDispatcher.kt
@@ -29,7 +29,7 @@ class SvgDispatcher(val callBack: Any) : BaseAggregator() {
         val response = logEntry.response
         when (callBack) {
             is UUID -> DomUtil.appendTo(callBack, response)
-            is SvgPanel -> callBack.renderSvg(response)
+//TODO            is SvgPanel -> callBack.renderSvg(response)
             else -> {
             }
         }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/EventStore.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/EventStore.kt
index 47946a3..1426826 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/EventStore.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/EventStore.kt
@@ -80,7 +80,7 @@ class EventStore {
         val logEntry = findView(title)
         if (null != logEntry) {
             logEntry.setClose()
-            logEntry.getAggregator().reset()
+            logEntry.getAggregator()?.reset()
             updateStatus(logEntry)
         }
     }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/LogEntry.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/LogEntry.kt
index 9432868..3501cd8 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/LogEntry.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/LogEntry.kt
@@ -24,10 +24,10 @@ import kotlinx.serialization.Contextual
 import kotlinx.serialization.Serializable
 import org.apache.isis.client.kroviz.core.aggregator.ActionDispatcher
 import org.apache.isis.client.kroviz.core.aggregator.BaseAggregator
-import org.apache.isis.client.kroviz.to.WithLinks
 import org.apache.isis.client.kroviz.to.Link
 import org.apache.isis.client.kroviz.to.Relation
 import org.apache.isis.client.kroviz.to.TransferObject
+import org.apache.isis.client.kroviz.to.WithLinks
 import org.apache.isis.client.kroviz.ui.core.Constants
 import org.apache.isis.client.kroviz.ui.core.ViewManager
 import org.w3c.files.Blob
@@ -59,8 +59,10 @@ data class LogEntry(
     @Contextual val createdAt: Date = Date()
 ) {
     val url: String = rs?.url
-        //?. is required, otherwise Tabulator.js/EventLogTable shows no entries
+
+    //?. is required, otherwise Tabulator.js/EventLogTable shows no entries
     val subType = rs?.subType
+
     //?. is required, otherwise Tabulator.js/EventLogTable shows no entries
     var state = EventState.INITIAL
     var title: String = ""
@@ -235,16 +237,19 @@ data class LogEntry(
         return fault != null
     }
 
-    fun getAggregator(): BaseAggregator {
+    fun getAggregator(): BaseAggregator? {
         //TODO the last aggt is not always the right one
         // callers need to filter  !!!
         if (aggregators.size == 0) {
             console.log("[LE.getAggregator]")
             console.log(this)
+            return null
+        } else {
+            return aggregators.last()
         }
-        return aggregators.last()
     }
 
+
     fun addAggregator(aggregator: BaseAggregator) {
         if (aggregator is ActionDispatcher) {
             ViewManager.setBusyCursor()
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/model/ObjectDM.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/model/ObjectDM.kt
index 07b53d6..5874406 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/model/ObjectDM.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/model/ObjectDM.kt
@@ -54,7 +54,7 @@ class ObjectDM(override val title: String) : DisplayModelWithLayout() {
             val le = es.findBy(rs)!!
             val aggt = le.getAggregator()
             console.log(aggt)
-            val logEntries = es.findAllBy(aggt)
+            val logEntries = es.findAllBy(aggt!!)
             logEntries.forEach {
                 console.log(it)
             }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/handler/BaseHandler.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/handler/BaseHandler.kt
index 578ff72..dd57b46 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/handler/BaseHandler.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/handler/BaseHandler.kt
@@ -76,7 +76,7 @@ abstract class BaseHandler {
     }
 
     open fun update() {
-        logEntry.getAggregator().update(logEntry, Constants.subTypeJson)
+        logEntry.getAggregator()?.update(logEntry, Constants.subTypeJson)
     }
 
 }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/handler/IconHandler.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/handler/IconHandler.kt
index ccb676b..d5bd89b 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/handler/IconHandler.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/handler/IconHandler.kt
@@ -37,7 +37,7 @@ class IconHandler : BaseHandler() {
     }
 
     override fun update() {
-        logEntry.getAggregator().update(logEntry, Constants.pngMimeType)
+        logEntry.getAggregator()?.update(logEntry, Constants.pngMimeType)
     }
 
 }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/to/Value.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/to/Value.kt
index 242e9a7..a470510 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/to/Value.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/to/Value.kt
@@ -20,7 +20,9 @@ package org.apache.isis.client.kroviz.to
 
 import kotlinx.serialization.*
 import kotlinx.serialization.builtins.nullable
+import kotlinx.serialization.descriptors.SerialDescriptor
 import kotlinx.serialization.encoding.Decoder
+import kotlinx.serialization.encoding.Encoder
 import kotlinx.serialization.json.Json
 import kotlinx.serialization.json.JsonElement
 import kotlinx.serialization.json.JsonObject
@@ -45,7 +47,7 @@ data class Value(
     @Serializer(forClass = Value::class)
     companion object : KSerializer<Value> {
 
-        @ExperimentalSerializationApi
+       // @ExperimentalSerializationApi
         override fun deserialize(decoder: Decoder): Value {
             val nss = JsonElement.serializer().nullable
             val jse: JsonElement? = decoder.decodeNullableSerializableValue(nss)!!
@@ -65,7 +67,7 @@ data class Value(
 
         private fun toLink(jse: JsonElement): Value {
             val linkStr = jse.toString()
-            val link = Json.decodeFromString(Link.serializer(), linkStr)
+            val link = Json.decodeFromString<Link>(linkStr)
             return Value(link)
         }
 
@@ -79,6 +81,13 @@ data class Value(
                 return false
             }
         }
+
+        override val descriptor: SerialDescriptor
+            get() = TODO("Not yet implemented")
+
+        override fun serialize(encoder: Encoder, value: Value) {
+            TODO("Not yet implemented")
+        }
     }
 
 }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/chart/ChartFactory.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/chart/ChartFactory.kt
index 99fa4c6..37bc910 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/chart/ChartFactory.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/chart/ChartFactory.kt
@@ -19,12 +19,12 @@
 package org.apache.isis.client.kroviz.ui.chart
 
 import org.apache.isis.client.kroviz.core.event.LogEntry
-import org.apache.isis.client.kroviz.ui.panel.EventChart
+import org.apache.isis.client.kroviz.ui.panel.EventBubbleChart
 
 class ChartFactory {
 
-    fun build(logEventList: MutableList<LogEntry> = mutableListOf<LogEntry>()): EventChart {
-        val model = EventChartModel(logEventList)
-        return EventChart(model)
+    fun build(logEventList: MutableList<LogEntry> = mutableListOf<LogEntry>()): EventBubbleChart {
+        val model = EventBubbleChartModel(logEventList)
+        return EventBubbleChart(model)
     }
 }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/chart/EventBubbleChartModel.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/chart/EventBubbleChartModel.kt
new file mode 100644
index 0000000..c54ffb6
--- /dev/null
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/chart/EventBubbleChartModel.kt
@@ -0,0 +1,86 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+package org.apache.isis.client.kroviz.ui.chart
+
+import io.kvision.chart.DataSets
+import io.kvision.core.Color
+import io.kvision.utils.obj
+import org.apache.isis.client.kroviz.core.event.LogEntry
+import kotlin.js.Date
+
+class EventBubbleChartModel(log: List<LogEntry>) : ChartModel {
+
+    override var bgColorList = mutableListOf<Color>()
+    override var bgColorList2 = mutableListOf<Color>()
+    override var datasetList = mutableListOf<DataSets>()
+    override var labelList = mutableListOf<String>()
+    val dataList = mutableListOf<dynamic>()
+    override var ds1 = DataSets()
+    override var ds2 = DataSets()
+
+    private val violett = Color.hex(0x8064A2)
+    private val red = Color.hex(0xC0504D)
+    private val yellow = Color.hex(0xF79646)
+    private val green = Color.hex(0x9BBB59)
+    private val blue = Color.hex(0x4F81BD)
+
+    private var startTime = Date()
+
+    init {
+        var i = 0
+        log.forEach { le ->
+            i += 1
+            if (i == 1) startTime = le.createdAt
+            val q = le.responseLength
+            when {
+                (q >= 0) && (q <= 1024) -> bgColorList.add(blue)
+                (q > 1024) && (q <= 2048) -> bgColorList.add(green)
+                (q > 2048) && (q <= 4096) -> bgColorList.add(yellow)
+                (q > 4096) && (q <= 8192) -> bgColorList.add(red)
+                else -> bgColorList.add(violett)
+            }
+            labelList.add(le.toLabel(i))
+            val start = (le.createdAt.getTime()).toInt()
+            dataList.add({
+                obj {
+                    y = le.duration
+                    x = start
+                }
+            })
+        }
+        ds1 = DataSets(
+            data = dataList,
+            backgroundColor = bgColorList,
+            label = "duration"
+        )
+
+        datasetList.add(ds1)
+    }
+
+    fun LogEntry.toLabel(index: Int): String {
+        val relativeStarTime = ((this.createdAt.getTime() - startTime.getTime()) / 1000).toString()
+        val sec_1 = relativeStarTime.substring(0, relativeStarTime.length - 2)
+        return index.toString() + "\n" +
+                sec_1 + "\n" +
+                this.title + "\n" +
+                "start: " + this.createdAt.toISOString() + "\n" +
+                "rsp.len: " + this.responseLength
+    }
+
+}
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/core/RoMenuBar.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/core/RoMenuBar.kt
index 185564a..06571b2 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/core/RoMenuBar.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/core/RoMenuBar.kt
@@ -33,12 +33,10 @@ import io.kvision.utils.px
 import org.apache.isis.client.kroviz.core.Session
 import org.apache.isis.client.kroviz.core.event.ResourceProxy
 import org.apache.isis.client.kroviz.to.mb.Menubars
+import org.apache.isis.client.kroviz.ui.chart.EventBubbleChartModel
 import org.apache.isis.client.kroviz.ui.chart.SampleChartModel
 import org.apache.isis.client.kroviz.ui.dialog.*
-import org.apache.isis.client.kroviz.ui.panel.EventChart
-import org.apache.isis.client.kroviz.ui.panel.GeoMap
-import org.apache.isis.client.kroviz.ui.panel.ImageSample
-import org.apache.isis.client.kroviz.ui.panel.SvgMap
+import org.apache.isis.client.kroviz.ui.panel.*
 import org.apache.isis.client.kroviz.utils.IconManager
 import org.apache.isis.client.kroviz.utils.Point
 
@@ -162,7 +160,7 @@ class RoMenuBar : SimplePanel() {
 
         val chartTitle = "Sample Chart"
         mainMenu.add(
-            buildMenuEntry(chartTitle, "Chart", { ViewManager.add(chartTitle, EventChart(SampleChartModel())) })
+            buildMenuEntry(chartTitle, "Chart", { ViewManager.add(chartTitle, EventBubbleChart(EventBubbleChartModel(SessionManager.getEventStore().log))) })
         )
 
         val geoMapTitle = "Sample Geo Map"
@@ -195,12 +193,12 @@ class RoMenuBar : SimplePanel() {
             buildMenuEntry(testTitle, "Test", { this.executeAllMenuBarActions() })
         )
 
-        val d3Title = "BarchartExample"
+        val d3Title = "ChartExample"
         mainMenu.add(
             buildMenuEntry(
                 d3Title,
-                "Test",
-                { ChartDialog(SessionManager.getEventStore().log, "barchartExample").open() })
+                "Chart",
+                { ChartDialog(SessionManager.getEventStore().log, "3dTitle").open() })
         )
 
         /*
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/diagram/Data2VizDiagram.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/diagram/Data2VizDiagram.kt
new file mode 100644
index 0000000..a30c57b
--- /dev/null
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/diagram/Data2VizDiagram.kt
@@ -0,0 +1,153 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+package org.apache.isis.client.kroviz.ui.diagram
+/*
+import io.data2viz.axis.Orient
+import io.data2viz.axis.axis
+import io.data2viz.color.Colors
+import io.data2viz.geom.size
+import io.data2viz.random.RandomDistribution
+import io.data2viz.scale.Scales
+import io.data2viz.viz.TextHAlign
+import io.data2viz.viz.TextVAlign
+import io.data2viz.viz.Viz
+import io.data2viz.viz.viz
+import kotlinx.datetime.Instant*/
+
+class Data2VizDiagram {
+
+    // c.f. https://play.data2viz.io/sketches/nLoOzL/edit/
+/*    fun bubbleChartExample(): Viz {
+        val xSize = 300
+        val ySize = 300
+
+        val barHeight = 14.0
+        val cPadding = 20.0
+        val data = listOf(4, 8, 15, 16, 23, 42)
+
+        val xScale = Scales.Continuous.time {
+//            domain = listOf(.0, data.maxOrNull()!!.toDouble())
+            range = listOf(.0, xSize - 2 * cPadding)
+        }
+
+        val yScale = Scales.Continuous.linear() {
+            domain = listOf(.0, data.maxOrNull()!!.toDouble())
+            range = listOf(.0, xSize - 2 * cPadding)
+        }
+
+        val viz = viz {
+            size = size(xSize, ySize)
+            data.forEachIndexed { index, datum ->
+                group {
+                    transform {
+                        translate(
+                            y = cPadding,
+                            x = cPadding + index * (cPadding + barHeight)
+                        )
+                    }
+                    rect {
+                        width = yScale(datum.toDouble())
+                        height = barHeight
+                        fill = Colors.Web.steelblue
+                    }
+                    circle {
+                        radius = datum.toDouble()
+                        x = datum.toDouble()
+                        fill = Colors.Web.blueviolet.opacify(0.8)
+                    }
+                    text {
+                        textContent = datum.toString()
+                        hAlign = TextHAlign.RIGHT
+                        vAlign = TextVAlign.HANGING
+                        x = yScale(datum.toDouble()) - 2.0
+                        y = 1.5
+                        textColor = Colors.Web.white
+                        fontSize = 10.0
+                    }
+                    axis(Orient.RIGHT, xScale) {
+                        axisStroke = tickStroke
+                    }
+                }
+            }
+        }
+        return viz
+    }
+
+    fun barchartExample(): Viz {
+        val vizSize = 500.0
+        val barHeight = 14.0
+        val cPadding = 2.0
+        val data = listOf(4, 8, 15, 16, 23, 42)
+
+        val xScale = Scales.Continuous.linear {
+            domain = listOf(.0, data.maxOrNull()!!.toDouble())
+            range = listOf(.0, vizSize - 2 * cPadding)
+        }
+
+        val viz = io.data2viz.viz.viz {
+            size = size(vizSize, vizSize)
+            data.forEachIndexed { index, datum ->
+                group {
+                    transform {
+                        translate(
+                            x = cPadding,
+                            y = cPadding + index * (cPadding + barHeight)
+                        )
+                    }
+                    rect {
+                        width = xScale(datum.toDouble())
+                        height = barHeight
+                        fill = Colors.Web.steelblue
+                    }
+                    text {
+                        textContent = datum.toString()
+                        hAlign = TextHAlign.RIGHT
+                        vAlign = TextVAlign.HANGING
+                        x = xScale(datum.toDouble()) - 2.0
+                        y = 1.5
+                        textColor = Colors.Web.white
+                        fontSize = 10.0
+                    }
+                }
+            }
+        }
+        return viz
+    }
+}
+
+val randomGenerator = RandomDistribution(42).normal(100.0, 18.0)
+
+data class Sample(
+    val sampleIndex: Int,
+    val batchCode: String,
+    val timestamp: Instant,
+    val temperature: Double,
+    val pressure: Double
+)
+
+val samples = generateSamples(30)
+
+fun generateSamples(numSamples: Int) = (0 until numSamples).map {
+    val batchIndex = 1 + (it % 4)
+    val pressure: Double = randomGenerator() * 1000
+    val temp: Double = randomGenerator() * batchIndex * pressure / 100000
+    val ts = Instant.fromEpochMilliseconds(1611150127144L + (it * 8632L))
+    Sample(it, "Batch #$batchIndex", ts, temp, pressure) */
+}
+
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/dialog/ChartDialog.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/dialog/ChartDialog.kt
index 3ce1004..dc4ca4d 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/dialog/ChartDialog.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/dialog/ChartDialog.kt
@@ -18,13 +18,11 @@
  */
 package org.apache.isis.client.kroviz.ui.dialog
 
-import io.data2viz.color.Colors
-import io.data2viz.geom.size
-import io.data2viz.scale.Scales
-import io.data2viz.viz.*
+//mport io.data2viz.viz.bindRendererOn
 import io.kvision.html.Canvas
 import org.apache.isis.client.kroviz.core.event.LogEntry
 import org.apache.isis.client.kroviz.ui.core.RoDialog
+import org.apache.isis.client.kroviz.ui.diagram.Data2VizDiagram
 import org.w3c.dom.HTMLCanvasElement
 
 class ChartDialog(
@@ -44,52 +42,12 @@ class ChartDialog(
         )
         val canvas = Canvas(200, 200)
         canvas.addAfterInsertHook {
+     /*       val viz = Data2VizDiagram().bubbleChartExample()
             val htmlCanvas = canvas.getElement().unsafeCast<HTMLCanvasElement>()
-            viz().bindRendererOn(htmlCanvas)
+            viz.bindRendererOn(htmlCanvas) */
         }
         dialog.add(canvas)
     }
 
-    private fun viz(): Viz {
-        val vizSize = 500.0
-        val barHeight = 14.0
-        val cPadding = 2.0
-        val data = listOf(4, 8, 15, 16, 23, 42)
-
-        val xScale = Scales.Continuous.linear {
-            domain = listOf(.0, data.maxOrNull()!!.toDouble())
-            range = listOf(.0, vizSize - 2 * cPadding)
-        }
-
-        val viz = viz {
-            size = size(vizSize, vizSize)
-            data.forEachIndexed { index, datum ->
-                group {
-                    transform {
-                        translate(
-                            x = cPadding,
-                            y = cPadding + index * (cPadding + barHeight)
-                        )
-                    }
-                    rect {
-                        width = xScale(datum.toDouble())
-                        height = barHeight
-                        fill = Colors.Web.steelblue
-                    }
-                    text {
-                        textContent = datum.toString()
-                        hAlign = TextHAlign.RIGHT
-                        vAlign = TextVAlign.HANGING
-                        x = xScale(datum.toDouble()) - 2.0
-                        y = 1.5
-                        textColor = Colors.Web.white
-                        fontSize = 10.0
-                    }
-                }
-            }
-        }
-        return viz
-    }
-
 }
 
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoManagerBootstrap.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoManagerBootstrap.kt
index 7a3451b..7d732fe 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoManagerBootstrap.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoManagerBootstrap.kt
@@ -21,7 +21,6 @@ package org.apache.isis.client.kroviz.ui.kv.override
 /* (!) copied from kvision KVManagerBootstrap in order to make Dialogs transparent on move */
 
 import io.kvision.core.Component
-import io.kvision.utils.isIE11
 
 internal val roManagerBootstrapInit = RoManagerBootstrap.init()
 
@@ -39,20 +38,16 @@ internal object RoManagerBootstrap {
 
     @Suppress("UnsafeCastFromDynamic")
     internal fun setResizeEvent(component: Component, callback: () -> Unit) {
-        if (!isIE11()) {
-            component.getElement()?.let {
-                elementResizeEvent(it, callback)
-            }
+        component.getElement()?.let {
+            elementResizeEvent(it, callback)
         }
     }
 
     @Suppress("UnsafeCastFromDynamic")
     internal fun clearResizeEvent(component: Component) {
-        if (!isIE11()) {
-            if (component.getElement()?.asDynamic()?.__resizeTrigger__?.contentDocument != null) {
-                component.getElement()?.let {
-                    elementResizeEvent.unbind(it)
-                }
+        if (component.getElement()?.asDynamic()?.__resizeTrigger__?.contentDocument != null) {
+            component.getElement()?.let {
+                elementResizeEvent.unbind(it)
             }
         }
     }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoTab.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoTab.kt
index 2844f99..d70cb06 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoTab.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoTab.kt
@@ -24,7 +24,6 @@ package org.apache.isis.client.kroviz.ui.kv.override
  * * recreate svg from LogEntry on focus
  */
 
-import com.github.snabbdom.VNode
 import io.kvision.core.Component
 import io.kvision.core.ResString
 import io.kvision.core.onClick
@@ -34,6 +33,7 @@ import io.kvision.html.TAG
 import io.kvision.html.Tag
 import io.kvision.panel.TabPanel
 import io.kvision.routing.RoutingManager
+import io.kvision.snabbdom.VNode
 import io.kvision.utils.obj
 import org.apache.isis.client.kroviz.utils.DomUtil
 import org.apache.isis.client.kroviz.utils.ScalableVectorGraphic
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoTabPanel.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoTabPanel.kt
index 39f8338..57ba297 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoTabPanel.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoTabPanel.kt
@@ -23,7 +23,7 @@ package org.apache.isis.client.kroviz.ui.kv.override
  * * add IconMenu to (Ro)Tab
  */
 
-import com.github.snabbdom.VNode
+import io.kvision.snabbdom.VNode
 import io.kvision.core.*
 import io.kvision.panel.SimplePanel
 import io.kvision.panel.VPanel
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoWindow.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoWindow.kt
index fcacd13..50c5663 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoWindow.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/override/RoWindow.kt
@@ -23,16 +23,17 @@ package org.apache.isis.client.kroviz.ui.kv.override
 * add a dd menu to the icon
 * */
 
-import com.github.snabbdom.VNode
 import io.kvision.core.*
 import io.kvision.dropdown.DropDown
 import io.kvision.html.*
 import io.kvision.modal.CloseIcon
 import io.kvision.panel.SimplePanel
+import io.kvision.snabbdom.VNode
 import io.kvision.utils.obj
 import io.kvision.utils.px
 import io.kvision.window.MaximizeIcon
 import io.kvision.window.MinimizeIcon
+import kotlinx.browser.window
 import org.w3c.dom.events.Event
 import org.w3c.dom.events.MouseEvent
 import io.kvision.html.Link as KvisionHtmlLink
@@ -324,15 +325,15 @@ open class RoWindow(
                                 this@RoWindow.top = (dragStartY + (me).pageY - dragMouseY).toInt().px
                             }
                         }
-                        kotlinx.browser.window.addEventListener("mousemove", moveCallback)
+                        window.addEventListener("mousemove", moveCallback)
                         var upCallback: ((Event) -> Unit)? = null
                         upCallback = {
                             isDrag = false
                             setOpacity("1.0")
-                            kotlinx.browser.window.removeEventListener("mousemove", moveCallback)
-                            kotlinx.browser.window.removeEventListener("mouseup", upCallback)
+                            window.removeEventListener("mousemove", moveCallback)
+                            window.removeEventListener("mouseup", upCallback)
                         }
-                        kotlinx.browser.window.addEventListener("mouseup", upCallback)
+                        window.addEventListener("mouseup", upCallback)
                     }
                 }
             }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt
new file mode 100644
index 0000000..c977efd
--- /dev/null
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt
@@ -0,0 +1,59 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+package org.apache.isis.client.kroviz.ui.panel
+
+import io.kvision.chart.*
+import io.kvision.core.Col
+import io.kvision.core.Color
+import io.kvision.panel.SimplePanel
+import io.kvision.utils.pc
+import io.kvision.utils.px
+import org.apache.isis.client.kroviz.ui.chart.EventBubbleChartModel
+
+//IMPROVE https://github.com/datavisyn/chartjs-chart-box-and-violin-plot
+class EventBubbleChart(model: EventBubbleChartModel) : SimplePanel() {
+
+    init {
+        this.marginTop = 10.px
+        this.width = 100.pc
+        chart(
+            Configuration(
+                ChartType.SCATTER,
+                listOf(
+                    DataSets(
+                        pointBorderColor = listOf(Color.name(Col.RED)),
+                        backgroundColor = listOf(Color.name(Col.LIGHTGREEN)),
+/*                        data = (-60..60).map {
+                            obj {
+                                x = it.toDouble() / 10
+                                y = kotlin.math.sin(it.toDouble() / 10)
+                            }
+                        } */
+                        data = model.dataList
+                    )
+                ),
+                options = ChartOptions(
+                    //   plugins = PluginsOptions(legend = LegendOptions(display = false)),
+                    //   showLine = true
+                )
+            )
+        )
+    }
+
+}
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventChart.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventChart.kt
index 2865a9a..bb05948 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventChart.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventChart.kt
@@ -52,7 +52,7 @@ class EventChart(model: ChartModel) : SimplePanel() {
 //            callback = js(tickFormatter)
         }
     })
-
+/*
     private val options = ChartOptions(
             tooltips = TooltipOptions(enabled = true),
             hover = HoverOptions(animationDuration = 0),
@@ -62,7 +62,7 @@ class EventChart(model: ChartModel) : SimplePanel() {
                     xAxes = xAxes),
             showLines = true,
             title = TitleOptions(display = true))
-
+*/
     init {
         this.marginTop = 10.px
         this.width = 100.pc
@@ -71,7 +71,7 @@ class EventChart(model: ChartModel) : SimplePanel() {
                         type = ChartType.BAR,
                         dataSets = model.datasetList,
                         labels = model.labelList,
-                        options = options
+//                        options = options
                 ),
                 chartHeight = 1000,
                 chartWidth = 3000
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/GeoMap.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/GeoMap.kt
index d95e174..19cd766 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/GeoMap.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/GeoMap.kt
@@ -18,17 +18,17 @@
  */
 package org.apache.isis.client.kroviz.ui.panel
 
-import org.apache.isis.client.kroviz.ui.core.Constants
-import org.apache.isis.client.kroviz.utils.IconManager
 import io.kvision.core.CssSize
 import io.kvision.core.UNIT
 import io.kvision.html.Button
 import io.kvision.html.ButtonStyle
-import io.kvision.maps.LatLng
+import io.kvision.maps.Maps
 import io.kvision.maps.maps
 import io.kvision.panel.HPanel
 import io.kvision.utils.pc
+import org.apache.isis.client.kroviz.ui.core.Constants
 import org.apache.isis.client.kroviz.ui.core.ViewManager
+import org.apache.isis.client.kroviz.utils.IconManager
 
 /**
  * Sample to be called from RoMenuBar
@@ -42,27 +42,25 @@ class GeoMap : HPanel() {
         }
 
         val home = LatLng(53.65425, 10.1545)
-        m.addMarker(home, "Home")
+        m.addMarker(s = "Home")
 
         val office = LatLng(53.5403735, 10.0008355)
-        m.addMarker(office, "Work<br><a href='https://en.wikipedia.org/wiki/Kuehne_%2B_Nagel'>KN</a>")
-
-        val reha = LatLng(53.6824359, 10.7661037)
-        m.addMarker(reha)
+        m.addMarker(s = "Work<br><a href='https://en.wikipedia.org/wiki/Kuehne_%2B_Nagel'>KN</a>")
 
         ViewManager.getRoIconBar().add(createLocationIcon())
 
         setDropTargetData(Constants.stdMimeType) { id ->
             val mrk = parseMarker(id!!)
-            if (mrk != null) m.addMarker(mrk.latLng, mrk.title)
+            if (mrk != null) m.addMarker(/*mrk.latLng,*/ s = mrk.title)
         }
     }
 
     private fun createLocationIcon(): Button {
         val loc = Button(
-                text = "",
-                icon = IconManager.find("Location"),
-                style = ButtonStyle.LIGHT).apply {
+            text = "",
+            icon = IconManager.find("Location"),
+            style = ButtonStyle.LIGHT
+        ).apply {
             padding = CssSize(-16, UNIT.px)
             margin = CssSize(0, UNIT.px)
             title = "Drag icon to map"
@@ -77,12 +75,22 @@ class GeoMap : HPanel() {
         return if (raw.isNotEmpty()) {
             val lat = raw[0].toDouble()
             val lng = raw[1].toDouble()
+//TODO implement extension function  and adopt new version of kvision.maps
             val latLng = LatLng(lat, lng)
             val title = if (raw.size >= 2) raw[2] else "no title set"
-            Marker(latLng, title)
+            Marker(title)
         } else null
     }
 
-    class Marker(val latLng: LatLng, val title: String)
+    private fun LatLng(lat: Double, lng: Double): Any {
+        return { }
+    }
+}
+
+private fun Maps.addMarker(latLang: Any? = null, s: String) {
 
 }
+
+class Marker(val title: String)
+
+
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/SvgMap.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/SvgMap.kt
index e264638..6e27331 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/SvgMap.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/SvgMap.kt
@@ -418,7 +418,7 @@ Country: US
 """
 
     init {
-        val map = maps(0, 0, 11, baseLayerProvider = BaseLayerProvider.EMPTY, crs = CRS.Simple) {
+        val map = maps(0, 0, 11, baseLayerProvider = BaseLayerProvider.EMPTY) {
             width = 100.pc
             height = 100.pc
         }
@@ -426,12 +426,13 @@ Country: US
         val svg = ScalableVectorGraphic(str)
         svg.scaleHorizontally()
         val svgDoc = svg.document
-        val svgElement = svgDoc.documentElement!!
+        val svgElement = svgDoc.documentElement
 
-        val bounds = LatLngBounds(
-                LatLng(0, 0),
-                LatLng(0.1, 0.1))
-        map.svgOverlay(svgElement, bounds)
-    }
+//TODO implement extension function  and adopt new version of kvsion.maps
+/*        val bounds = LatLngBounds(
+            LatLng(0, 0),
+            LatLng(0.1, 0.1))
+    map.svgOverlay(svgElement, bounds)*/
+}
 
 }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/SvgPanel.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/SvgPanel.kt
index dd5564c..3c383ef 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/SvgPanel.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/SvgPanel.kt
@@ -19,13 +19,12 @@
 
 package org.apache.isis.client.kroviz.ui.panel
 
-import org.apache.isis.client.kroviz.utils.ScalableVectorGraphic
-import io.kvision.maps.*
 import io.kvision.panel.HPanel
-import io.kvision.utils.pc
 
 class SvgPanel : HPanel() {
 
+    //TODO implement extension function  and adopt new version of kvsion.maps
+    /*
     val map: Maps = maps(0, 0, 11, baseLayerProvider = BaseLayerProvider.EMPTY, crs = CRS.Simple) {
         width = 100.pc
         height = 100.pc
@@ -48,3 +47,7 @@ class SvgPanel : HPanel() {
     }
 
 }
+
+private fun Maps.svgOverlay(svgElement: Element, bounds: Any) {*/
+
+}
diff --git a/incubator/clients/kroviz/src/main/web/index.html b/incubator/clients/kroviz/src/main/web/index.html
index b326627..1ccc6b4 100644
--- a/incubator/clients/kroviz/src/main/web/index.html
+++ b/incubator/clients/kroviz/src/main/web/index.html
@@ -8,6 +8,8 @@
     <title>kroViz</title>
     <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/diff2html/bundles/css/diff2html.min.css" />
     <script type="text/javascript" src="main.bundle.js"></script>
+    <!-- https://github.com/rjaros/kvision/issues/325 -->
+    <script src="https://cdn.jsdelivr.net/npm/luxon/build/global/luxon.min.js"></script>
 </head>
 <body>
 <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor