xdemo.xdata fix chart resize bug