Examples of GridPage


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

        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));
        manager.addTo(chartTitle + "." + yAxisTitle, yGridNode);

        PreferenceNode yTickNode = new PreferenceNode(tickTitle);
        yTickNode.setPage(new AxisTickPage(this, resources, Direction.Y,
                tickTitle));
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.