PuffinPlot issue tracker

Bug: a88/821

ID : 82128828-6db3-4600-9746-2549919dd385
Short name : a88/821
Status : fixed
Severity : minor
Assigned :
Reporter : Pontus Lurcock <pont@talvi.net>
Creator : Pontus Lurcock <pont@talvi.net>
Created : Thu, 30 Jul 2009 03:38:05 +0000
Target : 1.0
Summary : Ensure ZplotLegend drawn after Zplot [99]

Comment: --------- Comment ---------
ID: d30fc75e-6070-4d88-84b4-80968c3daf40
Short name: a88/821/d30
From: Pontus Lurcock <pont@talvi.net>
Date: Thu, 30 Jul 2009 03:38:05 +0000

ZplotLegend needs to be drawn after its enclosing Zplot, since
it has to read the axis data. Currently this is dependent on
the iteration order of a HashMap, which happens to work on
OS X and Linux, but crashes on Windows!

Comment: --------- Comment ---------
ID: 6d43fa7f-6d69-46d8-9f64-91462412db3b
Short name: a88/821/6d4
From: Pontus Lurcock <pont@talvi.net>
Date: Thu, 30 Jul 2009 03:38:46 +0000

Simple fix: changed the plots HashMap to a LinkedHashMap which 
iterates in insertion order! Also robustified ZplotLegend to
fail more gracefully if axes == null.