Package org.apache.poi.ss.util

Examples of org.apache.poi.ss.util.DataMarker


  ChartAxis leftAxis = chart.getChartAxisFactory().createValueAxis(AxisPosition.LEFT);

  ScatterChartData scatterChartData =
      chart.getChartDataFactory().createScatterChartData();

  DataMarker xMarker = new DataMarker(sheet, CellRangeAddress.valueOf("A1:A10"));
  DataMarker yMarker = new DataMarker(sheet, CellRangeAddress.valueOf("B1:B10"));
  ScatterChartSerie serie = scatterChartData.addSerie(xMarker, yMarker);

  assertEquals(1, scatterChartData.getSeries().size());

  chart.plot(scatterChartData, bottomAxis, leftAxis);
View Full Code Here


  ChartAxis leftAxis = chart.getChartAxisFactory().createValueAxis(AxisPosition.LEFT);

  ScatterChartData scatterChartData =
      chart.getChartDataFactory().createScatterChartData();

  DataMarker xMarker = new DataMarker(sheet, CellRangeAddress.valueOf("A1:E1"));
  DataMarker yMarker = new DataMarker(sheet, CellRangeAddress.valueOf("A2:E2"));
  ScatterChartSerie serie = scatterChartData.addSerie(xMarker, yMarker);

  chart.plot(scatterChartData, bottomAxis, leftAxis);

  XSSFScatterChartData.Serie xssfScatterSerie =
View Full Code Here

TOP

Related Classes of org.apache.poi.ss.util.DataMarker

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.