|
|
@ -2,11 +2,11 @@ package com.fr.van.chart.designer.component.richText; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.data.util.function.DataFunction; |
|
|
|
import com.fr.data.util.function.DataFunction; |
|
|
|
import com.fr.data.util.function.NoneFunction; |
|
|
|
|
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
import com.fr.design.gui.ibutton.UIToggleButton; |
|
|
|
import com.fr.design.gui.ibutton.UIToggleButton; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
|
|
|
|
import com.fr.plugin.chart.base.FirstFunction; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipDurationFormat; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipDurationFormat; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipFormat; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipFormat; |
|
|
|
import com.fr.plugin.chart.base.format.IntervalTimeFormat; |
|
|
|
import com.fr.plugin.chart.base.format.IntervalTimeFormat; |
|
|
@ -40,7 +40,7 @@ public class VanChartFieldButton extends JPanel { |
|
|
|
private UIToggleButton fieldButton; |
|
|
|
private UIToggleButton fieldButton; |
|
|
|
private UIButton addButton; |
|
|
|
private UIButton addButton; |
|
|
|
|
|
|
|
|
|
|
|
private DataFunction dataFunction = new NoneFunction(); |
|
|
|
private DataFunction dataFunction = new FirstFunction(); |
|
|
|
|
|
|
|
|
|
|
|
public VanChartFieldButton(String fieldName, AttrTooltipFormat format, VanChartFieldListener listener) { |
|
|
|
public VanChartFieldButton(String fieldName, AttrTooltipFormat format, VanChartFieldListener listener) { |
|
|
|
this(fieldName, format, false, false, listener); |
|
|
|
this(fieldName, format, false, false, listener); |
|
|
|