DataPlotly icon indicating copy to clipboard operation
DataPlotly copied to clipboard

Line color uses the marker color

Open morfittron opened this issue 4 years ago • 4 comments

When plotting data in the scatter plot, not sure if it is the same for other plots, the line color uses the marker color instead of the stroke color.

Steps to reproduce the behavior:

  1. Plot any point data from layer already loaded in QGIS
  2. Select different colors for markers and strokes (make sure to use either lines or points and lines)
  3. Click "Create Plot"
  4. The resultant plot will have the selected colors reversed

OS: Windows 10 QGIS release 3.X (nightly and released behave the same)

  • DataPlotly release 3.6 (updated Apr 16, 2020)

It looks like the markers use the correct stroke color and marker color, but the lines use the same color as the markers. Either another color needs to be added for lines, or the stroke color should be used for the line color.

morfittron avatar Apr 28 '20 05:04 morfittron

So that's basically what you mean?

image

image

ghtmtt avatar May 08 '20 15:05 ghtmtt

Yes, that looks right.

Thanks, -Ron

On Fri, May 8, 2020, 10:14 AM Matteo Ghetta [email protected] wrote:

So that's basically what you mean?

[image: image] https://user-images.githubusercontent.com/2884884/81419836-32dcda80-914f-11ea-961a-90aefcec4696.png

[image: image] https://user-images.githubusercontent.com/2884884/81419858-40926000-914f-11ea-9fe0-f6f6f9d0026c.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ghtmtt/DataPlotly/issues/220#issuecomment-625864175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKZ56JA2RJ6HFPXWFCRZQZLRQQOTZANCNFSM4MSQHCJQ .

morfittron avatar May 08 '20 15:05 morfittron

plotly uses the same parameter for both line color and marker stroke line color. This implies a new parameter in the UI. Converting this issue to a feature request

ghtmtt avatar Apr 13 '22 08:04 ghtmtt

Interested too. I tried to make some graph with variable color (from calculating attributes and using expression wizard) and I only succeed in doing it from points (by adjusting their size so they touch one another) : profil Rossignol2 I'd prefer from lines but didn't worked. Thanks for all your efforts on this great tool !

VxTedxV avatar Aug 08 '23 13:08 VxTedxV