public interface ChartDef
| Modifier and Type | Method and Description |
|---|---|
Chart |
create(Context context,
boolean evaluateDataSet)
Creates an instance of chart definition.
|
Chart |
create(Context context,
boolean isDraftConfig,
java.util.Collection<java.util.HashMap<java.lang.String,java.lang.String>> dashboardData,
boolean evaluateDataSet)
Creates an instance of chart definition.
|
Chart |
create(Context context,
java.util.Collection<java.util.HashMap<java.lang.String,java.lang.String>> dashboardData,
boolean evaluateDataSet)
Creates an instance of chart definition.
|
java.lang.String |
getAnimateOnLoad()
Reference to a JavaScript function which registers a chart animation.
|
java.lang.String |
getColors()
Custom colors options for the chart specified by configurator of the*
|
java.util.Collection<DataSerieDef> |
getDataSerieDefs()
One or more data series to display in the chart.
|
java.lang.String |
getDataType()
Type of data in chart.
|
DrillDown |
getDrillDown()
Defines how drill downs are performed.
|
java.lang.String |
getExternalSource()
Reference to a String URL or aJavaScript function which provides request or string to pull the data from external source
|
java.lang.String |
getExternalSourceDataFunction()
Reference to a JavaScript function which converts the response to data in a way accepted by charts
|
java.lang.String |
getFillColors()
Custom colors options for the chart specified by configurator of the*
|
java.lang.String |
getFnOptions()
Custom function options for the chart specified by configurator of the system.
|
java.lang.String |
getOnClick()
Reference to javascript function which is invoked when user clicks on
chart elements.
|
java.lang.String |
getOptions()
Custom options for the chart specified by configurator of the system.
|
java.lang.String |
getResponsiveOptions()
Custom responsive options for the chart specified by configurator of the
system.
|
Sorting |
getSorting()
Controls how to sort the data.
|
java.lang.Integer |
getTop()
Defines the number of entries in the chart to display.
|
boolean |
isStack()
Controls if series should be stacked.
|
boolean |
showLegend()
Controls if legend should be displayed.
|
boolean |
showTooltip()
Controls if tooltips should be displayed.
|
java.lang.String getOptions()
java.lang.String getResponsiveOptions()
java.lang.String getColors()
java.lang.String getFillColors()
java.util.Collection<DataSerieDef> getDataSerieDefs()
boolean isStack()
boolean showTooltip()
java.lang.Integer getTop()
java.lang.String getOnClick()
DrillDown getDrillDown()
Sorting getSorting()
java.lang.String getDataType()
java.lang.String getFnOptions()
java.lang.String getExternalSource()
java.lang.String getExternalSourceDataFunction()
Chart create(Context context, boolean evaluateDataSet)
context - Objects user is looking at in UIevaluateDataSet - Determines if the dataset is evaluated. Typicially
not needed when doing drilldowns in dashboards.Chart create(Context context, java.util.Collection<java.util.HashMap<java.lang.String,java.lang.String>> dashboardData, boolean evaluateDataSet)
context - Objects user is looking at in UIdashboardData - data from dashboard level ( hashmap of relationship_id /
object_id)evaluateDataSet - Determines if the dataset is evaluated. Typicially not
needed when doing drilldowns in dashboards.Chart create(Context context, boolean isDraftConfig, java.util.Collection<java.util.HashMap<java.lang.String,java.lang.String>> dashboardData, boolean evaluateDataSet)
context - Objects user is looking at in UIisDraftConfig - - the dashboard that loads this widget is draft or notdashboardData - data from dashboard level ( hashmap of relationship_id /
object_id)evaluateDataSet - Determines if the dataset is evaluated. Typicially not
needed when doing drilldowns in dashboards.boolean showLegend()
java.lang.String getAnimateOnLoad()