@@ -111,6 +111,8 @@ public class ShowHistogramService {
//Y轴排序
if (sort.equals(yColumn)) {
sort = yAxisType + "(" + yColumn + ")";
+ } else {
+ sort = xColumn;
}
String fieldName = yAxisType
+ "(nvl(" + yColumn + ",0)) as value,"