Examples of Axis


Examples of br.com.digilabs.jqplot.axis.Axis

     *
     * @return
     */
    public Axis createAxesDefaults() {
        if (axesDefaults == null) {
            axesDefaults = new Axis();
        }
        return axesDefaults;
    }
View Full Code Here

Examples of br.digilabs.jqplot.axis.Axis

        return newAxes.getYaxis();
    }

    public Axis createAxesDefaults() {
        if (axesDefaults == null) {
            axesDefaults = new Axis();
        }
        return axesDefaults;
    }
View Full Code Here

Examples of com.cedarsoftware.ncube.Axis

            }
            count++;
        }

        // Step 3. Compute cell area size
        Axis top = axes.remove(candidate);
        axes.add(0, top);   // Top element is now first.
        top = axes.remove(0);   // Grab 1st (candidate axis) one more time
        if (top.getType() == AxisType.RULE)
        {   // If top is a rule axis, place it last.  It is recognized that there could
            // be more than one rule axis, and there could also be a single rule axis, in
            // which this is a no-op.
            axes.add(top);
        }
View Full Code Here

Examples of com.googlecode.wickedcharts.highcharts.options.Axis

        Options options = new Options();
        options.setChartOptions(new ChartOptions().setType(SeriesType.COLUMN));
       
        options.setTitle(new Title("Summary"));
       
        options.setxAxis(new Axis().setCategories(titles));
        options.setyAxis(new Axis().setMin(min).setMax(max));
       
        options.setLegend(
                new Legend()
                    .setLayout(LegendLayout.VERTICAL)
                    .setBackgroundColor(new HexColor("#FFFFFF"))
View Full Code Here

Examples of com.positive.charts.axis.Axis

            domainEdge, space);
      }

      // reserve space for any domain axes...
      for (int i = 0; i < this.domainAxes.size(); i++) {
        final Axis xAxis = (Axis) this.domainAxes.get(i);
        if (xAxis != null) {
          final RectangleEdge edge = this.getDomainAxisEdge(i);
          space = xAxis.reserveSpace(g2, this, plotArea, edge, space);
        }
      }
    }

    return space;
View Full Code Here

Examples of com.positive.charts.axis.Axis

            RectangleEdge.RIGHT);
      }
    } else {
      // reserve space for the range axes (if any)...
      for (int i = 0; i < this.rangeAxes.size(); i++) {
        final Axis yAxis = (Axis) this.rangeAxes.get(i);
        if (yAxis != null) {
          final RectangleEdge edge = this.getRangeAxisEdge(i);
          space = yAxis.reserveSpace(g2, this, plotArea, edge, space);
        }
      }
    }
    return space;
View Full Code Here

Examples of com.positive.charts.axis.Axis

    // draw the top axes
    double cursor = RectangleUtil.getMinY(dataArea)
        - this.axisOffset.calculateTopOutset(dataArea.height);
    Iterator iterator = axisCollection.getAxesAtTop().iterator();
    while (iterator.hasNext()) {
      final Axis axis = (Axis) iterator.next();
      if (axis != null) {
        final AxisState axisState = axis.draw(g2, cursor, plotArea,
            dataArea, RectangleEdge.TOP, plotState);
        cursor = axisState.getCursor();
        axisStateMap.put(axis, axisState);
      }
    }

    // draw the bottom axes
    cursor = RectangleUtil.getMaxY(dataArea)
        + this.axisOffset.calculateBottomOutset(dataArea.height);
    iterator = axisCollection.getAxesAtBottom().iterator();
    while (iterator.hasNext()) {
      final Axis axis = (Axis) iterator.next();
      if (axis != null) {
        final AxisState axisState = axis.draw(g2, cursor, plotArea,
            dataArea, RectangleEdge.BOTTOM, plotState);
        cursor = axisState.getCursor();
        axisStateMap.put(axis, axisState);
      }
    }

    // draw the left axes
    cursor = RectangleUtil.getMinX(dataArea)
        - this.axisOffset.calculateLeftOutset(dataArea.width);
    iterator = axisCollection.getAxesAtLeft().iterator();
    while (iterator.hasNext()) {
      final Axis axis = (Axis) iterator.next();
      if (axis != null) {
        final AxisState axisState = axis.draw(g2, cursor, plotArea,
            dataArea, RectangleEdge.LEFT, plotState);
        cursor = axisState.getCursor();
        axisStateMap.put(axis, axisState);
      }
    }

    // draw the right axes
    cursor = RectangleUtil.getMaxX(dataArea)
        + this.axisOffset.calculateRightOutset(dataArea.width);
    iterator = axisCollection.getAxesAtRight().iterator();
    while (iterator.hasNext()) {
      final Axis axis = (Axis) iterator.next();
      if (axis != null) {
        final AxisState axisState = axis.draw(g2, cursor, plotArea,
            dataArea, RectangleEdge.RIGHT, plotState);
        cursor = axisState.getCursor();
        axisStateMap.put(axis, axisState);
      }
    }
View Full Code Here

Examples of com.positive.charts.axis.Axis

            RectangleEdge.BOTTOM);
      }
    } else {
      // reserve space for the domain axes...
      for (int i = 0; i < this.domainAxes.size(); i++) {
        final Axis axis = (Axis) this.domainAxes.get(i);
        if (axis != null) {
          final RectangleEdge edge = this.getDomainAxisEdge(i);
          space = axis.reserveSpace(gc, this, plotArea, edge, space);
        }
      }
    }

    return space;
View Full Code Here

Examples of com.positive.charts.axis.Axis

            RectangleEdge.RIGHT);
      }
    } else {
      // reserve space for the range axes...
      for (int i = 0; i < this.rangeAxes.size(); i++) {
        final Axis axis = (Axis) this.rangeAxes.get(i);
        if (axis != null) {
          final RectangleEdge edge = this.getRangeAxisEdge(i);
          space = axis.reserveSpace(gc, this, plotArea, edge, space);
        }
      }
    }
    return space;
View Full Code Here

Examples of crazypants.enderio.conduit.geom.Offsets.Axis

    connectorsDirty = false;

  }

  private boolean axisOfConnectionsEqual(Set<ForgeDirection> cons) {
    Axis axis = null;
    for (ForgeDirection dir : cons) {
      if(axis == null) {
        axis = Offsets.getAxisForDir(dir);
      } else {
        if(axis != Offsets.getAxisForDir(dir)) {
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.