Browse Source

还原

final/10.0
shine 4 years ago
parent
commit
0d34144942
  1. 7
      designer-chart/src/main/java/com/fr/design/chartx/data/map/MapChartDataPane.java

7
designer-chart/src/main/java/com/fr/design/chartx/data/map/MapChartDataPane.java

@ -10,6 +10,7 @@ import com.fr.design.chartx.fields.diff.PointMapCellDataFieldsPane;
import com.fr.design.chartx.fields.diff.PointMapDataSetFieldsPane;
import com.fr.design.chartx.single.SingleDataPane;
import com.fr.design.gui.frpane.AttributeChangeListener;
import com.fr.plugin.chart.map.VanChartMapPlot;
import com.fr.plugin.chart.type.MapType;
import com.fr.van.chart.map.designer.VanMapAreaPointAndLineGroupPane;
@ -32,7 +33,11 @@ public class MapChartDataPane extends AbstractChartDataPane<MapChartDataDefiniti
@Override
protected JPanel createContentPane() {
MapType mapType = MapType.CUSTOM;
MapType mapType = MapType.AREA;
if (this.getVanChart() != null) {
VanChartMapPlot mapPlot = this.getVanChart().getPlot();
mapType = mapPlot == null ? mapType : mapPlot.getMapType();
}
AreaMapDataSetFieldsPane areaMapDataSetFieldsPane;
PointMapDataSetFieldsPane pointMapDataSetFieldsPane;

Loading…
Cancel
Save