- Add legendPosition option (right, left, bottom, none) to control legend placement
- Add showFooter option to show/hide footer info
- Support both config (YAML) and render options for flexibility
- Fix legend overlapping issue when positioned at bottom
- Maintain backward compatibility with showLegend option