Book a Demo

Author Topic: Auto coloring with diagram legends  (Read 6106 times)

Nivasio

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Auto coloring with diagram legends
« on: January 30, 2016, 02:57:43 am »
Hi everybody,
I am trying to use the "Auto coloring with diagram legends" feature for an activity diagram.
I have added a tagged value (type checklist) to an action and I want the Action in the diagram changing Color in case being the checklist complete.
It seems not to work by using "Complete"/"Incomplete" as values in the legend Settings.
It was possible only to change colors by using numeric values for the checklist items.
Something like
  • green -> 1,1
  • red -> 0,0
  • red -> 0,1
  • red -> 1,0
for a tag value of type checklist with two values.
For a "Complete" checklist I get the action green, red otherwise. The problem is that the legend with the numric values above is not making sense ...

Where's my error? Any alternative way?

Regards.

Peter Kelley

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Auto coloring with diagram legends
« Reply #1 on: November 28, 2018, 11:52:30 am »
Hi everybody,
I am trying to use the "Auto coloring with diagram legends" feature for an activity diagram.
I have added a tagged value (type checklist) to an action and I want the Action in the diagram changing Color in case being the checklist complete.
It seems not to work by using "Complete"/"Incomplete" as values in the legend Settings.
It was possible only to change colors by using numeric values for the checklist items.
Something like
  • green -> 1,1
  • red -> 0,0
  • red -> 0,1
  • red -> 1,0
for a tag value of type checklist with two values.
For a "Complete" checklist I get the action green, red otherwise. The problem is that the legend with the numric values above is not making sense ...

Where's my error? Any alternative way?

Regards.

I am interested in more detail on this, how did you do it exactly? Was numerical evaluation turned on?

In answer to your question create a second dummy legend with the values you want and place it over the top of the first one thus hiding the confusing information.
Peter Kelley

Takeshi K

  • EA User
  • **
  • Posts: 632
  • Karma: +43/-1
    • View Profile
    • Sparx Systems Japan
Re: Auto coloring with diagram legends
« Reply #2 on: November 28, 2018, 01:56:44 pm »
Hello all,

I tried as Nivasio wrote, and it works fine i.e. 'Comprete' (stored value is '1,1') is shown as green and otherwise red.

If you check the 'Use numeric evaluation' checkbox, turn off(clear) the checkbox.

Hope this helps,
--
t-kouno