Simplified everything by removing ChartOption and AbstractChart.