DataPlotly
DataPlotly copied to clipboard
Marker color cannot be set using value from field
It is not possible to use a numerical field and a color scale from the dropdown to define the marker color. The marker color is instead set to a default value("#8ebad9"
), and the color scale in the plot stays empty.
See the attached GIF:
Confirm the issue. We will have a look at this ASAP. Thanks for reporting.
@ghtmtt
I think for this one we'll need to separate the data-defined color handling into two separate choices.
- Use native QGIS color ramps. This would allow use of things like the color ramp assistant and reuse of existing QGIS color ramps (of any format). Trade off is that we'd lose the ability to insert the color ramp legend into the plot.
or
- Use native plotly color ramps. This would allow use of the color ramp legend, but with the loss of the data defined color assistant option and only a choice of the included plotly color ramps.
Both approaches have strong points for and against, so I think we need to consider letting users choose which method they want. What do you think?
fixed in the newest version using the custom function. See https://twitter.com/hansakwast/status/1561795570880102402