Permalink
Browse files

Added readme file content and support for latest visualization attrib…

…utes viewWindow, pieChartTooltip, visibleInLegend, enableInteractivity and areaOpacity.
  • Loading branch information...
1 parent 97e5936 commit f81af27af243a0f981599fd3d9de950c220ed0fc @bmuschko committed Aug 27, 2011
View
@@ -0,0 +1,18 @@
+# Grails Google Visualization plugin
+
+## Overview
+
+The plugin provides a taglib for the interactive charts of the [Google Visualization API](http://code.google.com/apis/chart/index.html).
+You can find the [full documentation](http://www.grails.org/plugin/google-visualization) including examples on the Grails plugin page.
+
+## Features
+
+* Supports all visualizations provided by Google.
+* Implementations for table formatters `TableArrowFormat`, `TableBarFormat`, `TableColorFormat`, `TableDateFormat`, `TableNumberFormat` and `TablePatternFormat`.
+* Visualization event handling.
+
+## Development
+
+To report issues or request improvements and new features please add a ticket in [Jira](http://jira.grails.org/browse/GPGOOGLEVISUALIZATIONAPI)
+or open an issue on [GitHub](https://github.com/bmuschko/grails-google-visualization/issues). The plugin code gets built automatically
+on [Jenkins](https://bmuschko.ci.cloudbees.com/job/grails-google-visualization/) powered by CloudBees.
@@ -22,10 +22,12 @@ import org.grails.plugins.google.visualization.data.DataType
* @author <a href='mailto:benjamin.muschko@gmail.com'>Benjamin Muschko</a>
*/
enum AreaCoreChartConfigOption {
+ AREA_OPACITY("areaOpacity", [DataType.NUMBER]),
AXIS_TITLES_POSITION("axisTitlesPosition", [DataType.STRING]),
BACKGROUND_COLOR("backgroundColor", [DataType.STRING, DataType.OBJECT]),
CHART_AREA("chartArea", [DataType.OBJECT]),
COLORS("colors", [DataType.ARRAY]),
+ ENABLE_INTERACTIVITY("enableInteractivity", [DataType.BOOLEAN]),
FONT_SIZE("fontSize", [DataType.NUMBER]),
FONT_NAME("fontName", [DataType.STRING]),
H_AXIS("hAxis", [DataType.OBJECT]),
@@ -62,7 +64,7 @@ enum AreaCoreChartConfigOption {
}
@Override
- public String toString() {
+ String toString() {
"AreaCoreChartConfigOption{name='${name}', types='${types}'}"
}
}
@@ -26,6 +26,7 @@ enum BarCoreChartConfigOption {
BACKGROUND_COLOR("backgroundColor", [DataType.STRING, DataType.OBJECT]),
CHART_AREA("chartArea", [DataType.OBJECT]),
COLORS("colors", [DataType.ARRAY]),
+ ENABLE_INTERACTIVITY("enableInteractivity", [DataType.BOOLEAN]),
FONT_SIZE("fontSize", [DataType.NUMBER]),
FONT_NAME("fontName", [DataType.STRING]),
GRIDLINE_COLOR("gridlineColor", [DataType.STRING]),
@@ -26,6 +26,7 @@ enum CandlestickCoreChartConfigOption {
BACKGROUND_COLOR("backgroundColor", [DataType.STRING, DataType.OBJECT]),
CHART_AREA("chartArea", [DataType.OBJECT]),
COLORS("colors", [DataType.ARRAY]),
+ ENABLE_INTERACTIVITY("enableInteractivity", [DataType.BOOLEAN]),
FONT_SIZE("fontSize", [DataType.NUMBER]),
FONT_NAME("fontName", [DataType.STRING]),
GRIDLINE_COLOR("gridlineColor", [DataType.STRING]),
@@ -22,10 +22,12 @@ import org.grails.plugins.google.visualization.data.DataType
* @author <a href='mailto:benjamin.muschko@gmail.com'>Benjamin Muschko</a>
*/
enum ColumnCoreChartConfigOption {
+ AREA_OPACITY("areaOpacity", [DataType.NUMBER]),
AXIS_TITLES_POSITION("axisTitlesPosition", [DataType.STRING]),
BACKGROUND_COLOR("backgroundColor", [DataType.STRING, DataType.OBJECT]),
CHART_AREA("chartArea", [DataType.OBJECT]),
COLORS("colors", [DataType.ARRAY]),
+ ENABLE_INTERACTIVITY("enableInteractivity", [DataType.BOOLEAN]),
FONT_SIZE("fontSize", [DataType.NUMBER]),
FONT_NAME("fontName", [DataType.STRING]),
GRIDLINE_COLOR("gridlineColor", [DataType.STRING]),
@@ -22,11 +22,13 @@ import org.grails.plugins.google.visualization.data.DataType
* @author <a href='mailto:benjamin.muschko@gmail.com'>Benjamin Muschko</a>
*/
enum ComboCoreChartConfigOption {
+ AREA_OPACITY("areaOpacity", [DataType.NUMBER]),
AXIS_TITLES_POSITION("axisTitlesPosition", [DataType.STRING]),
BACKGROUND_COLOR("backgroundColor", [DataType.STRING, DataType.OBJECT]),
CHART_AREA("chartArea", [DataType.OBJECT]),
COLORS("colors", [DataType.ARRAY]),
CURVE_TYPE("curveType", [DataType.STRING]),
+ ENABLE_INTERACTIVITY("enableInteractivity", [DataType.BOOLEAN]),
FONT_SIZE("fontSize", [DataType.NUMBER]),
FONT_NAME("fontName", [DataType.STRING]),
GRIDLINE_COLOR("gridlineColor", [DataType.STRING]),
@@ -27,6 +27,7 @@ enum LineCoreChartConfigOption {
CHART_AREA("chartArea", [DataType.OBJECT]),
COLORS("colors", [DataType.ARRAY]),
CURVE_TYPE("curveType", [DataType.STRING]),
+ ENABLE_INTERACTIVITY("enableInteractivity", [DataType.BOOLEAN]),
FONT_SIZE("fontSize", [DataType.NUMBER]),
FONT_NAME("fontName", [DataType.STRING]),
GRIDLINE_COLOR("gridlineColor", [DataType.STRING]),
@@ -39,6 +39,7 @@ enum PieCoreChartConfigOption {
PIE_RESIDUE_SLICE_LABEL("pieResidueSliceLabel", [DataType.STRING]),
TITLE("title", [DataType.STRING]),
TITLE_TEXT_STYLE("titleTextStyle", [DataType.OBJECT]),
+ TOOLTIP_TEXT("tooltipText", [DataType.STRING]),
TOOLTIP_TEXT_STYLE("tooltipTextStyle", [DataType.OBJECT]),
WIDTH("width", [DataType.NUMBER])
@@ -27,6 +27,7 @@ enum ScatterCoreChartConfigOption {
CHART_AREA("chartArea", [DataType.OBJECT]),
COLORS("colors", [DataType.ARRAY]),
CURVE_TYPE("curveType", [DataType.STRING]),
+ ENABLE_INTERACTIVITY("enableInteractivity", [DataType.BOOLEAN]),
FONT_SIZE("fontSize", [DataType.NUMBER]),
FONT_NAME("fontName", [DataType.STRING]),
GRIDLINE_COLOR("gridlineColor", [DataType.STRING]),

0 comments on commit f81af27

Please sign in to comment.