Examples of drawPlotInLegend()


Examples of org.jamesii.gui.visualization.chart.plot.IPlot.drawPlotInLegend()

                    + BORDER);

            for (int i = 0; i < chartModel.getSeriesCount(); i++) {
              IPlot plot = getPlotForSeries(chartModel.getSeries(i));
              String name = chartModel.getSeriesName(chartModel.getSeries(i));
              plot.drawPlotInLegend((Graphics2D) gBuffer, x, y
                  - gBuffer.getFontMetrics().getAscent(), TWOBORDERS, gBuffer
                  .getFontMetrics().getAscent());

              gBuffer.setColor(Color.darkGray);
              gBuffer.drawString(name, x + 12, y);
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.