Example usage for java.awt Color cyan

List of usage examples for java.awt Color cyan

Introduction

In this page you can find the example usage for java.awt Color cyan.

Prototype

Color cyan

To view the source code for java.awt Color cyan.

Click Source Link

Document

The color cyan.

Usage

From source file:net.sf.dynamicreports.test.jasper.chart.LayeredBarChartTest.java

@Override
protected void configureReport(JasperReportBuilder rb) {
    TextColumnBuilder<String> column1;
    TextColumnBuilder<Integer> column2;

    Locale.setDefault(Locale.ENGLISH);

    rb.columns(column1 = col.column("Column1", "field1", String.class),
            column2 = col.column("Column2", "field2", Integer.class))
            .summary(/* w  w w  .ja  v  a 2 s.c o  m*/
                    cht.layeredBarChart().customizers(new ChartCustomizer()).setCategory(column1)
                            .series(cht.serie(column2)).setShowLabels(true).setShowTickLabels(false)
                            .setShowTickMarks(false),
                    cht.layeredBarChart().setCategory(column1).series(cht.serie(column2))
                            .setCategoryAxisFormat(cht.axisFormat().setLabel("category")
                                    .setLabelColor(Color.BLUE).setLabelFont(stl.fontArialBold())
                                    .setTickLabelFont(stl.fontArial().setItalic(true))
                                    .setTickLabelColor(Color.CYAN).setTickLabelRotation(45d)
                                    .setLineColor(Color.LIGHT_GRAY)),
                    cht.layeredBarChart().setCategory(column1).series(cht.serie(column2))
                            .setValueAxisFormat(cht.axisFormat().setLabel("value").setLabelColor(Color.BLUE)
                                    .setLabelFont(stl.fontArialBold())
                                    .setTickLabelFont(stl.fontArial().setItalic(true))
                                    .setTickLabelColor(Color.CYAN).setTickLabelMask("#,##0.00")
                                    .setLineColor(Color.LIGHT_GRAY).setRangeMinValueExpression(1)
                                    .setRangeMaxValueExpression(15)));
}

From source file:edu.ucla.stat.SOCR.chart.demo.CompassDemo1.java

/**
 * Creates a chart.//from ww w  . ja  v a  2s .c  o m
 * 
 * @param dataset  the dataset.
 * 
 * @return The chart.
 */
protected JFreeChart createChart(ValueDataset dataset) {

    CompassPlot plot = new CompassPlot(dataset);
    plot.setSeriesNeedle(7);
    plot.setSeriesPaint(0, Color.red);
    plot.setSeriesOutlinePaint(0, Color.red);
    plot.setRoseHighlightPaint(Color.CYAN);
    JFreeChart chart = new JFreeChart(plot);
    return chart;

}

From source file:jku.ss09.mir.lastfmecho.bo.visualization.SimpleNetworkGraphVisualizer.java

