DataPlotly icon indicating copy to clipboard operation
DataPlotly copied to clipboard

Use symbol_color variable for legend

Open jvdkwast opened this issue 4 years ago • 5 comments

Nyall Dawson showed in his demo on YouTube today that you can use the styling colours of a layer for label font colours by using @symbol_color as a variable. I wonder if it would be possible to implement that for the colours of DataPlotly legends.

It's mentioned here in the video (50m07s)

jvdkwast avatar Jun 12 '20 20:06 jvdkwast

Can you give some more example of how this would be used? I'm struggling to understand the use case

nyalldawson avatar Sep 22 '20 22:09 nyalldawson

Here's a video about the use case: https://youtu.be/QbKmJ7Dg3o0

jvdkwast avatar Sep 24 '20 09:09 jvdkwast

Here's another video with another expression. https://youtu.be/pGnZdj4W8ew?t=235 n-n

ambarja avatar Sep 24 '20 13:09 ambarja

@nyalldawson : The usecase would be the synchronization of the symbology color and the associated color in the diagram.

chrisgraf avatar Jan 04 '22 18:01 chrisgraf

This feature will be very useful!

katagen avatar May 23 '22 20:05 katagen

done in https://github.com/ghtmtt/DataPlotly/pull/288

ghtmtt avatar Aug 21 '22 15:08 ghtmtt