Uses of Class
com.jbstrap.ui.components.sparkline.Sparkline
-
Uses of Sparkline in com.jbstrap.ui.components.sparkline
Modifier and TypeMethodDescriptionSparkline.addComponent
(Component<?> component) Adds another sparkline component to the current one.Sparkline.addComponents
(Component<?>... components) Adds multiple sparkline components to the current one.Sparkline.clearValue()
Deletes sparkline component values.Sparkline.fetchData()
Queries data from the database.Sparkline.redraw()
Redraws the component on the interface.Sparkline.removeComponent
(Component<?> component) Removes a sparkline component from the current one.Sparkline.removeComponents
(Component<?>... components) Removes multiple sparkline components from the current one.Sparkline.setAutoFetchData
(boolean autoFetch) Sets if the component automatically queries the data from the database upon being displayed.Sparkline.setChartRangeMax
(Integer chartRangeMax) Sets the maximum value for the chart.Sparkline.setChartRangeMin
(Integer chartRangeMin) Sets the minimum value for the chart.Sets chart color.Sparkline.setCustomFetch
(FetchEvent fetchEvent) Sets a custom query.Sparkline.setDataColumn
(String dataColumn) Sets the data column name.Sparkline.setDataDescriptor
(DataDescriptor dataDescriptor) Sets the sparkline DataDescriptor.Sparkline.setFilterCriteria
(Criteria criteria) Sets the filter criterion used during data query.Sets component height.Sets component height.Sparkline.setIdFieldName
(String fieldName) Sets the DataDescriptor column name.Sparkline.setNegativeColor
(String negativeColor) Sets the color of the negative values on the chart.Sparkline.setSourceId
(Object sourceId) Sets the data column name.Sparkline.setTooltipChartTitle
(String tooltipChartTitle) Sets the tooltip header text.Sparkline.setTooltipFormat
(String tooltipFormat) Sets the tooltip format as a JavaScript.Sparkline.setTooltipPrefix
(String tooltipPrefix) Sets the prefix in the tooltip value.Sparkline.setTooltipSuffix
(String tooltipSuffix) Sets the suffix in the tooltip value.Sparkline.setType
(SparklineType type) Sets displayed chart type.Sets the component’s displayed values.Sets the component width.Sets the component width.