Package gov.nasa.arc.mct.fastplot.view.legend

Examples of gov.nasa.arc.mct.fastplot.view.legend.AbstractLegendEntry


          } else {
            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++;
          }
        }
      }
View Full Code Here


      for (int subPlotIndex = 0; subPlotIndex < lineSettings.size() && subPlotIndex < subPlots.size(); subPlotIndex++) {
        AbstractPlottingPackage plot = subPlots.get(subPlotIndex);     
        for (Entry<String, LineSettings> entry : lineSettings.get(subPlotIndex).entrySet()) {
          AbstractPlotDataSeries series = plot.getPlotDataManager().getNamedDataSeries(entry.getKey());
          if (series != null) {
            AbstractLegendEntry legendEntry = series.getLegendEntry();
            if (legendEntry instanceof LegendEntry) {
              ((LegendEntry) legendEntry).setLineSettings(entry.getValue());
            }
          }
        }
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.fastplot.view.legend.AbstractLegendEntry

Copyright © 2018 www.massapicom. 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.