public boolean init() {

    //        // create a simple graph for the demo
    //        graph = new DirectedSparseGraph<Integer,Number>();
    //        Integer[] v = createVertices(10);
    //        createEdges(v);
    //        /* www  . j  ava 2 s.c o m*/
    //        
    //        

    if (graph == null)

    {
        return false;
    }

    vv = new VisualizationViewer<Integer, Number>(new FRLayout<Integer, Number>(graph));
    vv.getRenderContext().setVertexLabelTransformer(new Transformer<Integer, String>() {

        public String transform(Integer v) {
            return "Vertex " + v;
        }
    });
    vv.getRenderContext().setVertexLabelRenderer(new DefaultVertexLabelRenderer(Color.cyan));
    vv.getRenderContext().setEdgeLabelRenderer(new DefaultEdgeLabelRenderer(Color.cyan));

    //        vv.getRenderContext().setVertexIconTransformer(new Transformer<Integer,Icon>() {
    //
    //           /*
    //            * Implements the Icon interface to draw an Icon with background color and
    //            * a text label
    //            */
    //         public Icon transform(final Integer v) {
    //            return new Icon() {
    //
    //               public int getIconHeight() {
    //                  return 20;
    //               }
    //
    //               public int getIconWidth() {
    //                  return 20;
    //               }
    //
    //               public void paintIcon(Component c, Graphics g,
    //                     int x, int y) {
    //                  if(vv.getPickedVertexState().isPicked(v)) {
    //                     g.setColor(Color.yellow);
    //                  } else {
    //                     g.setColor(Color.red);
    //                  }
    //                  g.fillOval(x, y, 20, 20);
    //                  if(vv.getPickedVertexState().isPicked(v)) {
    //                     g.setColor(Color.black);
    //                  } else {
    //                     g.setColor(Color.white);
    //                  }
    //                  g.drawString(""+v, x+6, y+15);
    //                  
    //               }};
    //         }});
    //
    //        vv.getRenderContext().setVertexFillPaintTransformer(new PickableVertexPaintTransformer<Integer>(vv.getPickedVertexState(), Color.white,  Color.yellow));
    //        vv.getRenderContext().setEdgeDrawPaintTransformer(new PickableEdgePaintTransformer<Number>(vv.getPickedEdgeState(), Color.black, Color.lightGray));

    vv.getRenderContext().setEdgeLabelTransformer(new ToStringLabeller<Number>());
    vv.setBackground(Color.white);

    // add my listener for ToolTips
    vv.setVertexToolTipTransformer(new ToStringLabeller<Integer>());

    // create a frome to hold the graph
    final JFrame frame = new JFrame();
    Container content = frame.getContentPane();
    final GraphZoomScrollPane panel = new GraphZoomScrollPane(vv);
    content.add(panel);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    final ModalGraphMouse gm = new DefaultModalGraphMouse<Integer, Number>();
    vv.setGraphMouse(gm);

    final ScalingControl scaler = new CrossoverScalingControl();

    JButton plus = new JButton("+");
    plus.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            scaler.scale(vv, 1.1f, vv.getCenter());
        }
    });
    JButton minus = new JButton("-");
    minus.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            scaler.scale(vv, 1 / 1.1f, vv.getCenter());
        }
    });

    JPanel controls = new JPanel();
    controls.add(plus);
    controls.add(minus);
    controls.add(((DefaultModalGraphMouse<Integer, Number>) gm).getModeComboBox());
    content.add(controls, BorderLayout.SOUTH);

    frame.pack();
    frame.setVisible(true);

    return true;
}

From source file:ar.com.fdvs.dj.test.StylesReport2Test.java

