setValueExpressionProperty(chart, "model");
setEnumerationProperty(chart, "view", ChartViewType.class);
String titleText = getPropertyValue("titleText");
if (titleText != null) {
ChartTitle title = new ChartTitle();
title.setId(Components.generateIdWithSuffix(chart, "chartTitle"));
setStringProperty(title, "text", titleText, "titleText");
chart.getChildren().add(title);
title.setTextStyle("font-size: 14pt;");
}
setIntProperty(chart, "height");
setIntProperty(chart, "width");
setBooleanProperty(chart, "legendVisible");