Examples of XYZDataset


Examples of org.jfree.data.xy.XYZDataset

        // get the data point...
        double x = dataset.getXValue(series, item);
        double y = dataset.getYValue(series, item);
        double z = Double.NaN;
        if (dataset instanceof XYZDataset) {
            XYZDataset xyzData = (XYZDataset) dataset;
            z = xyzData.getZValue(series, item);
        }
        if (!Double.isNaN(z)) {
            RectangleEdge domainAxisLocation = plot.getDomainAxisEdge();
            RectangleEdge rangeAxisLocation = plot.getRangeAxisEdge();
            double transX = domainAxis.valueToJava2D(x, dataArea,
View Full Code Here

Examples of org.jfree.data.xy.XYZDataset

        // get the data point...
        Number xn = dataset.getX(series, item);
        Number yn = dataset.getY(series, item);
        double z = Double.NaN;
        if (dataset instanceof XYZDataset) {
            XYZDataset xyzData = (XYZDataset) dataset;
            z = xyzData.getZValue(series, item);
        }
        if (!Double.isNaN(z)) {
            double x = xn.doubleValue();
            double y = yn.doubleValue();
View Full Code Here

Examples of org.jfree.data.xy.XYZDataset

        // get the data point...
        double x = dataset.getXValue(series, item);
        double y = dataset.getYValue(series, item);
        double z = Double.NaN;
        if (dataset instanceof XYZDataset) {
            XYZDataset xyzData = (XYZDataset) dataset;
            z = xyzData.getZValue(series, item);
        }
        if (!Double.isNaN(z)) {
            RectangleEdge domainAxisLocation = plot.getDomainAxisEdge();
            RectangleEdge rangeAxisLocation = plot.getRangeAxisEdge();
            double transX = domainAxis.valueToJava2D(x, dataArea,
View Full Code Here

Examples of org.jfree.data.xy.XYZDataset

        fireChangeEvent();
    }

    @Override
    public Range findDomainBounds(XYDataset dataset)  {
        XYZDataset datazet = (XYZDataset) dataset;
        double min = Double.POSITIVE_INFINITY;
        double max = Double.NEGATIVE_INFINITY;
        double factor = 1.0;
        if (this.scaleType == ScaleType.Y_AXIS) {
            // the factor will be the y-axis length / x-axis length
        }
        for (int s = 0; s < dataset.getSeriesCount(); s++) {
            if (this.isSeriesVisible(s)) {
                for (int i = 0; i < dataset.getItemCount(s); i++) {
                    double x = dataset.getXValue(s, i);
                    double z = datazet.getZValue(s, i);
                    double zAdj = Double.isNaN(z) ? 0.0 : z / 2.0;
                    double xLow = x - zAdj;
                    double xHigh = x + zAdj;
                    if (!Double.isNaN(x)) {
                        min = Math.min(min, xLow);
View Full Code Here

Examples of org.jfree.data.xy.XYZDataset

    }

    @Override
    protected Range findRangeBounds(XYDataset dataset,
            boolean includeInterval) {
        XYZDataset datazet = (XYZDataset) dataset;
        double min = Double.POSITIVE_INFINITY;
        double max = Double.NEGATIVE_INFINITY;
        for (int s = 0; s < dataset.getSeriesCount(); s++) {
            if (this.isSeriesVisible(s)) {
                for (int i = 0; i < dataset.getItemCount(s); i++) {
                    double y = dataset.getYValue(s, i);
                    double z = datazet.getZValue(s, i);
                    double zAdj = Double.isNaN(z) ? 0.0 : z / 2.0;
                    double yLow = y - zAdj;
                    double yHigh = y + zAdj;
                    if (!Double.isNaN(y)) {
                        min = Math.min(min, yLow);
View Full Code Here

Examples of org.jfree.data.xy.XYZDataset

        PlotOrientation orientation = plot.getOrientation();
        double x = dataset.getXValue(series, item);
        double y = dataset.getYValue(series, item);
        double z = Double.NaN;
        if (dataset instanceof XYZDataset) {
            XYZDataset xyzData = (XYZDataset) dataset;
            z = xyzData.getZValue(series, item);
        }
        if (Double.isNaN(z)) {
            return;
        }
        RectangleEdge domainAxisLocation = plot.getDomainAxisEdge();
View Full Code Here

Examples of org.jfree.data.xy.XYZDataset

        // get the data point...
        double x = dataset.getXValue(series, item);
        double y = dataset.getYValue(series, item);
        double z = Double.NaN;
        if (dataset instanceof XYZDataset) {
            XYZDataset xyzData = (XYZDataset) dataset;
            z = xyzData.getZValue(series, item);
        }
        if (!Double.isNaN(z)) {
            RectangleEdge domainAxisLocation = plot.getDomainAxisEdge();
            RectangleEdge rangeAxisLocation = plot.getRangeAxisEdge();
            double transX = domainAxis.valueToJava2D(
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.