Package component.chart.service.impl
Class DefaultSingleChartDataSetService
java.lang.Object
ru.cg.webbpm.modules.webkit.beans.Behavior
service.BehaviorWithGraphFilter
component.chart.service.impl.AbstractChartDatasetService
component.chart.service.impl.DefaultSingleChartDataSetService
- All Implemented Interfaces:
ChartDataSetService
,SingleChartDataSetService
,LoadGraphSource
public class DefaultSingleChartDataSetService
extends AbstractChartDatasetService
implements SingleChartDataSetService
- Author:
- kochetkov
-
Field Summary
FieldsFields inherited from class ru.cg.webbpm.modules.webkit.beans.Behavior
objectContext, objectId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addSorting
(ChartColumnSort[] aggregationDataSet, LoadOptions loadOptions) protected List<EntityFilter>
convertFilterModels
(Filter filter) protected String[]
generateBackGroundColors
(List<Object> data) protected SingleChartDataDto
loadAggregationDataSets
(LoadOptions loadOptions) protected LoadOptions
loadOptions
(Integer offset, Integer limit, Filter[] filters) protected SingleChartDataDto
loadStaticDataSets
(LoadOptions loadOptions) Methods inherited from class component.chart.service.impl.AbstractChartDatasetService
colorToHex, generateBackgroundColors, generateBackgroundColors, getAxesValue, getRandomColor
Methods inherited from class service.BehaviorWithGraphFilter
convertFilters, convertToComponentFilterGroup, getComponentFilter, getEntityFilterGroup
Methods inherited from class ru.cg.webbpm.modules.webkit.beans.Behavior
getChildScript, getChildScripts, getObjectId, getPageId, getParentContext, getScript, getScriptInObject, getScripts, getScriptsInChildren, setObjectContext, setObjectId, start
-
Field Details
-
loadDao
-
datasetType
-
aggregationDataSet
-
staticDataSet
-
backGroundColors
-
-
Constructor Details
-
DefaultSingleChartDataSetService
public DefaultSingleChartDataSetService()
-
-
Method Details
-
loadData
- Specified by:
loadData
in interfaceSingleChartDataSetService
-
loadAggregationDataSets
-
addSorting
-
convertFilterModels
- Overrides:
convertFilterModels
in classBehaviorWithGraphFilter
-
loadOptions
-
loadStaticDataSets
-
generateBackGroundColors
-