Пример #1
0
 private String getSymbol() {
   String result = ModelUtil.getElementSymbol(vis);
   if (result != null) return result;
   // We default to a rectangle if all the scales are categorical or binned, otherwise we return a
   // point
   boolean cat =
       allShowExtent(positionFields.allXFields) && allShowExtent(positionFields.allYFields);
   return cat ? "rect" : "point";
 }