DataPlotly icon indicating copy to clipboard operation
DataPlotly copied to clipboard

"get_symbol_colors( )" function not working properly for Histogram

Open fakemonkeyking opened this issue 1 year ago • 6 comments

When creating Histogram plots, the "get_symbol_colors( )" to ask the chart to follow layer style would only return 1 colour legend and the remaining bars are shown black.

To Reproduce Steps to reproduce the behavior:

  1. Categorise a layer'sdata and apply styles to it (number in this case)
  2. Plot Histogram
  3. For Marker color, click Data Defined Override and click edit
  4. type "get_symbol_colors( )" or select it under Data Plotly

The chart only picks up one color and the rest are shown black

Screenshots This is the histogram with ""get_symbol_colors( )" applied to markers image This is the mapping style and category image

  • Windows
  • 3.28.4-Firenze
  • DataPlotly 4.0.3

fakemonkeyking avatar Jun 28 '23 07:06 fakemonkeyking

thanks for the reporting. Bug confirmed

ghtmtt avatar Jun 28 '23 15:06 ghtmtt

Also confirmed here 😖

katagen avatar Jun 28 '23 18:06 katagen

thanks for the reporting. Bug confirmed

Do you expect this fix to be included in the near future updates? Thanks for your work!

fakemonkeyking avatar Jul 17 '23 23:07 fakemonkeyking

Any news? It is very annoying! Thx

katagen avatar Sep 17 '23 17:09 katagen

Will try to work on this in the next weeks

ghtmtt avatar Sep 18 '23 05:09 ghtmtt

@ghtmtt I can confirm get_symbol_colors() sadly don't work in QGIS ver. 3.32.3 either. I cross my fingers you'll get the time to have a look at it.

9ls1 avatar Oct 22 '23 12:10 9ls1