public DynamicReport buildReport() throws Exception {

    //      Style detailStyle = new Style();
    Style detailStyle = new StyleBuilder(false).setTransparency(Transparency.OPAQUE)
            .setBackgroundColor(new Color(200, 200, 230)).build();

    Style headerStyle = new Style();
    headerStyle.setFont(Font.ARIAL_MEDIUM_BOLD);
    headerStyle.getFont().setItalic(true);
    headerStyle.setBorderTop(Border.PEN_2_POINT);
    headerStyle.setBorderBottom(Border.THIN);
    headerStyle.setBackgroundColor(Color.blue);
    headerStyle.setTransparency(Transparency.OPAQUE);
    headerStyle.setTextColor(Color.white);
    headerStyle.setHorizontalAlign(HorizontalAlign.CENTER);
    headerStyle.setVerticalAlign(VerticalAlign.MIDDLE);
    headerStyle.setRotation(Rotation.LEFT);

    Style titleStyle = new Style();
    titleStyle.setFont(new Font(10, Font._FONT_VERDANA, true));
    Style numberStyle = new Style();
    numberStyle.setHorizontalAlign(HorizontalAlign.RIGHT);
    Style amountStyle = new Style();
    amountStyle.setHorizontalAlign(HorizontalAlign.RIGHT);
    amountStyle.setBackgroundColor(Color.cyan);
    amountStyle.setTransparency(Transparency.OPAQUE);
    amountStyle.setFont(Font.ARIAL_MEDIUM_BOLD);
    amountStyle.getFont().setUnderline(true);
    amountStyle.setPaddingBottom(new Integer(5));
    Style oddRowStyle = new Style();
    oddRowStyle.setBorder(Border.NO_BORDER);
    Color veryLightGrey = new Color(230, 230, 230);
    oddRowStyle.setBackgroundColor(veryLightGrey);
    oddRowStyle.setTransparency(Transparency.OPAQUE);

    Style variableStyle = new Style();
    BeanUtils.copyProperties(variableStyle, amountStyle);
    variableStyle.setFont(Font.ARIAL_MEDIUM_BOLD);
    variableStyle.setBackgroundColor(Color.PINK);

    Style variableStyle2 = new Style();
    BeanUtils.copyProperties(variableStyle2, amountStyle);
    variableStyle2.setFont(Font.ARIAL_MEDIUM_BOLD);
    variableStyle2.setBackgroundColor(Color.ORANGE);

    DynamicReportBuilder drb = new DynamicReportBuilder();
    Integer margin = new Integer(20);

    drb.setTitle("November 2006 sales report") //defines the title of the report
            .setSubtitle("The items in this report correspond "
                    + "to the main products: DVDs, Books, Foods and Magazines")
            .setTitleStyle(titleStyle).setTitleHeight(new Integer(30))
            .setDefaultStyles(null, null, null, detailStyle).setSubtitleHeight(new Integer(20))
            .setDetailHeight(new Integer(15))
            //         .setLeftMargin(margin)
            //         .setRightMargin(margin)
            //         .setTopMargin(margin)
            //         .setBottomMargin(margin)
            .setPrintBackgroundOnOddRows(true).setOddRowBackgroundStyle(oddRowStyle)
            .setColumnsPerPage(new Integer(1)).setColumnSpace(new Integer(5));

    AbstractColumn columnState = ColumnBuilder.getNew().setColumnProperty("state", String.class.getName())
            .setTitle("State").setWidth(new Integer(85)).setStyle(detailStyle).setHeaderStyle(headerStyle)
            .build();/*from  w  w w  . j  ava  2  s .co m*/

    AbstractColumn columnBranch = ColumnBuilder.getNew().setColumnProperty("branch", String.class.getName())
            .setTitle("Branch").setWidth(new Integer(85)).setStyle(detailStyle).setHeaderStyle(headerStyle)
            .build();

    AbstractColumn columnaProductLine = ColumnBuilder.getNew()
            .setColumnProperty("productLine", String.class.getName()).setTitle("Product Line")
            .setWidth(new Integer(85)).setStyle(detailStyle).setHeaderStyle(headerStyle).build();

    AbstractColumn columnaItem = ColumnBuilder.getNew().setColumnProperty("item", String.class.getName())
            .setTitle("item").setWidth(new Integer(85)).setStyle(detailStyle).setHeaderStyle(headerStyle)
            .build();

    AbstractColumn columnCode = ColumnBuilder.getNew().setColumnProperty("id", Long.class.getName())
            .setTitle("ID").setWidth(new Integer(40)).setStyle(numberStyle).setHeaderStyle(headerStyle).build();

    AbstractColumn columnaCantidad = ColumnBuilder.getNew().setColumnProperty("quantity", Long.class.getName())
            .setTitle("Quantity").setWidth(new Integer(80)).setStyle(numberStyle).setHeaderStyle(headerStyle)
            .build();

    AbstractColumn columnAmount = ColumnBuilder.getNew().setColumnProperty("amount", Float.class.getName())
            .setTitle("Amount").setWidth(new Integer(90)).setPattern("$ 0.00").setStyle(amountStyle)
            .setHeaderStyle(headerStyle).build();

    drb.addColumn(columnState);
    drb.addColumn(columnaItem);
    drb.addColumn(columnBranch);
    drb.addColumn(columnaProductLine);
    drb.addColumn(columnCode);
    drb.addColumn(columnaCantidad);
    drb.addColumn(columnAmount);

    DJGroup group = new GroupBuilder().setCriteriaColumn((PropertyColumn) columnState)
            .addFooterVariable(columnAmount, DJCalculation.SUM, variableStyle).build();
    drb.addGroup(group);

    DJGroup group2 = new GroupBuilder().setCriteriaColumn((PropertyColumn) columnaItem)
            .addFooterVariable(columnAmount, DJCalculation.SUM).build();
    drb.addGroup(group2);

    group2.setDefaulFooterVariableStyle(variableStyle2);

    drb.setUseFullPageWidth(true);

    DynamicReport dr = drb.build();
    //      saveXML(dr,"dynamicReport");
    return dr;
}

From source file:org.gvsig.gui.beans.graphic.GraphicChartPanel.java

/**
 * Creates a chart.//from   w  w  w.  j a va  2  s . c  o m
 * @param dataset the dataset.
 * @return A chart.
 */
