Package org.jfree.chart.plot

Examples of org.jfree.chart.plot.XYPlot.mapSecondaryDatasetToDomainAxis()


        //If necessary we set the renderer
        if (plot.getSecondaryRenderer(0)==null) {
          plot.setSecondaryRenderer(0,new JSynopticStandardXYItemRenderer(2));
        }
        //We map the secondary dataset to secondary domain axis
        plot.mapSecondaryDatasetToDomainAxis(0,new Integer(0));
        //We map the secondary dataset to secondary range axis
        plot.mapSecondaryDatasetToRangeAxis(0,new Integer(0));
        notifyChange();
      } catch (ClassCastException cce) {
        JSynoptic.setStatus(resources.getString("ErrorWhileSettingXDataSource"));
View Full Code Here


        //If necessary we set the renderer
        if (plot.getSecondaryRenderer(0)==null) {
          plot.setSecondaryRenderer(0,new JSynopticStandardXYItemRenderer(2));
        }
        //We map the secondary dataset to secondary domain axis
        plot.mapSecondaryDatasetToDomainAxis(0,new Integer(0));
        notifyChange();
      } catch (ClassCastException cce) {
        JSynoptic.setStatus(resources.getString("ErrorWhileSettingXDataSource"));
      }
    }
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.