base class for drawing charts
first implementation of animated chart: trend chart of last 8 days