Fix bug of chart upside down and left right reverse.
Signed-off-by: chen_x <chinimei@163.com>