Package org.swtchart

Examples of org.swtchart.IAxisSet


   
    ISeries series = seriesSet.createSeries(SeriesType.LINE, "Particle Size Curve");
    series.setXSeries(xSeries);
    series.setYSeries(ySeries);
   
    IAxisSet axisSet = chart.getAxisSet();
    IAxis xAxis = axisSet.getXAxis(0);
//    xAxis.adjustRange();
    xAxis.setRange(new Range(0.001, 10));
    xAxis.getTitle().setText("Grain Size ( mm )");
    xAxis.enableLogScale(true);
    IAxis yAxis = axisSet.getYAxis(0);
    yAxis.getTitle().setText("Percent Finer");
//    yAxis.setPosition(Position.Secondary);
    yAxis.setRange(new Range(0, 100));
//    axisSet.adjustRange();
   
View Full Code Here


                plot = (PlotArea) child;
            }
        }

        if (composite instanceof Chart) {
            IAxisSet axisSet = ((Chart) composite).getAxisSet();
            if (axisSet != null) {
                IAxis[] axisArray = axisSet.getAxes();
                for (IAxis axis : axisArray) {
                    axes.add((Axis) axis);
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.swtchart.IAxisSet

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.