This does not work yet.
Structure for chart component.
Merged changes.