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/03/27 19:28:12 UTC
[isis] 01/03: ISIS-2957 map renamed
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 24bb0e875ee67c1dffa397df0f7e1e2c54875cd7
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Sun Mar 27 10:10:26 2022 +0200
ISIS-2957 map renamed
---
.../kotlin/org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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
index 3da4281..2bd64b2 100644
--- 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
@@ -74,7 +74,7 @@ class EventBubbleChart : SimplePanel() {
fun buildLegend(): LegendOptions {
fun buildLegendLabelList(): Array<LegendItem> {
val legendLabelList = mutableListOf<LegendItem>()
- color2Label.forEach {
+ label2color.forEach {
val li = obj {
text = it.key
fillStyle = it.value
@@ -227,7 +227,7 @@ class EventBubbleChart : SimplePanel() {
val RED_VIOLET = Color.rgba(0xA0, 0x5A, 0x78, 0x80)
val VIOLET = Color.rgba(0x80, 0x64, 0xA2, 0x80)
- val color2Label = mapOf(
+ val label2color = mapOf(
"0 .. 4" to LIGHT_BLUE,
"5 .. 8" to DARK_BLUE,
"9 .. 16" to GREEN,