Package org.swtchart.ext.internal.properties

Examples of org.swtchart.ext.internal.properties.AxisPage


        manager.addTo(chartTitle, legendNode);

        final String xAxisTitle = "X Axis";
        PreferenceNode xAxisNode = new PreferenceNode(xAxisTitle);
        xAxisNode
                .setPage(new AxisPage(this, resources, Direction.X, xAxisTitle));
        manager.addTo(chartTitle, xAxisNode);

        final String gridTitle = "Grid";
        PreferenceNode xGridNode = new PreferenceNode(gridTitle);
        xGridNode
                .setPage(new GridPage(this, resources, Direction.X, gridTitle));
        manager.addTo(chartTitle + "." + xAxisTitle, xGridNode);

        final String tickTitle = "Tick";
        PreferenceNode xTickNode = new PreferenceNode(tickTitle);
        xTickNode.setPage(new AxisTickPage(this, resources, Direction.X,
                tickTitle));
        manager.addTo(chartTitle + "." + xAxisTitle, xTickNode);

        final String yAxisTitle = "Y Axis";
        PreferenceNode yAxisNode = new PreferenceNode(yAxisTitle);
        yAxisNode
                .setPage(new AxisPage(this, resources, Direction.Y, yAxisTitle));
        manager.addTo(chartTitle, yAxisNode);

        PreferenceNode yGridNode = new PreferenceNode(gridTitle);
        yGridNode
                .setPage(new GridPage(this, resources, Direction.Y, gridTitle));
View Full Code Here

TOP

Related Classes of org.swtchart.ext.internal.properties.AxisPage

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.