@Beta public class XSSFBarChartData extends Object implements CategoryData
Constructor and Description |
---|
XSSFBarChartData() |
XSSFBarChartData(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.
|
ChartDirection |
getBarDirection() |
int |
getBarOverlap() |
ChartGrouping |
getGrouping() |
List<? extends CategoryDataSerie> |
getSeries() |
void |
setBarDirection(ChartDirection barDir) |
void |
setBarOverlap(int overlap) |
void |
setGrouping(ChartGrouping grouping) |
public XSSFBarChartData()
public XSSFBarChartData(XSSFChart chart)
public ChartGrouping getGrouping()
public void setGrouping(ChartGrouping grouping)
public ChartDirection getBarDirection()
public void setBarDirection(ChartDirection barDir)
public CategoryDataSerie addSerie(ChartTextSource title, ChartDataSource<?> cats, ChartDataSource<? extends Number> vals)
addSerie
in interface CategoryData
title
- 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)
ChartData
public List<? extends CategoryDataSerie> getSeries()
getSeries
in interface CategoryData
public int getBarOverlap()
public void setBarOverlap(int overlap)
Copyright © 2020. All rights reserved.