@Beta public class XSSFDoughnutChartData extends Object implements CategoryData
| Constructor and Description |
|---|
XSSFDoughnutChartData() |
XSSFDoughnutChartData(XSSFChart chart) |
| Modifier and Type | Method and Description |
|---|---|
CategoryDataSerie |
addSerie(ChartTextSource title,
ChartDataSource<?> cats,
ChartDataSource<? extends Number> vals) |
void |
fillChart(Chart chart,
ChartAxis... axis)
Fills a charts with data specified by implementation.
|
List<? extends CategoryDataSerie> |
getSeries() |
public XSSFDoughnutChartData()
public XSSFDoughnutChartData(XSSFChart chart)
public CategoryDataSerie addSerie(ChartTextSource title, ChartDataSource<?> cats, ChartDataSource<? extends Number> vals)
addSerie in interface CategoryDatatitle - text source to be used for serie titlecats - category labels to be used for category serievals - data source to be used for category valuespublic void fillChart(Chart chart, ChartAxis... axis)
ChartDatapublic List<? extends CategoryDataSerie> getSeries()
getSeries in interface CategoryDataCopyright © 2020. All rights reserved.