Page MenuHomePhabricator

QmitkChart widget should support ID or allow control over labels
Open, NormalPublic


Currently the labels in the chart widgets have two problematic aspects:

  1. They are used as UIDs but this must not hold true in all cases
  2. Because the should be unique ther are automatically altered in the chart widget and the user has no control over the new/label or id. Therefore e.g. removing such a chart becomes very tideous.

We should over at least more control. So either the caller should be able to receive the altered label when adding a chart. Or (what I still deem better, had already a discussion with Tobi Stein once) we should not allow to add a new chart with the same ID.
In this context I also would introduce a ID and label, where label is optional and the human readable "name" of the chart in a plot legend. ID is used to identifiy the chart when interacting with the chart widget.

Event Timeline

floca triaged this task as Normal priority.Apr 1 2020, 10:04 PM
floca created this task.
kislinsk moved this task from Backlog to Statistics on the MITK (2020) board.Apr 2 2020, 2:52 PM
floca edited projects, added Next Milestone; removed MITK (2020).Thu, Sep 10, 4:25 PM