Package org.jfree.chart.renderer.category

Examples of org.jfree.chart.renderer.category.LineRenderer3D


    /**
     * Serialize an instance, restore it, and check for equality.
     */
    public void testSerialization() {

        LineRenderer3D r1 = new LineRenderer3D();
        LineRenderer3D r2 = null;

        try {
            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
            ObjectOutput out = new ObjectOutputStream(buffer);
            out.writeObject(r1);
View Full Code Here


            throw new IllegalArgumentException("Null 'orientation' argument.");
        }
        CategoryAxis categoryAxis = new CategoryAxis3D(categoryAxisLabel);
        ValueAxis valueAxis = new NumberAxis3D(valueAxisLabel);

        LineRenderer3D renderer = new LineRenderer3D();
        if (tooltips) {
            renderer.setBaseToolTipGenerator(
                new StandardCategoryToolTipGenerator()
            );
        }
        if (urls) {
            renderer.setBaseItemURLGenerator(
                new StandardCategoryURLGenerator()
            );
        }
        CategoryPlot plot = new CategoryPlot(
            dataset, categoryAxis, valueAxis, renderer
View Full Code Here

TOP

Related Classes of org.jfree.chart.renderer.category.LineRenderer3D

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.