Package org.jfree.chart.plot

Examples of org.jfree.chart.plot.ValueAxisPlot


        if (plot == null) {
            return// no plot, no data
        }

        if (plot instanceof ValueAxisPlot) {
            ValueAxisPlot vap = (ValueAxisPlot) plot;

            Range r = vap.getDataRange(this);
            if (r == null) {
                if (this.timeline instanceof SegmentedTimeline) {
                    //Timeline hasn't method getStartTime()
                    r = new DateRange((
                            (SegmentedTimeline) this.timeline).getStartTime(),
View Full Code Here


         return// no plot, no data
      }

      if (plot instanceof ValueAxisPlot)
      {
         ValueAxisPlot vap = (ValueAxisPlot) plot;

         //Original code, don't work, do not take getDefaultAutoRange() when zooming out
         /*Range r = vap.getDataRange(this);
         if (r == null)
         {
            r = getDefaultAutoRange();
         }*/
        
         //-- beg added Amadeus in order to fix a bug with zoom out axis
         Range r = vap.getDataRange(this);
         if (r == null || this._blnIsManualRange_)
         {
            r = getDefaultAutoRange();
         }
         //-- end added Amadeus in order to fix a bug with zoom out axis
View Full Code Here

         return// no plot, no data
      }

      if (plot instanceof ValueAxisPlot)
      {
         ValueAxisPlot vap = (ValueAxisPlot) plot;

         Range r = vap.getDataRange(this);
         if (r == null)
         {
            r = getDefaultAutoRange();
         }
View Full Code Here

        if (plot == null) {
            return// no plot, no data
        }

        if (plot instanceof ValueAxisPlot) {
            ValueAxisPlot vap = (ValueAxisPlot) plot;

            Range r = vap.getDataRange(this);
            if (r == null) {
                r = getDefaultAutoRange();
            }

            double upper = r.getUpperBound();
View Full Code Here

        if (plot == null) {
            return// no plot, no data
        }

        if (plot instanceof ValueAxisPlot) {
            ValueAxisPlot vap = (ValueAxisPlot) plot;

            Range r = vap.getDataRange(this);
            if (r == null) {
                r = getDefaultAutoRange();
            }

            long upper = Math.round(r.getUpperBound());
View Full Code Here

        if (plot == null) {
            return// no plot, no data
        }

        if (plot instanceof ValueAxisPlot) {
            ValueAxisPlot vap = (ValueAxisPlot) plot;

            Range r = vap.getDataRange(this);
            if (r == null) {
                r = getDefaultAutoRange();
            }

            double upper = r.getUpperBound();
View Full Code Here

        if (plot == null) {
            return// no plot, no data
        }

        if (plot instanceof ValueAxisPlot) {
            ValueAxisPlot vap = (ValueAxisPlot) plot;

            Range r = vap.getDataRange(this);
            if (r == null) {
                if (this.timeline instanceof SegmentedTimeline) {
                    //Timeline hasn't method getStartTime()
                    r = new DateRange((
                            (SegmentedTimeline) this.timeline).getStartTime(),
View Full Code Here

        if (plot == null) {
            return// no plot, no data
        }

        if (plot instanceof ValueAxisPlot) {
            ValueAxisPlot vap = (ValueAxisPlot) plot;

            Range r = vap.getDataRange(this);
            if (r == null) {
                r = getDefaultAutoRange();
            }

            double upper = r.getUpperBound();
View Full Code Here

        if (plot == null) {
            return// no plot, no data
        }

        if (plot instanceof ValueAxisPlot) {
            ValueAxisPlot vap = (ValueAxisPlot) plot;

            Range r = vap.getDataRange(this);
            if (r == null) {
                if (this.timeline instanceof SegmentedTimeline) {
                    //Timeline hasn't method getStartTime()
                    r = new DateRange((
                            (SegmentedTimeline) this.timeline).getStartTime(),
View Full Code Here

        if (plot == null) {
            return// no plot, no data
        }

        if (plot instanceof ValueAxisPlot) {
            ValueAxisPlot vap = (ValueAxisPlot) plot;

            Range r = vap.getDataRange(this);
            if (r == null) {
                r = getDefaultAutoRange();
            }

            double upper = r.getUpperBound();
View Full Code Here

TOP

Related Classes of org.jfree.chart.plot.ValueAxisPlot

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.