Skip to content

JSON Table Widget: Farbänderung der Werte via Schwellwert ist nur im Editor, nicht in Runtime sichtbar. #580

Closed
@DokoBlock

Description

@DokoBlock

Describe the bug
ich möchte in einer Tabelle Daten wiedergeben und die Daten aufgrund ihrer Inhalte farblich hervorheben.
Dazu bietet das Widget die Möglichkeit, wenn eine Spalte als "number" formatiert ist, einen Schwellwert-Formatierung zu hinterlegen, entweder direkt im Widget eingegeben oder aus einem Datenpunkt ausgelesen.
Die Darstellung im Editor sieht korrekt aus (Farben werden korrekt gewählt), bei der Darstellung dann später in der Runtime selbst (nicht mehr im Editor) sind die Farben nicht sichtbar.

To Reproduce
Steps to reproduce the behavior:

  1. create JSON with some numeric values
  2. show JSON in JSON widget of vis-inventwo
  3. set format of each table row to number
  4. create a datapoint that contains a JSOn structure with the Schwellenwerte
  5. colour of shown data should change according to Schwellwerte in editor
  6. when showing the table in the runtime, to colour is not chosen but remains default.

Expected behavior
the chosen colour Schwellwerte should also apply when data is shown in runtime

Screenshots & Logfiles
Widget Property:
Pic1

Editor Ansicht:
Pic2

Runtime Ansicht:
Pci3

Versions:

  • Adapter version: vis 1.4.16, vis-inventwo 3.3.3
  • JS-Controller version: 4.0.24
  • Node version: 18.17.0
  • Operating system: Linux Mint 20.3

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions