Package org.jfree.chart.axis

Examples of org.jfree.chart.axis.ValueAxis.draw()


        cursor = dataArea.getMaxY()
                 + this.axisOffset.calculateBottomOutset(dataArea.getHeight());
        iterator = axisCollection.getAxesAtBottom().iterator();
        while (iterator.hasNext()) {
            ValueAxis axis = (ValueAxis) iterator.next();
            AxisState info = axis.draw(g2, cursor, plotArea, dataArea,
                    RectangleEdge.BOTTOM, plotState);
            cursor = info.getCursor();
            axisStateMap.put(axis, info);
        }
View Full Code Here


        cursor = dataArea.getMinX()
                 - this.axisOffset.calculateLeftOutset(dataArea.getWidth());
        iterator = axisCollection.getAxesAtLeft().iterator();
        while (iterator.hasNext()) {
            ValueAxis axis = (ValueAxis) iterator.next();
            AxisState info = axis.draw(g2, cursor, plotArea, dataArea,
                    RectangleEdge.LEFT, plotState);
            cursor = info.getCursor();
            axisStateMap.put(axis, info);
        }
View Full Code Here

        cursor = dataArea.getMaxX()
                 + this.axisOffset.calculateRightOutset(dataArea.getWidth());
        iterator = axisCollection.getAxesAtRight().iterator();
        while (iterator.hasNext()) {
            ValueAxis axis = (ValueAxis) iterator.next();
            AxisState info = axis.draw(g2, cursor, plotArea, dataArea,
                    RectangleEdge.RIGHT, plotState);
            cursor = info.getCursor();
            axisStateMap.put(axis, info);
        }
View Full Code Here

        // draw the shared axis
        ValueAxis axis = getDomainAxis();
        RectangleEdge edge = getDomainAxisEdge();
        double cursor = RectangleEdge.coordinate(dataArea, edge);
        AxisState axisState = axis.draw(g2, cursor, area, dataArea, edge, info);
        if (parentState == null) {
            parentState = new PlotState();
        }
        parentState.getSharedAxisStates().put(axis, axisState);
View Full Code Here

      while (iterator.hasNext())
      {
         ValueAxis axis = (ValueAxis) iterator.next();

         AxisState info = axis.draw(g2, cursor, plotArea, dataArea,
                 RectangleEdge.TOP, plotState);

         cursor = info.getCursor();
         axisStateMap.put(axis, info);
      }
View Full Code Here

      while (iterator.hasNext())
      {
         ValueAxis axis = (ValueAxis) iterator.next();

         AxisState info = axis.draw(g2, cursor, plotArea, dataArea,
                 RectangleEdge.BOTTOM, plotState);

         cursor = info.getCursor();
         axisStateMap.put(axis, info);
      }
View Full Code Here

      while (iterator.hasNext())
      {
         ValueAxis axis = (ValueAxis) iterator.next();

         AxisState info = axis.draw(g2, cursor, plotArea, dataArea,
                 RectangleEdge.LEFT, plotState);

         cursor = info.getCursor();
         axisStateMap.put(axis, info);
      }
View Full Code Here

      iterator = axisCollection.getAxesAtRight().iterator();

      while (iterator.hasNext())
      {
         ValueAxis axis = (ValueAxis) iterator.next();
         AxisState info = axis.draw(g2, cursor, plotArea, dataArea,
                 RectangleEdge.RIGHT, plotState);
         cursor = info.getCursor();
         axisStateMap.put(axis, info);
      }
View Full Code Here

     
      while (iterator.hasNext())
      {
         ValueAxis axis = (ValueAxis) iterator.next();
        
         AxisState info = axis.draw(g2, cursor, plotArea, dataArea,
                 RectangleEdge.TOP, plotState);
        
         cursor = info.getCursor();
         axisStateMap.put(axis, info);
      }
View Full Code Here

     
      while (iterator.hasNext())
      {
         ValueAxis axis = (ValueAxis) iterator.next();
        
         AxisState info = axis.draw(
                 g2,
                 cursor,
                 plotArea,
                 dataArea,
                 RectangleEdge.BOTTOM,
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.