private void createChart() {
    chart = ChartFactory.createXYLineChart(null, null, null, dataset, PlotOrientation.VERTICAL, false, true,
            true);

    // Definir la lista de colores
    XYPlot plot = chart.getXYPlot();
    plot.getRenderer().setSeriesPaint(0, Color.red);
    plot.getRenderer().setSeriesPaint(1, Color.green);
    plot.getRenderer().setSeriesPaint(2, Color.blue);
    plot.getRenderer().setSeriesPaint(3, Color.cyan);
    plot.getRenderer().setSeriesPaint(4, Color.black);
    plot.getRenderer().setSeriesPaint(5, Color.darkGray);
    plot.getRenderer().setSeriesPaint(6, Color.gray);
    plot.getRenderer().setSeriesPaint(7, Color.magenta);
    plot.getRenderer().setSeriesPaint(8, Color.yellow);
    plot.getRenderer().setSeriesPaint(9, Color.orange);

    Image img = new ImageIcon(getClass().getResource("images/splash.png")).getImage();
    plot.setBackgroundPaint(null);
    plot.setBackgroundImageAlpha(0.18f);
    plot.setBackgroundImage(img);
}

From source file:net.sf.dynamicreports.test.jasper.chart.XyBlockChartTest.java

@Override
protected void configureReport(JasperReportBuilder rb) {
    TextColumnBuilder<Integer> column1;
    TextColumnBuilder<Integer> column2;
    TextColumnBuilder<Integer> column3;

    Locale.setDefault(Locale.ENGLISH);

    rb.columns(column1 = col.column("Column1", "field1", Integer.class),
            column2 = col.column("Column2", "field2", Integer.class),
            column3 = col.column("Column3", "field3", Integer.class))
            .summary(//ww w  .  j  a  v  a  2 s . c o  m
                    cht.xyBlockChart(0.1, 5, Color.WHITE).setXValue(column1)
                            .series(cht.xyzSerie().setYValue(column2).setZValue(column3)).setBlockWidth(1.1)
                            .setBlockHeight(0.9).setBlockAnchor(RectangleAnchor.BOTTOM_LEFT)
                            .paintScales(cht.paintScale("1", 1, Color.RED), cht.paintScale("2", 2, Color.GREEN),
                                    cht.paintScale("3", 3, Color.BLUE)),
                    cht.xyBlockChart(0, 5, Color.WHITE).setXValue(column1)
                            .series(cht.xyzSerie().setYValue(column2).setZValue(column3))
                            .setXAxisFormat(cht.axisFormat().setLabel("category").setLabelColor(Color.BLUE)
                                    .setLabelFont(stl.fontArialBold())
                                    .setTickLabelFont(stl.fontArial().setItalic(true))
                                    .setTickLabelColor(Color.CYAN).setLineColor(Color.LIGHT_GRAY)),
                    cht.xyBlockChart(0, 5, Color.WHITE).setXValue(column1)
                            .series(cht.xyzSerie().setYValue(column2).setZValue(column3))
                            .setYAxisFormat(cht.axisFormat().setLabel("value").setLabelColor(Color.BLUE)
                                    .setLabelFont(stl.fontArialBold())
                                    .setTickLabelFont(stl.fontArial().setItalic(true))
                                    .setTickLabelColor(Color.CYAN).setTickLabelMask("#,##0.00")
                                    .setLineColor(Color.LIGHT_GRAY)));
}

From source file:temp1.RealTimeChart.java

