public void area(String srcName,Paint color,String legend,boolean stack){
  if (legend != null) {
    comments.add(new LegendText(color,legend));
  }
  SourcedPlotElement parent=stack ? findParent() : null;
  plotElements.add(new Area(srcName,color,parent));
}

public void area ( String srcName , Paint color , String legend , boolean stack ) { if ( legend != null ) { comments . add ( new LegendText ( color , legend ) ) ; } SourcedPlotElement parent = stack ? findParent ( ) : null ; plotElements . add ( new Area ( srcName , color , parent ) ) ; }
plots requested data in the form of the filled area starting from zero , using the color specified .
