public MeterPlot(ValueDataset dataset){
  super();
  this.shape=DialShape.CIRCLE;
  this.meterAngle=DEFAULT_METER_ANGLE;
  this.range=new Range(0.0,100.0);
  this.tickSize=10.0;
  this.tickPaint=Color.white;
  this.units="Units";
  this.needlePaint=MeterPlot.DEFAULT_NEEDLE_PAINT;
  this.tickLabelsVisible=true;
  this.tickLabelFont=MeterPlot.DEFAULT_LABEL_FONT;
  this.tickLabelPaint=Color.black;
  this.tickLabelFormat=NumberFormat.getInstance();
  this.valueFont=MeterPlot.DEFAULT_VALUE_FONT;
  this.valuePaint=MeterPlot.DEFAULT_VALUE_PAINT;
  this.dialBackgroundPaint=MeterPlot.DEFAULT_DIAL_BACKGROUND_PAINT;
  this.intervals=new java.util.ArrayList();
  setDataset(dataset);
}

public MeterPlot ( ValueDataset dataset ) { super ( ) ; this . shape = DialShape . CIRCLE ; this . meterAngle = DEFAULT_METER_ANGLE ; this . range = new Range ( 0.0 , 100.0 ) ; this . tickSize = 10.0 ; this . tickPaint = Color . white ; this . units = "Units" ; this . needlePaint = MeterPlot . DEFAULT_NEEDLE_PAINT ; this . tickLabelsVisible = true ; this . tickLabelFont = MeterPlot . DEFAULT_LABEL_FONT ; this . tickLabelPaint = Color . black ; this . tickLabelFormat = NumberFormat . getInstance ( ) ; this . valueFont = MeterPlot . DEFAULT_VALUE_FONT ; this . valuePaint = MeterPlot . DEFAULT_VALUE_PAINT ; this . dialBackgroundPaint = MeterPlot . DEFAULT_DIAL_BACKGROUND_PAINT ; this . intervals = new java . util . ArrayList ( ) ; setDataset ( dataset ) ; }
creates a new plot that displays the value from the supplied dataset .
