|
|
@ -17,6 +17,7 @@ import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.mainframe.chart.ChartEditPane; |
|
|
|
import com.fr.design.mainframe.chart.ChartEditPane; |
|
|
|
import com.fr.design.mainframe.chart.ChartHyperEditPane; |
|
|
|
import com.fr.design.mainframe.chart.ChartHyperEditPane; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
|
|
|
|
import com.fr.general.FRLogger; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.Inter; |
|
|
|
|
|
|
|
|
|
|
|
import java.awt.*; |
|
|
|
import java.awt.*; |
|
|
@ -47,7 +48,12 @@ public class ChartHyperPoplinkPane extends BasicBeanPane<ChartHyperPoplink> { |
|
|
|
|
|
|
|
|
|
|
|
Chart chart = ChartTypeManager.getFirstChart(); |
|
|
|
Chart chart = ChartTypeManager.getFirstChart(); |
|
|
|
if (chart != null){ |
|
|
|
if (chart != null){ |
|
|
|
cc.addChart(chart); |
|
|
|
try { |
|
|
|
|
|
|
|
cc.addChart((Chart)chart.clone()); |
|
|
|
|
|
|
|
} catch (CloneNotSupportedException e) { |
|
|
|
|
|
|
|
FRLogger.getLogger().error(e.getMessage(), e); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}else { |
|
|
|
}else { |
|
|
|
cc.addChart(new Chart(new Bar2DPlot())); |
|
|
|
cc.addChart(new Chart(new Bar2DPlot())); |
|
|
|
} |
|
|
|
} |
|
|
|