fix the bug in non-binned xyplot