ghtmtt / DataPlotly

D3 like plots creation with plotly in QGIS
GNU General Public License v2.0
192 stars 51 forks source link

Customization for BarPlot chart #286

Open MicTric91 opened 2 years ago

MicTric91 commented 2 years ago

It would be cool to customize the bars in BarPlot chart to render them as "vertical lines" instead of narrow rectangles (eg. a line starting from x,y=0 and ending at the data x,y='20'), coupling this with a line connecting each point of the data.

Only for visualization purposes

ghtmtt commented 2 years ago

you mean something like that?

image

MicTric91 commented 2 years ago

Thank you for the quick response. The example you provided shows the second statement of my issue. The key part I am proposing is:

  1. make the background grid fully transparent
  2. generate vertical lines for each point from x=0 to the point itself. Conceptually, It would be cool to customize the bars in BarPlot to render them not as rectangular polygons but as vertical lines (changing colors, width etc.)