prepare to use dictionary
use dictionary but canvas cannot draw chart