xdemo.xdata chart ui optimization