use MicroEvent to implment auto update chart