Uses of Class
com.jbstrap.ui.components.charts.ChartCanvas
-
Uses of ChartCanvas in com.jbstrap.core.event
Modifier and TypeMethodDescriptionChartLassoEvent.getCanvas()
Gets the chart canvas component that triggered the event.ChartClickEvent.getChartCanvas()
Gets the chart canvas component that triggered the event.Modifier and TypeMethodDescriptionprotected ChartLassoEvent
ChartLassoEvent.setCanvas
(ChartCanvas canvas) Sets the chart component that triggered the event. -
Uses of ChartCanvas in com.jbstrap.ui.components.charts
Modifier and TypeFieldDescriptionprotected ChartCanvas
BaseChart.canvas
Chart canvas instance containing the chart.Modifier and TypeMethodDescriptionAdds a chart to the chart canvas component.BaseChart.getCanvas()
Gets the ChartCanvas instance that displays the chart.ChartCanvas.removeChart
(BaseChart<?> chart) Removes a chart from the chart canvas component.ChartCanvas.removeChart
(String chartName) Removes a chart previously added to a canvas by specifying the chart’s name.ChartCanvas.setDualYaxes
(boolean isDualYAxes) Sets the chart canvas height.ChartCanvas.setLegendFontColor
(String color) Sets the legend’s text color.ChartCanvas.setLegendPosition
(LegendPosition position) Sets the legend’s position.ChartCanvas.setNoDataFoundText
(String noDataFoundText) Sets a text label that is displayed instead of the chart if the framework is unable to display any data on the chart canvas component.ChartCanvas.setShowBorder
(boolean showBorder) Sets if a border should be displayed on the chart canvas.ChartCanvas.setShowLegend
(boolean showLegend) Displays the chart legend.ChartCanvas.setShowShadow
(boolean showShadow) Sets if there should be a shadow on the chart canvas.ChartCanvas.setShowTitle
(boolean showTitle) Sets if the chart title should be displayed on the chart.Sets the chart title.ChartCanvas.setTitleFontColor
(String color) Sets the chart color.ChartCanvas.setTitleFontSize
(String fontSize) Sets the chart title font size.ChartCanvas.setTitleFontWeight
(FontWeight fontWeight) Sets the chart title font weight.ChartCanvas.setTitlePosition
(ChartTitlePosition titlePosition) Sets the chart title position.ChartCanvas.setTooltipFreezable
(boolean freezable) Sets if the user is allowed to freeze a displayed tooltip.ChartCanvas.setTooltipRendered
(ChartTooltipRenderer renderer) Sets a tooltip renderer method that creates custom tooltips.ChartCanvas.setTooltipType
(TooltipType tooltipType) Sets the chart’s tooltip type.Modifier and TypeMethodDescriptionprotected void
BaseChart.setParent
(ChartCanvas canvas) Sets the canvas that displays the chart.