fixbug draw chart realtime