Package org.dashbuilder.renderer.chartjs
Class ChartJsDisplayer<V extends ChartJsDisplayer.View>
- java.lang.Object
-
- org.dashbuilder.displayer.client.AbstractDisplayer<V>
-
- org.dashbuilder.displayer.client.AbstractGwtDisplayer<V>
-
- org.dashbuilder.renderer.chartjs.ChartJsDisplayer<V>
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,org.dashbuilder.displayer.client.Displayer,org.dashbuilder.displayer.client.DisplayerListener
- Direct Known Subclasses:
ChartJsBarChartDisplayer
public abstract class ChartJsDisplayer<V extends ChartJsDisplayer.View> extends org.dashbuilder.displayer.client.AbstractGwtDisplayer<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChartJsDisplayer.View<P extends ChartJsDisplayer>
-
Field Summary
Fields Modifier and Type Field Description static String[]COLOR_ARRAY
-
Constructor Summary
Constructors Constructor Description ChartJsDisplayer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateVisualization()protected voiddrawChart()protected voidpushDataToView()protected voidupdateFilterStatus()protected voidupdateVisualization()-
Methods inherited from class org.dashbuilder.displayer.client.AbstractDisplayer
addFormatter, addListener, afterClose, afterDataSetLookup, afterDraw, afterLoad, afterRedraw, asWidget, beforeDataSetLookup, beforeLoad, checkDisplayerSettings, close, createDisplayerConstraints, draw, export, filterApply, filterApply, filterColumns, filterIndexes, filterInterval, filterIntervals, filterReset, filterReset, filterUpdate, filterUpdate, filterUpdate, formatDate, formatDateDynamic, formatDateFixed, formatInterval, formatValue, formatValue, getDataSetHandler, getDisplayerConstraints, getDisplayerId, getDisplayerSettings, getEvaluator, getFormatter, getFormatter, getView, handleError, handleError, handleError, handleError, isDrawn, isRefreshOn, onClose, onDataLoaded, onDataLookup, onDraw, onError, onFilterEnabled, onFilterEnabled, onFilterReset, onFilterReset, onFilterUpdate, onRedraw, parseDynamicGroupDate, redraw, setDataSetHandler, setDisplayerSettings, setEvaluator, setFormatter, setRefreshOn, showError, sortApply, updateRefreshTimer
-
-
-
-
Field Detail
-
COLOR_ARRAY
public static final String[] COLOR_ARRAY
-
-
Method Detail
-
createVisualization
protected void createVisualization()
- Specified by:
createVisualizationin classorg.dashbuilder.displayer.client.AbstractDisplayer<V extends ChartJsDisplayer.View>
-
updateVisualization
protected void updateVisualization()
- Specified by:
updateVisualizationin classorg.dashbuilder.displayer.client.AbstractDisplayer<V extends ChartJsDisplayer.View>
-
drawChart
protected void drawChart()
-
updateFilterStatus
protected void updateFilterStatus()
-
pushDataToView
protected void pushDataToView()
-
-