Modify chart layout Fix #150, Fix #155.