added Legend component.  added new layout.  chart.render() now rerenders size and bg color