Start writing chart class