Typehint the chart object