I have a component that extends Legend. It sets up the
LegendItem(s) at run time. The first time I show the Legend it is
vertical even though the direction is set to horizontal. The second
time I show it the direction is correct. Any ideas what I can call
to get this thing to setup correctly the first time? I have
attached the code as is.