Example usage for org.jfree.chart ChartColor VERY_LIGHT_BLUE

List of usage examples for org.jfree.chart ChartColor VERY_LIGHT_BLUE

Introduction

In this page you can find the example usage for org.jfree.chart ChartColor VERY_LIGHT_BLUE.

Prototype

Color VERY_LIGHT_BLUE

To view the source code for org.jfree.chart ChartColor VERY_LIGHT_BLUE.

Click Source Link

Document

A very light blue color.

Usage

From source file:jamel.gui.charts.income.Distribution.java

/**
 * Returns the chart./*from  w w w .j  av  a  2s .  c  o m*/
 * @return the chart.
 */
private static JFreeChart newChart() {
    TimeChart chart = new TimeChart("Income Distribution", "Percent",
            Circuit.getCircuit().getTimeSeries().get(Labels.ANNUAL_PROFIT_SHARE),
            Circuit.getCircuit().getTimeSeries().get(Labels.ANNUAL_WAGE_SHARE));
    chart.setRangeAxisRange(0, 100);
    chart.setColors(0, ChartColor.DARK_YELLOW, ChartColor.VERY_LIGHT_BLUE);
    return chart;
}

From source file:org.gumtree.vis.awt.DefaultChartTheme.java

public static Paint[] createDefaultPaintArray() {

    return new Paint[] { ChartColor.DARK_BLUE, ChartColor.DARK_GREEN, ChartColor.DARK_MAGENTA,
            ChartColor.DARK_CYAN, ChartColor.DARK_RED, ChartColor.DARK_YELLOW, Color.darkGray,
            new Color(0xFF, 0x55, 0x55), new Color(0x55, 0x55, 0xFF), new Color(0x00, 0x77, 0x00),
            new Color(0x77, 0x77, 0x00), new Color(0xCA, 0x00, 0xCA), new Color(0x00, 0x88, 0x88),
            //            Color.pink,
            Color.gray,/*from  ww w  .  j a  v  a 2  s.  c  om*/
            //            ChartColor.LIGHT_RED,
            //            ChartColor.LIGHT_BLUE,
            //            ChartColor.LIGHT_GREEN,
            //            ChartColor.LIGHT_YELLOW,
            //            ChartColor.LIGHT_MAGENTA,
            //            ChartColor.LIGHT_CYAN,
            //            Color.lightGray,
            ChartColor.VERY_DARK_RED, ChartColor.VERY_DARK_BLUE, ChartColor.VERY_DARK_GREEN,
            ChartColor.VERY_DARK_YELLOW, ChartColor.VERY_DARK_MAGENTA, ChartColor.VERY_DARK_CYAN,
            ChartColor.VERY_LIGHT_RED, ChartColor.VERY_LIGHT_BLUE, ChartColor.VERY_LIGHT_GREEN,
            ChartColor.VERY_LIGHT_YELLOW, ChartColor.VERY_LIGHT_MAGENTA, ChartColor.VERY_LIGHT_CYAN };
}

From source file:jamel.gui.charts.income.Wages.java

/**
 * Returns the chart.//  w  w  w .  ja  v a 2 s  .  c  o  m
 * @return the chart.
 */
private static JFreeChart newChart() {
    TimeChart chart = new TimeChart("Wages", "Value",
            Circuit.getCircuit().getTimeSeries().get(Labels.MAX_REGULAR_WAGE),
            Circuit.getCircuit().getTimeSeries().get(Labels.MIN_REGULAR_WAGE),
            Circuit.getCircuit().getTimeSeries().get(Labels.MEDIAN_WAGE));
    chart.setXYDifferenceRenderer(0, JamelColor.ULTRA_TRANSPARENT_BLUE, JamelColor.ULTRA_TRANSPARENT_BLUE);
    chart.setColors(0, ChartColor.VERY_LIGHT_BLUE, ChartColor.VERY_LIGHT_BLUE, ChartColor.LIGHT_BLUE,
            ChartColor.LIGHT_RED, ChartColor.LIGHT_RED);
    chart.addLineLegendItem("Median Wage", ChartColor.LIGHT_BLUE);
    chart.addLegendItem("Min-Max Wages", JamelColor.ULTRA_LIGHT_BLUE);
    return chart;
}

From source file:com.itemanalysis.jmetrik.swing.JmetrikXYLineAndShapeRenderer.java

