Package gov.nasa.arc.mct.fastplot.bridge

Examples of gov.nasa.arc.mct.fastplot.bridge.PlotView.addDataSet()


    if (oldPlot!=null && oldPlot.subPlots.size() == numberOfSubPlots) {
      for (String dataSetName: oldPlot.dataSetNameToSubGroupMap.keySet()) {
        String nameLower = dataSetName.toLowerCase();
        for(AbstractPlottingPackage plot : oldPlot.dataSetNameToSubGroupMap.get(dataSetName)) {
          int indexInOldPlot = oldPlot.subPlots.indexOf(plot);
          thePlot.addDataSet(indexInOldPlot, dataSetName, oldPlot.dataSetNameToDisplayMap.get(nameLower))
        }
      }
    }
    return thePlot;
  }
View Full Code Here


            id = independent + PlotConstants.NON_TIME_FEED_SEPARATOR + id;
          }
          if (count < PlotConstants.MAX_NUMBER_OF_DATA_ITEMS_ON_A_PLOT) {
            AbstractComponent comp = components.get(fp);
            AbstractLegendEntry legendEntry = (AbstractLegendEntry) LegendEntryView.VIEW_INFO.createView(comp);
            plot.addDataSet(0, id, legendEntry);
            count++;
          }
        }
      }
    } else {
View Full Code Here

      for (Collection<FeedProvider> feedsForSubPlot : feedsToPlot) {
        assert feedsForSubPlot != null;
        int numberOfItemsOnSubPlot = 0;
        for (FeedProvider fp : feedsForSubPlot) {
          if (numberOfItemsOnSubPlot < PlotConstants.MAX_NUMBER_OF_DATA_ITEMS_ON_A_PLOT) {
            plot.addDataSet(subPlotNumber, fp.getSubscriptionId(),
                fp.getLegendText());
            numberOfItemsOnSubPlot++;
          }
        }
        subPlotNumber++;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.