Package org.openfaces.component.chart

Examples of org.openfaces.component.chart.LineStyle


    }

    public Collection<LineStyle> getLineStyles() {
        final ArrayList<LineStyle> strokes = new ArrayList<LineStyle>();

        strokes.add(new LineStyle(new BasicStroke(1.75F, BasicStroke.CAP_SQUARE, 1, 1.0F, new float[]{
                1F, 5.5F
        }, 5.0F)));
        strokes.add(new LineStyle(new BasicStroke(2.25F, BasicStroke.CAP_SQUARE, 1, 1.0F, new float[]{
                25F, 8F
        }, 1.0F)));
        strokes.add(new LineStyle(new BasicStroke(2F, BasicStroke.CAP_SQUARE, 1, 1.0F, new float[]{
                15F, 7.5F, 1.5F, 7.5F
        }, 1.0F)));

        return strokes;
    }
View Full Code Here


        fillPaints.add(Color.BLUE);
        return fillPaints;
    }

    public LineStyle getDefaultLineChartLineStyle() {
        return new LineStyle(Color.BLUE, new BasicStroke(1.25F, BasicStroke.CAP_SQUARE, BasicStroke.JOIN_MITER, 1.0F, new float[]{
                6F, 12F
        }, 0.0F));
    }
View Full Code Here

                6F, 12F
        }, 0.0F));
    }

    public LineStyle getDefaultLineStyle() {
        return new LineStyle(Color.BLUE, new BasicStroke(3.0F, BasicStroke.CAP_SQUARE, BasicStroke.JOIN_MITER, 1.0F, new float[]{
                4F, 4F
        }, 0.0F));
    }
View Full Code Here

                4F, 4F
        }, 0.0F));
    }

    public LineStyle getSolidLineStyle() {
        return new LineStyle(Color.BLUE, new BasicStroke(2.5F, BasicStroke.CAP_SQUARE, BasicStroke.JOIN_MITER, 7.0F));
    }
View Full Code Here

        return new LineStyle(Color.BLUE, new BasicStroke(2.5F, BasicStroke.CAP_SQUARE, BasicStroke.JOIN_MITER, 7.0F));
    }


    public LineStyle getMarkerLineStyle() {
        return new LineStyle(Color.RED, new BasicStroke(5.0F, BasicStroke.CAP_SQUARE, 1, 1.0F, new float[]{
                4F, 4F
        }, 0.0F));
    }
View Full Code Here


    public Collection<LineStyle> getOutlines() {
        final ArrayList<LineStyle> outlines = new ArrayList<LineStyle>();

        outlines.add(new LineStyle(Color.RED, new BasicStroke(1.5F, BasicStroke.CAP_BUTT, 1)));
        outlines.add(new LineStyle(Color.BLUE, new BasicStroke(2.5F, BasicStroke.CAP_SQUARE, 1, 1.0F, new float[]{
                1F, 1F
        }, 0.0F)));
        outlines.add(new LineStyle(Color.GREEN, new BasicStroke(1.25F, BasicStroke.CAP_SQUARE, 1, 1.0F, new float[]{
                1F, 1F
        }, 0.0F)));

        return outlines;
    }
View Full Code Here

TOP

Related Classes of org.openfaces.component.chart.LineStyle

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.