Book a Demo

Author Topic: Auto color Legend Apply to element  (Read 7375 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Auto color Legend Apply to element
« on: May 29, 2023, 07:19:49 am »
Using a Legend on a diagramm
With Apply auto color selected,
for a specific element
I can choose fill color; line color; line width; (but not text attributes such as colour, size, or font style)


Unexpectedly, the Apply Line, Apply Fill; Apply width do not apply to the specific element, they apply to all elements.


Am I missing something?


I want to apply fill colour only to some elements, and line colour only to other elements using the same Legend.
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Auto color Legend Apply to element
« Reply #1 on: May 29, 2023, 07:57:14 am »
Yes. Those settings are legend wide. You can make the whole legend only apply the Fill Color, but you can't make the fill color apply to some elements only.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Auto color Legend Apply to element
« Reply #2 on: May 29, 2023, 08:10:40 am »
Yes. Those settings are legend wide. You can make the whole legend only apply the Fill Color, but you can't make the fill color apply to some elements only.
Hi Skiwi,
As Eve says, for each legend, the settings are diagram wide.  So we use multiple legends.  From memory, I think one of our diagrams has three legends.  You just have to make sure the settings don't overlap and are, therefore, "at war".

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Auto color Legend Apply to element
« Reply #3 on: May 29, 2023, 10:10:22 am »
What do yous (this is a really useful word the english language needs) think about a feature request for this.
a) its really clumsy to have multiple legends.
b) it could easily be done with one legend
c) the existing dialogue is confusing/inconsistent, one one pane it has both legend wide and element specific settings side by side. I'd suggest it is a bug rather than a feature.
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Auto color Legend Apply to element
« Reply #4 on: May 29, 2023, 10:17:21 am »
What do yous (this is a really useful word the English language needs) think about a feature request for this.
a) it's really clumsy to have multiple legends.
b) it could easily be done with one legend
c) the existing dialogue is confusing/inconsistent; one pane has both legend-wide and element-specific settings side by side. I'd suggest it is a bug rather than a feature.
"You might well think that I couldn't possibly say that."

Well, Legends could certainly do with a revisit with input from how users actually use them as opposed to how the designers envisaged them using it.

Paolo

[I agree on the value of youse (as I believe it's spelt here in OZ - as evinced by multiple Rugby League players and the inimitable Jeff ("I love youse all") Fenech!)]
Edit: The dictionary spells it "youse"!
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Auto color Legend Apply to element
« Reply #5 on: May 30, 2023, 06:56:31 pm »
Using a Legend on a diagramm
With Apply auto color selected,
for a specific element
I can choose fill color; line color; line width; (but not text attributes such as colour, size, or font style)


Unexpectedly, the Apply Line, Apply Fill; Apply width do not apply to the specific element, they apply to all elements.


Am I missing something?


I want to apply fill colour only to some elements, and line colour only to other elements using the same Legend.
You should be able to give different fill colours to elements of the same (base) type (using the "Applies to:" property); you could give a class or a component different fill colours depending on the phase, version, or stereotype (using the "Filter:" and "Value". For example, we are setting the fill colour to blueish if the phase is equal to 0.0, orange if phase is equal 0.1, greenish if phase is equal 1.0, and grey if phase is equal to 2.0.

If you want to do this with elements of a different type or with connectors, you indeed need to use multiple legends and, as Paolo indicated, you have to avoid collisions, nasty collisions.

I agree the legends can be vastly improved.