Created
December 18, 2012 04:50
-
-
Save kevindoran/4325108 to your computer and use it in GitHub Desktop.
Back-end chart-model for JSF-Highchart charts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ColumnChartSeries { | |
| private ArrayList<ColumnData> columnData = new ArrayList<>(); | |
| public ColumnChartSeries() { | |
| } | |
| public void addColumn(String columnName, Number value) { | |
| ColumnData d = new ColumnData(columnName, value); | |
| columnData.add(d); | |
| } | |
| public void removeAll() { | |
| columnData = new ArrayList<>(); | |
| } | |
| public List<ColumnData> getColumns() { | |
| return columnData; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment