DataPlotly icon indicating copy to clipboard operation
DataPlotly copied to clipboard

Using formulas for legend not working

Open rbonnefoi opened this issue 1 year ago • 0 comments

Describe the bug Dear all,

I am a new user of DataPlotly plugin, which fits to my needs. Thanks for the work.

But I still have a problem in legending subsets : whatever the formula is entered, it always uses the static text writen into the "Legend title" of the plot setup tab.

This is as if the formula was never taken into account. [edit] Except when the formula uses a "static" text, for instance 'test' (without any variable)

Any help / bug correction will be greatly appreciated.

Many thanks.

Remi.

To Reproduce Input any formula for the legend title field

Screenshots As you can see on this screenshot, I set up a formula for the legend title field image

In the formula editor, I can check on the lower left corner that the formula is valid, as the preview displays what I expect image

But once the plot created, the legend still displays the "hard static" legend. image

Desktop (please complete the following information):

  • OS: W11
  • QGIS release: 3.26.1
  • DataPlotly release: 3.9

rbonnefoi avatar Jul 28 '22 12:07 rbonnefoi