drawing charts works