public static JFreeChart createChart(String chartContent, String title, String yaxisName) {
    thread1 = new Thread();
    timeseries1 = new TimeSeries(chartContent, Millisecond.class);
    timeseries2 = new TimeSeries(chartContent, Millisecond.class);
    timeseries3 = new TimeSeries(chartContent, Millisecond.class);
    timeseries4 = new TimeSeries(chartContent, Millisecond.class);

    TimeSeriesCollection timeseriescollection = new TimeSeriesCollection(timeseries1);
    TimeSeriesCollection timeseriescollection1 = new TimeSeriesCollection(timeseries2);
    TimeSeriesCollection timeseriescollection2 = new TimeSeriesCollection(timeseries3);
    TimeSeriesCollection timeseriescollection3 = new TimeSeriesCollection(timeseries4);

    jfreechart = ChartFactory.createTimeSeriesChart("", "", "", timeseriescollection, false, false, false);

    final XYPlot xyplot = jfreechart.getXYPlot();
    xyplot.setOutlinePaint(Color.magenta);
    xyplot.setBackgroundPaint(Color.lightGray);
    xyplot.setRangeGridlinePaint(Color.gray);
    xyplot.setDatasetRenderingOrder(DatasetRenderingOrder.FORWARD);
    ValueAxis valueaxis = xyplot.getDomainAxis();
    valueaxis.setAutoRange(true);//from  w w  w.  jav a 2s. c o  m
    valueaxis.setFixedAutoRange(20000D);
    //Value
    valueaxis = xyplot.getRangeAxis();
    valueaxis.setRange(800D, 3300D);
    xyplot.setDataset(0, timeseriescollection);
    xyplot.setDataset(1, timeseriescollection1);
    xyplot.setDataset(2, timeseriescollection2);
    xyplot.setDataset(3, timeseriescollection3);
    XYLineAndShapeRenderer xylineandshaperenderer0 = new XYLineAndShapeRenderer();
    XYLineAndShapeRenderer xylineandshaperenderer1 = new XYLineAndShapeRenderer();
    XYLineAndShapeRenderer xylineandshaperenderer2 = new XYLineAndShapeRenderer();
    XYLineAndShapeRenderer xylineandshaperenderer3 = new XYLineAndShapeRenderer();
    xylineandshaperenderer0.setBaseShapesVisible(false);
    xylineandshaperenderer1.setBaseShapesVisible(false);
    xylineandshaperenderer2.setBaseShapesVisible(false);
    xylineandshaperenderer3.setBaseShapesVisible(false);
    xylineandshaperenderer0.setSeriesPaint(0, Color.RED);
    xylineandshaperenderer1.setSeriesPaint(0, Color.cyan);
    xylineandshaperenderer2.setSeriesPaint(0, Color.yellow);
    xylineandshaperenderer3.setSeriesPaint(0, Color.blue);
    xyplot.setRenderer(0, xylineandshaperenderer0);
    xyplot.setRenderer(1, xylineandshaperenderer1);
    xyplot.setRenderer(2, xylineandshaperenderer2);
    xyplot.setRenderer(3, xylineandshaperenderer3);
    //xylineandshaperenderer.setSeriesStroke(0, new BasicStroke(0.5F, 1, 1, 5F, new float[] { 5F, 10F }, 0.0F));
    return jfreechart;
}

From source file:s3ml.DFA.DFA.java

public JFrame print(boolean visible) {
    DirectedSparseGraph<State, Transition> graph = new DirectedSparseGraph<>();

    for (State s : states) {
        graph.addVertex(s);//from  ww  w.  java2  s  . c o m
    }

    for (Transition t : transitions) {
        graph.addEdge(t, t.a, t.b, EdgeType.DIRECTED);
    }

    KKLayout<State, Transition> kkLayout = new KKLayout(graph);
    kkLayout.setSize(new Dimension(600, 600));

    final VisualizationViewer<State, Transition> vv = new VisualizationViewer<>(kkLayout);

    vv.getRenderContext().setVertexLabelTransformer(new Transformer<State, String>() {

        @Override
        public String transform(State i) {
            return i.name;
        }

    });
    vv.getRenderContext().setEdgeLabelTransformer(new Transformer<Transition, String>() {

        @Override
        public String transform(Transition i) {
            return "" + i.symbol;
        }

    });
    final Stroke stroke = new Stroke() {
        private Stroke stroke1, stroke2;

        {
            this.stroke1 = new BasicStroke(5f);
            this.stroke2 = new BasicStroke(1f);
        }

        @Override
        public Shape createStrokedShape(Shape shape) {
            return stroke2.createStrokedShape(stroke1.createStrokedShape(shape));
        }
    };
    vv.getRenderContext().setVertexStrokeTransformer(new Transformer<State, Stroke>() {
        @Override
        public Stroke transform(State i) {
            if (i.startState) {
                return new BasicStroke(1.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 10.0f,
                        new float[] { 2.0f }, 0.0f);
            } else if (i.finalState) {
                return stroke;
            } else {
                return vv.getRenderContext().getGraphicsContext().getStroke();
            }
        }
    });

    vv.getRenderContext().setVertexFillPaintTransformer(new Transformer<State, Paint>() {
        @Override
        public Paint transform(State i) {
            if (i.finalState) {
                return Color.RED;
            } else if (i.startState) {
                return Color.CYAN;
            } else {
                return Color.LIGHT_GRAY;
            }
        }
    });

    DefaultModalGraphMouse gm = new DefaultModalGraphMouse();
    gm.setMode(ModalGraphMouse.Mode.TRANSFORMING);
    vv.setGraphMouse(gm);
    final JFrame frame = new JFrame("V:" + graph.getVertexCount() + " E:" + graph.getEdgeCount());
    JMenuBar jMenuBar = new JMenuBar();
    jMenuBar.add(gm.getModeMenu());
    frame.setJMenuBar(jMenuBar);
    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    frame.getContentPane().add(vv);
    frame.pack();
    frame.setLocationRelativeTo(null);
    frame.setVisible(visible);
    return frame;
}

