Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      org.apache.poi.xssf.usermodel.charts.XSSFLineChartData

All Implemented Interfaces:
  ChartData, LineChartData

    @Beta
    public class XSSFLineChartData

extends java.lang.Object
implements LineChartData

Holds data for a XSSF Line Chart

Constructor Summary
`XSSFLineChartData()`

Method Summary
`LineChartSeries` | `addSeries(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 LineChartSeries>` | `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

### addSeries

    public LineChartSeries addSeries(ChartDataSource<?> categoryAxisData,
                                     ChartDataSource<? extends java.lang.Number> values)

  Specified by:
    `addSeries` 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 LineChartSeries> 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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