Opened 10 years ago

Closed 10 years ago

#457 closed enhancement (fixed)

Add solid bar option to PlotLineType

Reported by: Kevin Milner Owned by:
Priority: major Milestone: OpenSHA 1.4
Component: commons Version:
Keywords: Cc:


Currently all lines in our plots have thickness that is constant at all zoom levels. It would be nice to be able to draw lines whose thickness is specified in y units and scales relative to the zoom level. This also allows for bars to be drawn, which will be useful in tornado diagrams.

Attachments (1)

bar_demo.png (14.4 KB) - added by Kevin Milner 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Kevin Milner

Attachment: bar_demo.png added

comment:1 Changed 10 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

Done in [10653]. See example below. Note that non flat lines will appear skewed if the aspect ratio is not 1:1. Also, multi segment lines will have gaps at each segment.

Note: See TracTickets for help on using tickets.