From source file:net.sf.jsfcomp.chartcreator.utils.ChartUtils.java

public static Color getColor(String color) {
    // HTML colors (#FFFFFF format)
    if (color.startsWith("#")) {
        return new Color(Integer.parseInt(color.substring(1), 16));
    } else {/*from  w ww  .  j a v a 2  s.  c  om*/
        // Colors by name
        if (color.equalsIgnoreCase("black"))
            return Color.black;
        if (color.equalsIgnoreCase("gray"))
            return Color.gray;
        if (color.equalsIgnoreCase("yellow"))
            return Color.yellow;
        if (color.equalsIgnoreCase("green"))
            return Color.green;
        if (color.equalsIgnoreCase("blue"))
            return Color.blue;
        if (color.equalsIgnoreCase("red"))
            return Color.red;
        if (color.equalsIgnoreCase("orange"))
            return Color.orange;
        if (color.equalsIgnoreCase("cyan"))
            return Color.cyan;
        if (color.equalsIgnoreCase("magenta"))
            return Color.magenta;
        if (color.equalsIgnoreCase("darkgray"))
            return Color.darkGray;
        if (color.equalsIgnoreCase("lightgray"))
            return Color.lightGray;
        if (color.equalsIgnoreCase("pink"))
            return Color.pink;
        if (color.equalsIgnoreCase("white"))
            return Color.white;

        throw new RuntimeException("Unsupported chart color:" + color);
    }
}

From source file:net.sf.dynamicreports.test.jasper.chart.CandlestickChartTest.java

@Override
protected void configureReport(JasperReportBuilder rb) {
    TextColumnBuilder<String> column1;
    TextColumnBuilder<Date> column2;
    TextColumnBuilder<Double> column3;
    TextColumnBuilder<Double> column4;
    TextColumnBuilder<Double> column5;
    TextColumnBuilder<Double> column6;
    TextColumnBuilder<Double> column7;

    Locale.setDefault(Locale.ENGLISH);

    rb.columns(column1 = col.column("Column1", "field1", String.class),
            column2 = col.column("Column2", "field2", Date.class),
            column3 = col.column("Column3", "field3", Double.class),
            column4 = col.column("Column4", "field4", Double.class),
            column5 = col.column("Column5", "field5", Double.class),
            column6 = col.column("Column6", "field6", Double.class),
            column7 = col.column("Column7", "field7", Double.class))
            .summary(/*w w  w  .  jav a2 s  .c om*/
                    cht.candlestickChart().setSeries(column1).setDate(column2).setHigh(column3).setLow(column4)
                            .setOpen(column5).setClose(column6).setVolume(column7).setShowVolume(false),
                    cht.candlestickChart().setSeries(column1).setDate(column2).setHigh(column3).setLow(column4)
                            .setOpen(column5).setClose(column6).setVolume(column7)
                            .setTimeAxisFormat(cht.axisFormat().setLabel("time").setLabelColor(Color.BLUE)
                                    .setLabelFont(stl.fontArialBold())
                                    .setTickLabelFont(stl.fontArial().setItalic(true))
                                    .setTickLabelColor(Color.CYAN).setLineColor(Color.LIGHT_GRAY)
                                    .setVerticalTickLabels(true)),
                    cht.candlestickChart().setSeries(column1).setDate(column2).setHigh(column3).setLow(column4)
                            .setOpen(column5).setClose(column6).setVolume(column7)
                            .setValueAxisFormat(cht.axisFormat().setLabel("value").setLabelColor(Color.BLUE)
                                    .setLabelFont(stl.fontArialBold())
                                    .setTickLabelFont(stl.fontArial().setItalic(true))
                                    .setTickLabelColor(Color.CYAN).setTickLabelMask("#,##0.00")
                                    .setLineColor(Color.LIGHT_GRAY).setRangeMinValueExpression(1)
                                    .setRangeMaxValueExpression(15).setVerticalTickLabels(true)));
}