private int getIntValue(Object obj) {
return Integer.valueOf(obj.toString());
}
private void populate(LineChart chart) {
Options options = Options.create();
options.setWidth(getOffsetWidth());
options.setHeight(getOffsetHeight());
options.setTitle(this.graphTitle);
options.setTitleX(this.graphXTitle);
options.setTitleY(this.graphYTitle);
DataTable dataTable = DataTable.create();
if (dataStructRep != null) {
for (Map.Entry<String, String> col : dataStructRep) {
dataTable.addColumn(ColumnType.valueOf(col.getValue()), col.getKey());
}