public Paint getItemPaint(int row, int col) {
    Paint[] altColors = { Color.BLACK, ChartColor.RED, ChartColor.DARK_BLUE, ChartColor.DARK_GREEN,
            ChartColor.DARK_MAGENTA, ChartColor.DARK_CYAN, ChartColor.LIGHT_RED, ChartColor.LIGHT_BLUE,
            ChartColor.LIGHT_GREEN, ChartColor.LIGHT_MAGENTA, ChartColor.LIGHT_CYAN, ChartColor.VERY_DARK_RED,
            ChartColor.VERY_DARK_BLUE, ChartColor.VERY_DARK_GREEN, ChartColor.VERY_DARK_YELLOW,
            ChartColor.VERY_DARK_MAGENTA, ChartColor.VERY_DARK_CYAN, ChartColor.VERY_LIGHT_RED,
            ChartColor.VERY_LIGHT_BLUE, ChartColor.VERY_LIGHT_GREEN, ChartColor.VERY_LIGHT_MAGENTA,
            ChartColor.VERY_LIGHT_CYAN };

    return altColors[row];
}

From source file:net.sf.mzmine.chartbasics.chartthemes.ChartThemeFactory.java

public static EStandardChartTheme createBlackNWhiteTheme() {
    EStandardChartTheme theme = new EStandardChartTheme(THEME.BNW_PRINT, "BnW");
    // Fonts//from w ww  . jav  a  2 s  .  com
    theme.setExtraLargeFont(new Font("Arial", Font.BOLD, 16));
    theme.setLargeFont(new Font("Arial", Font.BOLD, 11));
    theme.setRegularFont(new Font("Arial", Font.PLAIN, 11));
    theme.setSmallFont(new Font("Arial", Font.PLAIN, 11));

    // Paints
    theme.setTitlePaint(Color.black);
    theme.setSubtitlePaint(Color.black);
    theme.setLegendItemPaint(Color.black);
    theme.setPlotOutlinePaint(Color.black);
    theme.setBaselinePaint(Color.black);
    theme.setCrosshairPaint(Color.black);
    theme.setLabelLinkPaint(Color.black);
    theme.setTickLabelPaint(Color.black);
    theme.setAxisLabelPaint(Color.black);
    theme.setShadowPaint(Color.black);
    theme.setItemLabelPaint(Color.black);

    theme.setLegendBackgroundPaint(Color.white);
    theme.setChartBackgroundPaint(Color.white);
    theme.setPlotBackgroundPaint(Color.white);

    // paint sequence: add black
    Paint[] colors = new Paint[] { Color.BLACK, new Color(0xFF, 0x55, 0x55), new Color(0x55, 0x55, 0xFF),
            new Color(0x55, 0xFF, 0x55), new Color(0xFF, 0xFF, 0x55), new Color(0xFF, 0x55, 0xFF),
            new Color(0x55, 0xFF, 0xFF), Color.pink, Color.gray, ChartColor.DARK_RED, ChartColor.DARK_BLUE,
            ChartColor.DARK_GREEN, ChartColor.DARK_YELLOW, ChartColor.DARK_MAGENTA, ChartColor.DARK_CYAN,
            Color.darkGray, ChartColor.LIGHT_RED, ChartColor.LIGHT_BLUE, ChartColor.LIGHT_GREEN,
            ChartColor.LIGHT_YELLOW, ChartColor.LIGHT_MAGENTA, ChartColor.LIGHT_CYAN, Color.lightGray,
            ChartColor.VERY_DARK_RED, ChartColor.VERY_DARK_BLUE, ChartColor.VERY_DARK_GREEN,
            ChartColor.VERY_DARK_YELLOW, ChartColor.VERY_DARK_MAGENTA, ChartColor.VERY_DARK_CYAN,
            ChartColor.VERY_LIGHT_RED, ChartColor.VERY_LIGHT_BLUE, ChartColor.VERY_LIGHT_GREEN,
            ChartColor.VERY_LIGHT_YELLOW, ChartColor.VERY_LIGHT_MAGENTA, ChartColor.VERY_LIGHT_CYAN };

    theme.setDrawingSupplier(
            new DefaultDrawingSupplier(colors, DefaultDrawingSupplier.DEFAULT_FILL_PAINT_SEQUENCE,
                    DefaultDrawingSupplier.DEFAULT_OUTLINE_PAINT_SEQUENCE,
                    DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE,
                    DefaultDrawingSupplier.DEFAULT_OUTLINE_STROKE_SEQUENCE,
                    DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE));
    theme.setErrorIndicatorPaint(Color.black);
    theme.setGridBandPaint(new Color(255, 255, 255, 20));
    theme.setGridBandAlternatePaint(new Color(255, 255, 255, 40));

    // axis
    Color transp = new Color(0, 0, 0, 200);
    theme.setRangeGridlinePaint(transp);
    theme.setDomainGridlinePaint(transp);

    theme.setAxisLinePaint(Color.black);

    // axis offset
    theme.setAxisOffset(new RectangleInsets(0, 0, 0, 0));

    return theme;
}