|
|
@ -46,8 +46,8 @@ public class MeterPlotReportDataContentPane extends AbstractReportDataContentPan |
|
|
|
double[] rowSize = { p, p, p}; |
|
|
|
double[] rowSize = { p, p, p}; |
|
|
|
|
|
|
|
|
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
new Component[]{new UILabel(CATENAME), getSingCatePane()}, |
|
|
|
new Component[]{new UILabel(getCateName()), getSingCatePane()}, |
|
|
|
new Component[]{new UILabel(NVALUE), singValuePane = new TinyFormulaPane()}, |
|
|
|
new Component[]{new UILabel(getNValue()), singValuePane = new TinyFormulaPane()}, |
|
|
|
new Component[]{null, null} |
|
|
|
new Component[]{null, null} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -67,6 +67,14 @@ public class MeterPlotReportDataContentPane extends AbstractReportDataContentPan |
|
|
|
this.add(pane, BorderLayout.CENTER); |
|
|
|
this.add(pane, BorderLayout.CENTER); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected String getCateName() { |
|
|
|
|
|
|
|
return CATENAME; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected String getNValue() { |
|
|
|
|
|
|
|
return NVALUE; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void populateBean(ChartCollection collection) { |
|
|
|
public void populateBean(ChartCollection collection) { |
|
|
|
TopDefinitionProvider definition = collection.getSelectedChart().getFilterDefinition(); |
|
|
|
TopDefinitionProvider definition = collection.getSelectedChart().getFilterDefinition(); |
|
|
|
if(definition instanceof MeterReportDefinition) { |
|
|
|
if(definition instanceof MeterReportDefinition) { |
|
|
|