public class BarChart<T extends Number> extends AbstractChart<BarData<T>,Long>
| Constructor and Description |
|---|
BarChart()
Construtor
|
BarChart(String title)
Construtor
|
BarChart(String title,
String labelX,
String labelY)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Collection<T> value)
Add a value for bar chart
|
void |
addValues(Collection<T>... value)
Add a value for bar chart
|
void |
addValues(T... values) |
ChartConfiguration<Long> |
getChartConfiguration()
Return chart configuration
|
BarData<T> |
getChartData()
Return chart data.
|
addIntervalColors, addIntervals, addSerie, addSeries, addSeriesColors, addSeriesColors, createAxes, createAxesDefaults, createXAxis, createYAxis, getAxes, getAxesDefaults, getCanvasOverlay, getGridPadding, getSeries, getSeriesColors, getSeriesDefaults, getTitle, getXAxis, getYAxis, setAxes, setAxesDefaults, setBarMargin, setBubbleAlpha, setCaptureRightClick, setDataLabels, setFill, setFillZero, setGridPadding, setHighlightAlpha, setHighlightMouseDown, setLabelX, setLabelY, setLegend, setLineWidth, setPadMin, setSeries, setSeriesColors, setSeriesDefaults, setShadow, setShadowAlpha, setShowDataLabels, setShowLabels, setSimpleTitle, setSliceMargin, setStackSeries, setTicks, setTitlepublic BarChart()
public BarChart(String title)
title - Set title of bar chartpublic void addValue(Collection<T> value)
value - Set collection of valuespublic void addValues(Collection<T>... value)
value - Set collection of valuespublic void addValues(T... values)
public BarData<T> getChartData()
Chartpublic ChartConfiguration<Long> getChartConfiguration()
ChartgetChartConfiguration in interface Chart<BarData<T extends Number>>getChartConfiguration in class AbstractChart<BarData<T extends Number>,Long>Copyright © 2019. All rights reserved.