Package org.wicketstuff.googlecharts

Examples of org.wicketstuff.googlecharts.LinearGradientFill


        provider = new ChartProvider(new Dimension(200, 125), ChartType.LINE, data);
        provider.setColors(new Color[]{Color.RED});
        provider.setLineStyles(new LineStyle[]{new LineStyle(4, 3, 0)});

        provider.setBackgroundFill(new SolidFill(Color.decode("#EFEFEF")));
        provider.setChartFill(new LinearGradientFill(45,
                new Color[]{Color.WHITE, Color.decode("#76A4FB")}, new double[]{0, 0.75}));

        axis = new ChartAxis(ChartAxisType.BOTTOM);
        axis.setLabels(new String[]{"1", "2", "3", "4", "5"});
        provider.addAxis(axis);
View Full Code Here


    provider = new ChartProvider(new Dimension(200, 125), ChartType.LINE, data);
    provider.setColors(new Color[] { Color.RED });
    provider.setLineStyles(new LineStyle[] { new LineStyle(4, 3, 0) });

    provider.setBackgroundFill(new SolidFill(Color.decode("#EFEFEF")));
    provider.setChartFill(new LinearGradientFill(45, new Color[] { Color.WHITE,
        Color.decode("#76A4FB") }, new double[] { 0, 0.75 }));

    axis = new ChartAxis(ChartAxisType.BOTTOM);
    axis.setLabels(new String[] { "1", "2", "3", "4", "5" });
    provider.addAxis(axis);
View Full Code Here

TOP

Related Classes of org.wicketstuff.googlecharts.LinearGradientFill

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.