org.apache.poi.xssf.usermodel.charts
Class XSSFLineChartData

java.lang.Object
  extended by org.apache.poi.xssf.usermodel.charts.XSSFLineChartData
All Implemented Interfaces:
ChartData, LineChartData

@Beta
public class XSSFLineChartData
extends java.lang.Object
implements LineChartData

Author:
Martin Andersson

Constructor Summary
XSSFLineChartData()
           
 
Method Summary
 LineChartSerie addSerie(ChartDataSource<?> categoryAxisData, ChartDataSource<? extends java.lang.Number> values)
           
 void fillChart(Chart chart, ChartAxis... axis)
          Fills a charts with data specified by implementation.
 java.util.List<? extends LineChartSerie> getSeries()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSSFLineChartData

public XSSFLineChartData()
Method Detail

addSerie

public LineChartSerie addSerie(ChartDataSource<?> categoryAxisData,
                               ChartDataSource<? extends java.lang.Number> values)
Specified by:
addSerie in interface LineChartData
Parameters:
categoryAxisData - data source for categories.
values - data source for values.
Returns:
a new line chart serie.

getSeries

public java.util.List<? extends LineChartSerie> getSeries()
Specified by:
getSeries in interface LineChartData
Returns:
list of all series.

fillChart

public void fillChart(Chart chart,
                      ChartAxis... axis)
Description copied from interface: ChartData
Fills a charts with data specified by implementation.

Specified by:
fillChart in interface ChartData
Parameters:
chart - a charts to fill in
axis - charts axis to use


Copyright 2014 The Apache Software Foundation or its licensors, as applicable.