Uses of Interface
org.pepstock.charba.client.IsChart
-
Packages that use IsChart Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.IDplugin (AKAchartjs-plugin-annotation.js) for CHART.js.org.pepstock.charba.client.callbacks All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.org.pepstock.charba.client.colors Contains the enumerations of HTML and GWT Material colors, to consume out-of-the-box, and utilities to create and manage own colors and classes to define gradients of patterns for charts.org.pepstock.charba.client.commons Core classes to manage the inter-operations with java script code.org.pepstock.charba.client.configuration Contains all elements to configure a chart instance (know as chart options at instance level).org.pepstock.charba.client.controllers Contains all classes to manage the implementations of controllers.org.pepstock.charba.client.data Contains all elements to configure the datasets of a chart instance (know as chart data at instance level).org.pepstock.charba.client.datalabels Contains all classes to activate theDataLabelsPlugin.IDplugin (AKAchartjs-plugin-datalabels.js) for CHART.js.org.pepstock.charba.client.events Contains all events to interact with chart instance.org.pepstock.charba.client.geo Contains all classes to activate the GEO controllers (AKAchartjs-chart-geo.js) for CHART.js.org.pepstock.charba.client.gwt.widgets Contains all charts classes wrapped as GWT widget in order to enable to use inside to GWT UIBinder.org.pepstock.charba.client.impl.callbacks Contains some callbacks implementations, available out-of-the box.org.pepstock.charba.client.impl.charts Contains METER and GAUGE charts implementations (based on controllers), available out-of-the box.org.pepstock.charba.client.impl.plugins Contains some plugins implementations, available out-of-the box.org.pepstock.charba.client.items Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.org.pepstock.charba.client.labels Contains all classes to useLabelsPlugin.IDplugin (AKAchartjs-plugin-labels.js) available for CHART.JS.org.pepstock.charba.client.matrix Contains all classes to activate the Matrix controller (AKAchartjs-chart-matrix.js) for CHART.js.org.pepstock.charba.client.options Contains all elements to configure charts at global level (know as chart global options).org.pepstock.charba.client.plugins Contains all classes to manage the plugin implementations.org.pepstock.charba.client.plugins.hooks Contains all hooks interfaces used bySmartPluginin order to activate a custom plugin.org.pepstock.charba.client.positioner Contains all classes to implement a custom tooltip positioner for CHART.JS.org.pepstock.charba.client.sankey Contains all classes to activate the Sankey controller (AKAchartjs-chart-sankey.js) for CHART.js.org.pepstock.charba.client.treemap Contains all classes to activate the TreeMap controller (AKAchartjs-chart-treemap.js) for CHART.js.org.pepstock.charba.client.utils Contains some utilities to use in Charba, like HTML annotation builder, and other java script utilities useful for debugging.org.pepstock.charba.client.zoom Contains all classes to activate theZoomPlugin.IDplugin (AKAchartjs-plugin-zoom.js) for CHART.js. -
-
Uses of IsChart in org.pepstock.charba.client
Classes in org.pepstock.charba.client that implement IsChart Modifier and Type Class Description classAbstractChartBase class of all charts.
It contains Chart.js initialization.classAreaChartAREA chart implementation.
A area chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classBarChartBAR chart implementation.
A bar chart provides a way of showing data values represented as vertical bars.
It is sometimes used to show trend data, and the comparison of multiple data sets side by side.classBubbleChartBUBBLE chart implementation.
A bubble chart is used to display three dimensions of data at the same time.
The location of the bubble is determined by the first two dimensions and the corresponding horizontal and vertical axes.
The third dimension is represented by the size of the individual bubbles.classDoughnutChartDOUGHNUT chart implementation.
A doughnut charts are divided in the segments, the arc of each segment shows the proportional value of each piece of data.classHorizontalBarChartHORIZONTAL BAR chart implementation.
A horizontal bar chart is a variation on a bar chart.
It is sometimes used to show trend data, and the comparison of multiple data sets side by side.classLineChartLINE chart implementation.
A line chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classPieChartPIE chart implementation.
A pie charts are divided in the segments, the arc of each segment shows the proportional value of each piece of data.
They are excellent at showing the relational proportions between data.classPolarAreaChartPOLAR AREA chart implementation.
Polar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value.
This type of chart is often useful when we want to show a comparison data similar to a pie chart, but also show a scale of values for context.classRadarChartRADAR chart implementation.
A radar chart is a way of showing multiple data points and the variation between them.
They are often useful for comparing the points of two or more different data sets.classScatterChartSCATTER chart implementation.
Scatter charts are based on basic line charts with the x axis changed to a linear axis.
To use a scatter chart, data must be passed as objects containing X and Y properties.classStackedAreaChartSTACKED AREA chart implementation.
A stacked area chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classStackedBarChartSTACKED BAR chart implementation.
Stacked bar charts can be configured like bar charts and changes the settings on the X and Y axes to enable stacking.
Stacked bar charts can be used to show how one data series is made up of a number of smaller pieces.classStackedHorizontalBarChartSTACKED HORIZONTAL BAR chart implementation.
Stacked bar charts can be configured like bar charts and changes the settings on the X and Y axes to enable stacking.
Stacked bar charts can be used to show how one data series is made up of a number of smaller pieces.classStackedLineChartSTACKED LINE chart implementation.
A stacked area chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classStackedVerticalLineChartSTACKED VERTICAL LINE chart implementation.
A stacked area chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classTimeSeriesBarChartBAR chart implementation for time series.
A bar chart provides a way of showing data values represented as vertical bars.classTimeSeriesLineChartLINE chart implementation for time series.
A line chart is a way of plotting data points on a line.classVerticalLineChartVertical LINE chart implementation.
A line chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.Methods in org.pepstock.charba.client with type parameters of type IsChart Modifier and Type Method Description static <T extends IsChart>
TIsChart. checkAndGetIfConsistent(T chart)Check if chart passed as argument is notnulland its id is notnullas well, and if mandatory methods of interface will return consistent instances.
If not, throw aIllegalArgumentExceptionor returns the chart instance.Methods in org.pepstock.charba.client that return IsChart Modifier and Type Method Description static IsChartIsChart. checkAndGetIfValid(IsChart chart)Check if chart passed as argument is notnulland its id is notnullas well.
If not, throw aIllegalArgumentExceptionor returns the chart instance.static IsChartCharts. get(String chartId)Returns the chart instance by its id.IsChartChart. getChart()Returns the CHARBA chart ornullif CHARBA id is not present in the CAHRT.JS chart options.protected IsChartAbstractChart. getSource()Methods in org.pepstock.charba.client with parameters of type IsChart Modifier and Type Method Description static IsChartIsChart. checkAndGetIfValid(IsChart chart)Check if chart passed as argument is notnulland its id is notnullas well.
If not, throw aIllegalArgumentExceptionor returns the chart instance.static voidIsChart. checkIfConsistent(IsChart chart)Check if chart passed as argument is notnulland its id is notnullas well, and if mandatory methods of interface will return consistent instances.
If not, throw aIllegalArgumentException.static voidIsChart. checkIfValid(IsChart chart)Checks if chart passed as argument is notnulland its id is notnullas well.
If not, throw aIllegalArgumentException.voidHelpers. clipArea(IsChart chart)Clips an area on the canvas context using theChartAreaNodeof the chart.voidHelpers. clipArea(IsChart chart, double width, double height)Clips an area on the canvas context, using theCanvasof the chart.
The area is specified by size.
Starting points are 0.voidHelpers. clipArea(IsChart chart, double x, double y, double width, double height)Clips an area on the canvas context, using theCanvasof the chart.
The area is specified by coordinates and size.voidHelpers. clipArea(IsChart chart, IsArea area)Clips an area on the canvas context, using theCanvasof the chart.voidChartTimerTask. execute(IsChart chart)Executes the task repeatedly, internally by the chart instance.List<LegendLabelItem>Defaults. generateLabels(IsChart chart)Returns an unmodifiable list of legend labels for that chart with the callback provided by CHART.JS out of the box.static ChartCharts. getNative(IsChart chart)Returns the CHART.JS chart instance by chart instance.EventPointHelpers. getRelativePosition(IsChart chart, NativeBaseEvent event)A common occurrence is taking an event, such as a click, and finding the data coordinates on the chart where the event occurred.EventPointHelpers. getRelativePosition(IsChart chart, AbstractEvent event)A common occurrence is taking an event, such as a click, and finding the data coordinates on the chart where the event occurred.static booleanCharts. hasNative(IsChart chart)Returnstrueif there is a CHART.JS chart instance by chart instance.List<String>Defaults. invokeTooltipsCallbackOnLabel(IsChart chart, TooltipItem item)Returns the default text to render for an individual item in the tooltip.TooltipLabelColorDefaults. invokeTooltipsCallbackOnLabelColor(IsChart chart, TooltipItem item)Returns the default colors to render for the tooltip item.TooltipLabelPointStyleDefaults. invokeTooltipsCallbackOnLabelPointStyle(IsChart chart, TooltipItem item)Returns the default point style to render for the tooltip item.List<String>Defaults. invokeTooltipsCallbackOnTitle(IsChart chart, List<TooltipItem> items)Returns the default text to render as the title of the tooltip.static booleanIsChart. isAbstractChart(IsChart chart)Returnstrueif chart passed as argument is an abstract chart instance.static booleanController. isConsistent(Controller controller, ControllerContext context, IsChart chart)Returnstrueif all arguments are consistent.static booleanIsChart. isConsistent(IsChart chart)Returnstrueif chart passed as argument is notnulland its id is notnullas well, and if mandatory methods of interface will return consistent instances.static booleanIsChart. isValid(IsChart chart)Returnstrueif chart passed as argument is notnulland its id is notnullas well.voidConfigurationElement. load(IsChart chart, Configuration configuration)Called to enable to load in the a configuration object the specific configuration item (by native object).default voidPlugin. onAfterBuildTicks(IsChart chart, PluginScaleArgument argument)Called after scale has build its ticks.
This hook is called separately for each scale in the chart.default voidChartsLifecycleListener. onAfterConfigure(IsChart chart)Called after 'chart' has been configured.default voidPlugin. onAfterDataLimits(IsChart chart, PluginScaleArgument argument)Called after scale data limits are calculated.
This hook is called separately for each scale in the chart.default voidPlugin. onAfterDatasetDraw(IsChart chart, PluginDatasetArgument item)Called after the 'chart' datasets at the given 'args.index' have been drawn (datasets are drawn in the reverse order).
Note that this hook will not be called if the datasets drawing has been previously cancelled.default voidPlugin. onAfterDatasetsDraw(IsChart chart)Called after the 'chart' datasets have been drawn.
Note that this hook will not be called if the datasets drawing has been previously cancelled.default voidPlugin. onAfterDatasetsUpdate(IsChart chart, PluginUpdateArgument argument)Called after the 'chart' datasets have been updated.
Note that this hook will not be called if the datasets update has been previously cancelled.default voidPlugin. onAfterDatasetUpdate(IsChart chart, PluginDatasetArgument item)Called after the 'chart' datasets at the given 'args.index' has been updated.
Note that this hook will not be called if the datasets update has been previously cancelled.default voidChartsLifecycleListener. onAfterDestroy(IsChart chart)Called after the chart has been destroyed.default voidPlugin. onAfterDestroy(IsChart chart)Called after the chart has been destroyed.default voidController. onAfterDraw(ControllerContext context, IsChart chart)Called after it draws the representation of the data set.default voidPlugin. onAfterDraw(IsChart chart)Called after the 'chart' has been drawn.
Note that this hook will not be called if the drawing has been previously cancelled.default voidPlugin. onAfterEvent(IsChart chart, PluginEventArgument argument)Called after the 'event' has been consumed.
Note that this hook will not be called if the 'event' has been previously discarded.default voidChartsLifecycleListener. onAfterInit(IsChart chart)Called after 'chart' has been initialized.default voidPlugin. onAfterInit(IsChart chart, Chart nativeChart)Called after 'chart' has been initialized and before the first update.default voidController. onAfterInitialize(ControllerContext context, IsChart chart)Called after it initializes the controller.default voidPlugin. onAfterLayout(IsChart chart)Called after the 'chart' has been layed out.
Note that this hook will not be called if the layout update has been previously cancelled.default voidController. onAfterLinkScales(ControllerContext context, IsChart chart)Called after it ensures that the data set represented by this controller is linked to a scale.default voidController. onAfterParse(ControllerContext context, IsChart chart, int start, int count)Called after it invokes to parse the data into the controller meta data.default voidPlugin. onAfterRender(IsChart chart)Called after the 'chart' has been fully rendered (and animation completed).
Note that this hook will not be called if the rendering has been previously cancelled.default voidPlugin. onAfterTooltipDraw(IsChart chart, PluginTooltipArgument item)Called after drawing the 'tooltip'.
Note that this hook will not be called if the tooltip drawing has been previously cancelled.default voidController. onAfterUpdate(ControllerContext context, IsChart chart, TransitionKey mode)Called after it updates the elements in response to new data.default voidPlugin. onAfterUpdate(IsChart chart, PluginUpdateArgument argument)Called after 'chart' has been updated and before rendering.
Note that this hook will not be called if the chart update has been previously cancelled.default voidPlugin. onBeforeBuildTicks(IsChart chart, PluginScaleArgument argument)Called before scale builds its ticks.
This hook is called separately for each scale in the chart.default voidChartsLifecycleListener. onBeforeConfigure(IsChart chart)Called before configuring 'chart'.default voidPlugin. onBeforeDataLimits(IsChart chart, PluginScaleArgument argument)Called before scale data limits are calculated.
This hook is called separately for each scale in the chart.default booleanPlugin. onBeforeDatasetDraw(IsChart chart, PluginDatasetArgument item)Called before drawing the 'chart' dataset at the given 'args.index' (datasets are drawn in the reverse order).
If any plugin returnsfalse, the datasets drawing is cancelled until another 'render' is triggered.default booleanPlugin. onBeforeDatasetsDraw(IsChart chart)Called before drawing the 'chart' datasets.default booleanPlugin. onBeforeDatasetsUpdate(IsChart chart, PluginUpdateArgument argument)Called before updating the 'chart' datasets.
If any plugin returnsfalse, the datasets update is cancelled until another 'update' is triggered.default booleanPlugin. onBeforeDatasetUpdate(IsChart chart, PluginDatasetArgument item)Called before updating the 'chart' dataset at the given 'args.index'.
If any plugin returnsfalse, the datasets update is cancelled until another 'update' is triggered.default voidChartsLifecycleListener. onBeforeDestroy(IsChart chart)Called before the chart has been destroyed.default voidPlugin. onBeforeDestroy(IsChart chart)Called before the chart is being destroyed.default voidController. onBeforeDraw(ControllerContext context, IsChart chart)Called before it draws the representation of the data set.default booleanPlugin. onBeforeDraw(IsChart chart)Called before drawing 'chart' at every animation frame.
If any plugin returnsfalse, the frame drawing is cancelled until another 'render' is triggered.default voidPlugin. onBeforeElementsUpdate(IsChart chart)Called during the update process, before any chart elements have been created.default booleanPlugin. onBeforeEvent(IsChart chart, PluginEventArgument argument)Called before processing the specified 'event'.
If any plugin returnsfalse, the event will be discarded.default voidChartsLifecycleListener. onBeforeInit(IsChart chart)Called before initializing 'chart'.default voidPlugin. onBeforeInit(IsChart chart)Called before initializing 'chart'.default voidController. onBeforeInitialize(ControllerContext context, IsChart chart)Called before it initializes the controller.default booleanPlugin. onBeforeLayout(IsChart chart)Called before laying out 'chart'.
If any plugin returnsfalse, the layout update is cancelled until another 'update' is triggered.default voidController. onBeforeLinkScales(ControllerContext context, IsChart chart)Called before it ensures that the data set represented by this controller is linked to a scale.default voidController. onBeforeParse(ControllerContext context, IsChart chart, int start, int count)Called before it invokes to parse the data into the controller meta data.default booleanPlugin. onBeforeRender(IsChart chart)Called before rendering 'chart'.default booleanPlugin. onBeforeTooltipDraw(IsChart chart, PluginTooltipArgument item)Called before drawing the 'tooltip'.
If any plugin returnsfalse, the tooltip drawing is cancelled until another 'render' is triggered.default voidController. onBeforeUpdate(ControllerContext context, IsChart chart, TransitionKey mode)Called before it updates the elements in response to new data.default booleanPlugin. onBeforeUpdate(IsChart chart, PluginUpdateArgument argument)Called before updating 'chart'.
If any plugin returnsfalse, the update is cancelled (and thus subsequent render(s)) until another 'update' is triggered.default voidPlugin. onBeginDrawing(IsChart chart, boolean overridePreviousUpdate)Called before every drawing cycle, coming from initialization, updating or rendering of chart.default voidPlugin. onConfigure(IsChart chart)Called before initializing configuration of 'chart'.default voidPlugin. onEndDrawing(IsChart chart)Called after every drawing cycle, coming from initialization, updating or rendering of chart.default voidPlugin. onInstall(IsChart chart)Called when plugin is installed for this chart instance.
This hook is also invoked for disabled plugins (options equals to false).default voidPlugin. onReset(IsChart chart)Called during chart reset.default voidPlugin. onResize(IsChart chart, PluginResizeArgument argument)Called after the chart as been resized.default voidPlugin. onStart(IsChart chart)Called when a plugin is starting.
This happens when chart is created or plugin is enabled.default voidPlugin. onStop(IsChart chart)Called when a plugin stopping.
This happens when chart is destroyed or plugin is disabled.default voidPlugin. onUninstall(IsChart chart)Called after chart is destroyed on all plugins that were installed for that chart.
This hook is also invoked for disabled plugins (options equals to false). -
Uses of IsChart in org.pepstock.charba.client.annotation
Constructors in org.pepstock.charba.client.annotation with parameters of type IsChart Constructor Description AnnotationOptions(IsChart chart)Creates newAnnotationPlugin.IDplugin options, relating to chart instance for default.BoxAnnotation(String id, IsChart chart)Creates a box annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.BoxAnnotation(AnnotationId id, IsChart chart)Creates a box annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.EllipseAnnotation(String id, IsChart chart)Creates a ellipse annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.EllipseAnnotation(AnnotationId id, IsChart chart)Creates a ellipse annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.LabelAnnotation(String id, IsChart chart)Creates a label annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.LabelAnnotation(AnnotationId id, IsChart chart)Creates a label annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.LineAnnotation(String id, IsChart chart)Creates a line annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.LineAnnotation(AnnotationId id, IsChart chart)Creates a line annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.PointAnnotation(String id, IsChart chart)Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.PointAnnotation(AnnotationId id, IsChart chart)Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.PolygonAnnotation(String id, IsChart chart)Creates a polygon annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.PolygonAnnotation(AnnotationId id, IsChart chart)Creates a polygon annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object. -
Uses of IsChart in org.pepstock.charba.client.callbacks
Methods in org.pepstock.charba.client.callbacks that return IsChart Modifier and Type Method Description IsChartChartContext. getChart()Returns the CHARBA chart instance.static IsChartScriptableUtil. retrieveChart(ChartContext context)Returns the chart instance, contained in the context if context is consistent.Methods in org.pepstock.charba.client.callbacks with parameters of type IsChart Modifier and Type Method Description StringCrosshairFormatterCallback. format(IsChart chart, ScaleItem scale, ScaleValueItem value)Returns the text to apply to the crosshair label.List<LegendLabelItem>LegendLabelsCallback. generateLegendLabels(IsChart chart, List<LegendLabelItem> defaultLabels)Generates legend items for each thing in the legend.SafeHtmlHtmlLegendCallback. generateText(IsChart chart, T item, String currentText)Returns a text of legend for a specific item or legend's title, as HTMLList<String>AbstractTooltipBodyCallback. onAfterBody(IsChart chart, List<TooltipItem> items)default List<String>TooltipBodyCallback. onAfterBody(IsChart chart, List<TooltipItem> items)Returns text to render after the body section.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipFooterCallback. onAfterFooter(IsChart chart, List<TooltipItem> items)default List<String>TooltipFooterCallback. onAfterFooter(IsChart chart, List<TooltipItem> items)Text to render after the footer section.
If returnsnullor empty list, it will be ignored.default List<String>TooltipLabelCallback. onAfterLabel(IsChart chart, TooltipItem item)Returns text to render after an individual label.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipTitleCallback. onAfterTitle(IsChart chart, List<TooltipItem> items)default List<String>TooltipTitleCallback. onAfterTitle(IsChart chart, List<TooltipItem> items)Returns text to render after the title.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipBodyCallback. onBeforeBody(IsChart chart, List<TooltipItem> items)default List<String>TooltipBodyCallback. onBeforeBody(IsChart chart, List<TooltipItem> items)Returns text to render before the body section.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipFooterCallback. onBeforeFooter(IsChart chart, List<TooltipItem> items)default List<String>TooltipFooterCallback. onBeforeFooter(IsChart chart, List<TooltipItem> items)Returns text to render before the footer section.
If returnsnullor empty list, it will be ignored.default List<String>TooltipLabelCallback. onBeforeLabel(IsChart chart, TooltipItem item)Returns text to render before an individual label.
This will be called for each item in the tooltip.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipTitleCallback. onBeforeTitle(IsChart chart, List<TooltipItem> items)default List<String>TooltipTitleCallback. onBeforeTitle(IsChart chart, List<TooltipItem> items)Returns the text to render before the title.
If returnsnullor empty list, it will be ignored.voidTooltipExternalCallback. onExternal(IsChart chart, TooltipModel model)External tooltips callback allows you to hook in the tooltip rendering process so that you can render the tooltip in your own custom way.List<String>AbstractTooltipFooterCallback. onFooter(IsChart chart, List<TooltipItem> items)default List<String>TooltipFooterCallback. onFooter(IsChart chart, List<TooltipItem> items)Returns text to render as the footer of the tooltip.
If returnsnullor empty list, it will be ignored.List<String>AbstractTooltipLabelCallback. onLabel(IsChart chart, TooltipItem item)default List<String>TooltipLabelCallback. onLabel(IsChart chart, TooltipItem item)Returns text to render for an individual item in the tooltip.
If returnsnullor empty list, it will be ignored.TooltipLabelColorAbstractTooltipLabelCallback. onLabelColor(IsChart chart, TooltipItem item)default TooltipLabelColorTooltipLabelCallback. onLabelColor(IsChart chart, TooltipItem item)Returns the colors and borders to render for the tooltip item.
If returnsnull, it will be ignored.default TooltipLabelPointStyleTooltipLabelCallback. onLabelPointStyle(IsChart chart, TooltipItem item)Returns the point style to use instead of color boxes ifusePointStyleis true.
Default implementation uses the point style from the data set points.IsColorAbstractTooltipLabelCallback. onLabelTextColor(IsChart chart, TooltipItem item)default IsColorTooltipLabelCallback. onLabelTextColor(IsChart chart, TooltipItem item)Returns the colors for the text of the label for the tooltip item.
If returnsnull, it will be ignored.List<String>AbstractTooltipTitleCallback. onTitle(IsChart chart, List<TooltipItem> items)default List<String>TooltipTitleCallback. onTitle(IsChart chart, List<TooltipItem> items)Returns text to render as the title of the tooltip.
If returnsnullor empty list, it will be ignored. -
Uses of IsChart in org.pepstock.charba.client.colors
Methods in org.pepstock.charba.client.colors with parameters of type IsChart Modifier and Type Method Description voidCanvasObjectFactory. clear(IsChart chart)Clears the cache of loaded patterns and gradients, needed when a chart is destroy.CanvasGradientItemCanvasObjectFactory. createGradient(IsChart chart, Gradient gradient, int datasetIndex)Creates a canvas gradient java script object using a Charba gradient and a chart instance which must provide a canvas instance and its context.CanvasPatternItemCanvasObjectFactory. createPattern(IsChart chart, Pattern pattern)Creates a canvas pattern java script object using a Charba pattern and a chart instance which must provide a canvas instance and its context.protected abstract AreaCanvasObjectFactory. getArea(IsChart chart, Gradient gradient)Returns an area object used to define the area of LINEAR gradient.protected abstract CenterCanvasObjectFactory. getCenter(IsChart chart, Gradient gradient, int datasetIndex)Returns the coordinates of a center of arc for RADIAL gradient.protected abstract RadiusCanvasObjectFactory. getRadius(IsChart chart, Gradient gradient, int datasetIndex)Returns the inner and outer radius of arc for RADIAL gradient.voidCanvasObjectFactory. resetGradients(IsChart chart)Removes from cache all loaded gradients, needed during the resize of chart. -
Uses of IsChart in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons with parameters of type IsChart Modifier and Type Method Description voidMerger. load(IsChart chart, NativeObjectContainer options, ChartEnvelop<NativeObject> envelop)Merges chart default options (by chart.defaults[type]), default scale options (by chart.defaults.scale) and global options (by chart.defaults.global) and chart options.
The chain of priority is:
chart options chart default options (by chart.defaults[type]) default scale options (by chart.defaults.scale) global options (by chart.defaults.global) -
Uses of IsChart in org.pepstock.charba.client.configuration
Methods in org.pepstock.charba.client.configuration with parameters of type IsChart Modifier and Type Method Description voidConfigurationOptions. load(IsChart chart, Configuration configuration)Constructors in org.pepstock.charba.client.configuration with parameters of type IsChart Constructor Description AbstractPieOptions(IsChart chart, IsDefaultScaledOptions defaultvalues)Builds the object storing the chart instance and defaults.AreaOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.Axis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)Builds the object storing the chart instance.BarOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.BubbleOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance.CartesianAxis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)Builds the object storing the chart instance and cartesian axis type.CartesianCategoryAxis(IsChart chart)Builds the object storing the chart instance.CartesianCategoryAxis(IsChart chart, String id)Builds the object storing the chart instance.CartesianCategoryAxis(IsChart chart, String id, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianCategoryAxis(IsChart chart, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianCategoryAxis(IsChart chart, ScaleId id)Builds the object storing the chart instance.CartesianCategoryAxis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)Builds the object storing the chart instance and cartesian axis type, to use to extend the axis.CartesianCategoryAxis(IsChart chart, ScaleId id, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianLinearAxis(IsChart chart)Builds the object storing the chart instance.CartesianLinearAxis(IsChart chart, String id)Builds the object storing the chart instance.CartesianLinearAxis(IsChart chart, String id, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianLinearAxis(IsChart chart, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianLinearAxis(IsChart chart, ScaleId id)Builds the object storing the chart instance.CartesianLinearAxis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)Builds the object storing the chart instance and cartesian axis type, to use to extend the axis.CartesianLinearAxis(IsChart chart, ScaleId id, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianLogarithmicAxis(IsChart chart)Builds the object storing the chart instance.CartesianLogarithmicAxis(IsChart chart, String id)Builds the object storing the chart instance.CartesianLogarithmicAxis(IsChart chart, String id, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianLogarithmicAxis(IsChart chart, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianLogarithmicAxis(IsChart chart, ScaleId id)Builds the object storing the chart instance.CartesianLogarithmicAxis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)Builds the object storing the chart instance and cartesian axis type, to use to extend the axis.CartesianLogarithmicAxis(IsChart chart, ScaleId id, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianTimeAxis(IsChart chart)Builds the object storing the chart instance.CartesianTimeAxis(IsChart chart, String id)Builds the object storing the chart instance.CartesianTimeAxis(IsChart chart, String id, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianTimeAxis(IsChart chart, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianTimeAxis(IsChart chart, ScaleId id)Builds the object storing the chart instance.CartesianTimeAxis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)Builds the object storing the chart instance and cartesian axis type.CartesianTimeAxis(IsChart chart, ScaleId id, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianTimeSeriesAxis(IsChart chart)Builds the object storing the chart instance.CartesianTimeSeriesAxis(IsChart chart, String id)Builds the object storing the chart instance.CartesianTimeSeriesAxis(IsChart chart, String id, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianTimeSeriesAxis(IsChart chart, AxisKind kind)Builds the object storing the chart instance and axis type.CartesianTimeSeriesAxis(IsChart chart, ScaleId id)Builds the object storing the chart instance.CartesianTimeSeriesAxis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)Builds the object storing the chart instance and cartesian axis type.CartesianTimeSeriesAxis(IsChart chart, ScaleId id, AxisKind kind)Builds the object storing the chart instance and axis type.ConfigurationOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and defaults options.DoughnutOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default options.HorizontalBarOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.LineOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.PieOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.PolarAreaOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.RadarOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.RadialAxis(IsChart chart)Builds the object storing the chart instance.RadialAxis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)Builds the object storing the chart instance and cartesian axis type.ScalesOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.ScalesOptions(IsChart chart, IsDefaultScaledOptions defaultValues, boolean createScale)Builds the object storing the chart instance and default values and creating a scale options if requested.ScatterOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.StackedBarOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.StackedBarOptions(IsChart chart, IsDefaultScaledOptions defaultValues, IndexAxis indexAxis)Builds the object storing the chart instance and default values.StackedLineOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.StackedLineOptions(IsChart chart, IsDefaultScaledOptions defaultValues, IndexAxis indexAxis)Builds the object storing the chart instance and default values.TimeSeriesBarOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.TimeSeriesLineOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values.VerticalLineOptions(IsChart chart, IsDefaultScaledOptions defaultValues)Builds the object storing the chart instance and default values. -
Uses of IsChart in org.pepstock.charba.client.controllers
Methods in org.pepstock.charba.client.controllers that return IsChart Modifier and Type Method Description IsChartControllerContext. getChart()Returns the CHARBA chart instance. -
Uses of IsChart in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data with parameters of type IsChart Modifier and Type Method Description protected AreaDatasetCanvasObjectFactory. getArea(IsChart chart, Gradient gradient)protected CenterDatasetCanvasObjectFactory. getCenter(IsChart chart, Gradient gradient, int datasetIndex)protected RadiusDatasetCanvasObjectFactory. getRadius(IsChart chart, Gradient gradient, int datasetIndex)voidData. load(IsChart chart, Configuration configuration)Constructor parameters in org.pepstock.charba.client.data with type arguments of type IsChart Constructor Description Data(ChartEnvelop<IsChart> envelop)Creates the object with an empty native object. -
Uses of IsChart in org.pepstock.charba.client.datalabels
Methods in org.pepstock.charba.client.datalabels with parameters of type IsChart Modifier and Type Method Description static DataLabelsOptionsBuilderDataLabelsOptionsBuilder. create(IsChart chart)Returns new builder instance using the chart global options.Constructors in org.pepstock.charba.client.datalabels with parameters of type IsChart Constructor Description DataLabelsOptions(IsChart chart)Creates newDataLabelsPlugin.IDplugin options, relating to chart instance for default. -
Uses of IsChart in org.pepstock.charba.client.events
Methods in org.pepstock.charba.client.events that return IsChart Modifier and Type Method Description IsChartAbstractEvent. getChart()Returns the chart instance, stored in the event as source.IsChartChartEventContext. getChart()Returns the CHARBA chart instance.IsChartDatasetSelectionEvent. getChart()protected abstract IsChartHandlerManager. getSource()Returns a chart instance as source for all events.Constructors in org.pepstock.charba.client.events with parameters of type IsChart Constructor Description ChartEventContext(IsChart chart, Chart nativeChart)Creates the object with the chart instance, creating a change native event.ChartEventContext(IsChart chart, NativeAbstractMouseEvent event)Creates the object with the chart instance, creating a change native event.DatasetSelectionEvent(NativeBaseEvent nativeEvent, IsChart chart, DatasetReference item)Creates the event with dataset reference item related to the click and the chart instance -
Uses of IsChart in org.pepstock.charba.client.geo
Classes in org.pepstock.charba.client.geo that implement IsChart Modifier and Type Class Description classBubbleMapChartA Bubble Map, as known as Proportional Symbol is used to render maps with dots that are scaled according to some numerical value.
It is based on a regular bubble chart where the positioning is done using latitude and longitude to create a legend for the different radi.classChoroplethChartA choropleth chart is used to render maps with the area filled according to some numerical value.Constructors in org.pepstock.charba.client.geo with parameters of type IsChart Constructor Description ColorAxis(IsChart chart)Builds the object storing the chart instance and axis type.ColorLogarithmicAxis(IsChart chart)Builds the object storing the chart instance and axis type.ProjectionAxis(IsChart chart)Builds the object storing the chart instance.SizeAxis(IsChart chart)Builds the object storing the chart instance and axis type.SizeLogarithmicAxis(IsChart chart)Builds the object storing the chart instance and axis type. -
Uses of IsChart in org.pepstock.charba.client.gwt.widgets
Classes in org.pepstock.charba.client.gwt.widgets with type parameters of type IsChart Modifier and Type Class Description classAbstractChartWidget<C extends IsChart>Base class of all GWT WIDGET charts.Classes in org.pepstock.charba.client.gwt.widgets that implement IsChart Modifier and Type Class Description classAbstractChartWidget<C extends IsChart>Base class of all GWT WIDGET charts.classAreaChartWidgetAREA chart GWT WIDGET implementation.
A area chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classBarChartWidgetBAR chart GWT WIDGET implementation.
A bar chart provides a way of showing data values represented as vertical bars.
It is sometimes used to show trend data, and the comparison of multiple data sets side by side.classBubbleChartWidgetBUBBLE chart GWT WIDGET implementation.
A bubble chart is used to display three dimensions of data at the same time.
The location of the bubble is determined by the first two dimensions and the corresponding horizontal and vertical axes.
The third dimension is represented by the size of the individual bubbles.classBubbleMapChartWidgetBUBBLEMAP chart GWT WIDGET implementation.
A Bubble Map, as known as Proportional Symbol is used to render maps with dots that are scaled according to some numerical value.
It is based on a regular bubble chart where the positioning is done using latitude and longitude to create a legend for the different radi.classChoroplethChartWidgetCHOROPLETH chart GWT WIDGET implementation.
A choropleth chart is used to render maps with the area filled according to some numerical value.classDoughnutChartWidgetDOUGHNUT chart GWT WIDGET implementation.
A doughnut charts are divided in the segments, the arc of each segment shows the proportional value of each piece of data.classGaugeChartWidgetGAUGE chart GWT WIDGET implementation.classHorizontalBarChartWidgetHORIZONTAL BAR GWT WIDGET chart implementation.
A horizontal bar chart is a variation on a bar chart.
It is sometimes used to show trend data, and the comparison of multiple data sets side by side.classLineChartWidgetLINE chart GWT WIDGET implementation.
A line chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classMatrixChartWidgetMATRIX chart GWT WIDGET implementation.
A matrix chart shows magnitude of a phenomenon as color in two dimensions.
The variation in color may be by hue or intensity, giving obvious visual cues to the reader about how the phenomenon is clustered or varies over space.classMeterChartWidgetMETER chart GWT WIDGET implementation.classPieChartWidgetPIE chart GWT WIDGET implementation.
A pie charts are divided in the segments, the arc of each segment shows the proportional value of each piece of data.
They are excellent at showing the relational proportions between data.classPolarAreaChartWidgetPOLAR AREA chart GWT WIDGET implementation.
Polar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value.
This type of chart is often useful when we want to show a comparison data similar to a pie chart, but also show a scale of values for context.classRadarChartWidgetRADAR chart GWT WIDGET implementation.
A radar chart is a way of showing multiple data points and the variation between them.
They are often useful for comparing the points of two or more different data sets.classSankeyChartWidgetSankey charts are a type of flow diagram in which the width of the arrows is proportional to the flow rate.
Sankey diagrams emphasize the major transfers or flows within a system.
They help locate the most important contributions to a flow.
They often show conserved quantities within defined system boundaries.classScatterChartWidgetSCATTER chart GWT WIDGET implementation.
Scatter charts are based on basic line charts with the x axis changed to a linear axis.
To use a scatter chart, data must be passed as objects containing X and Y properties.classStackedAreaChartWidgetSTACKED AREA chart GWT WIDGET implementation.
A stacked area chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classStackedBarChartWidgetSTACKED BAR chart GWT WIDGET implementation.
Stacked bar charts can be configured like bar charts and changes the settings on the X and Y axes to enable stacking.
Stacked bar charts can be used to show how one data series is made up of a number of smaller pieces.classStackedHorizontalBarChartWidgetSTACKED HORIZONTAL BAR chart GWT WIDGET implementation.
Stacked bar charts can be configured like bar charts and changes the settings on the X and Y axes to enable stacking.
Stacked bar charts can be used to show how one data series is made up of a number of smaller pieces.classStackedLineChartWidgetSTACKED LINE chart GWT WIDGET implementation.
A stacked area chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classStackedVerticalLineChartWidgetSTACKED VERTICAL LINE chart GWT WIDGET implementation.
A stacked area chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.classTimeSeriesBarChartWidgetBAR chart GWT WIDGET implementation for time series.
A bar chart provides a way of showing data values represented as vertical bars.classTimeSeriesLineChartWidgetLINE chart GWT WIDGET implementation for time series.
A line chart is a way of plotting data points on a line.classTreeMapChartWidgetTREEMAP chart GWT WIDGET implementation.
A treemap chart is used for displaying hierarchical data using nested figures, usually rectangles.classVerticalLineChartWidgetVertical LINE chart GWT WIDGET implementation.
A line chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets. -
Uses of IsChart in org.pepstock.charba.client.impl.callbacks
Methods in org.pepstock.charba.client.impl.callbacks with parameters of type IsChart Modifier and Type Method Description static doublePercentage. compute(IsChart chart, double value, AbstractDatasetContext context)Computes the percentage of the value based on the data of datasets.static doublePercentage. compute(IsChart chart, double value, AbstractDatasetContext context, boolean stacked)Computes the percentage of the value based on the data of datasets. -
Uses of IsChart in org.pepstock.charba.client.impl.charts
Classes in org.pepstock.charba.client.impl.charts that implement IsChart Modifier and Type Class Description classGaugeChartGAUGE chart implementation.classMeterChartMETER chart implementation. -
Uses of IsChart in org.pepstock.charba.client.impl.plugins
Methods in org.pepstock.charba.client.impl.plugins that return IsChart Modifier and Type Method Description IsChartHtmlLegendItem. getChart()Returns the chart instanceMethods in org.pepstock.charba.client.impl.plugins with parameters of type IsChart Modifier and Type Method Description voidDatasetsItemsSelector. cleanSelection(IsChart chart)Clears the selection on the chart.voidDatasetsItemsSelector. cleanSelection(IsChart chart, boolean fireEvent)Clears the selection on the chart and set if an event should fire on clear action.static ChartBackgroundColorOptionsBuilderChartBackgroundColorOptionsBuilder. create(IsChart chart)Returns new builder instance using the chart global options.static ChartPointerOptionsBuilderChartPointerOptionsBuilder. create(IsChart chart)Returns new builder instance using the chart global options.static ColorSchemesOptionsBuilderColorSchemesOptionsBuilder. create(IsChart chart)Returns new builder instance using chart global options as default.static CrosshairOptionsBuilderCrosshairOptionsBuilder. create(IsChart chart)Returns new builder instance using the chart global options.static DatasetsItemsSelectorOptionsBuilderDatasetsItemsSelectorOptionsBuilder. create(IsChart chart)Returns new builder instance using the chart global options.static HtmlLegendOptionsBuilderHtmlLegendOptionsBuilder. create(IsChart chart)Returns new builder instance using chart global options as default.doubleDatasetsItemsSelector. getPadding(IsChart chart)Returns the padding height used by selection cleaner element if enabled.
This is very helpful when you have added padding for your purposes and you need to know the amount of space that the element allocated.voidDatasetsItemsSelector. setSelection(IsChart chart, double from, double to)Selects an area, invoked programmatically.
Values on axis are retrieved as number (CartesianLinearAxisorCartesianLogarithmicAxis).voidDatasetsItemsSelector. setSelection(IsChart chart, String from, String to)Selects an area, invoked programmatically.
Values on axis are retrieved as string (CartesianCategoryAxis).voidDatasetsItemsSelector. setSelection(IsChart chart, Date from, Date to)Selects an area, invoked programmatically.
Values on axis are retrieved as date (CartesianTimeAxisorCartesianTimeSeriesAxis).Constructors in org.pepstock.charba.client.impl.plugins with parameters of type IsChart Constructor Description ChartBackgroundColorOptions(IsChart chart)Builds the object with a chart instance in order to get the right defaults.
If the plugin options have not been set by chart type, it will use the global.ChartPointerOptions(IsChart chart)Builds the object with a chart instance in order to get the right defaults.
If the plugin options have not been set by chart type, it will use the global.ColorSchemesOptions(IsChart chart)Builds the object with a chart instance in order to get the right defaults.
If the plugin options have not been set by chart type, it will use the global.CrosshairOptions(IsChart chart)Builds the object with a chart instance in order to get the right defaults.
If the plugin options have not been set by chart type, it will use the global.DatasetsItemsSelectorOptions(IsChart chart)Builds the object with a chart instance in order to get the right defaults.
If the plugin options have not been set by chart type, it will use the global.HtmlLegendOptions(IsChart chart)Builds the object with a chart instance in order to get the right defaults.
If the plugin options have not been set by chart type, it will use the global. -
Uses of IsChart in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items that return IsChart Modifier and Type Method Description IsChartAnimationItem. getChart()Returns the CHARBA chart instance.IsChartScaleItem. getChart()Returns the CHARBA chart instance.IsChartTooltipItem. getChart()Returns the CHARBA chart instance.Methods in org.pepstock.charba.client.items with parameters of type IsChart Modifier and Type Method Description booleanLegendItem. isHidden(IsChart chart)Returnstrueif this item represents a hidden data set.
Label will be rendered with a strike-through effectvoidLegendLabelItem. setFillStyle(IsChart chart, Gradient gradient)Sets the fill style of the legend box as gradient.voidLegendLabelItem. setFillStyle(IsChart chart, Pattern pattern)Sets the fill style of the legend box as pattern.voidLegendLabelItem. setStrokeStyle(IsChart chart, Gradient gradient)Sets the stroke style of the legend box as gradient.voidLegendLabelItem. setStrokeStyle(IsChart chart, Pattern pattern)Sets the stroke style of the legend box as pattern.Constructors in org.pepstock.charba.client.items with parameters of type IsChart Constructor Description DatasetReference(IsChart chart, ChartEnvelop<NativeObject> envelop)Creates the item using a chart instance and a native java script object which contains all properties. -
Uses of IsChart in org.pepstock.charba.client.labels
Methods in org.pepstock.charba.client.labels with parameters of type IsChart Modifier and Type Method Description static LabelsOptionsBuilderLabelsOptionsBuilder. create(IsChart chart)Returns new builder instance using the chart global options.Constructors in org.pepstock.charba.client.labels with parameters of type IsChart Constructor Description LabelsOptions(IsChart chart)Creates newLabelsPlugin.IDplugin options, relating to chart instance for default. -
Uses of IsChart in org.pepstock.charba.client.matrix
Classes in org.pepstock.charba.client.matrix that implement IsChart Modifier and Type Class Description classMatrixChartA matrix chart shows magnitude of a phenomenon as color in two dimensions.
The variation in color may be by hue or intensity, giving obvious visual cues to the reader about how the phenomenon is clustered or varies over space. -
Uses of IsChart in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options that return IsChart Modifier and Type Method Description IsChartExtendedOptions. getChart()Returns the chart instance which is using the options.Constructors in org.pepstock.charba.client.options with parameters of type IsChart Constructor Description ExtendedOptions(IsChart chart, IsDefaultScaledOptions defaultValues, ChartEnvelop<NativeObject> envelop)Creates an options with default provider.ExtendedOptions(IsChart chart, IsDefaultScaledOptions defaultValues, ConfigurationEnvelop<NativeObject> envelop)Creates an options with default provider. -
Uses of IsChart in org.pepstock.charba.client.plugins
Methods in org.pepstock.charba.client.plugins with parameters of type IsChart Modifier and Type Method Description voidPlugins. load(IsChart chart, Configuration configuration)voidGlobalPlugins. onChartConfigure(Configuration config, IsChart chart)Invokes the on configuration method to inform the plugins that the chart is going to be initialized.voidPlugins. onChartConfigure(Configuration config, IsChart chart)Invokes the on configuration method to inform the plugins that the chart is going to be initialized.voidAbstractPluginOptions. store(IsChart chart)Stores this options in the chart plugins options. -
Uses of IsChart in org.pepstock.charba.client.plugins.hooks
Methods in org.pepstock.charba.client.plugins.hooks with parameters of type IsChart Modifier and Type Method Description voidAfterBuildTicksHook. onAfterBuildTicks(IsChart chart, PluginScaleArgument argument)Called after scale has build its ticks.
This hook is called separately for each scale in the chart.voidAfterDataLimitsHook. onAfterDataLimits(IsChart chart, PluginScaleArgument argument)Called after scale data limits are calculated.
This hook is called separately for each scale in the chart.voidAfterDatasetDrawHook. onAfterDatasetDraw(IsChart chart, PluginDatasetArgument item)Called after the 'chart' datasets at the given 'args.index' have been drawn (datasets are drawn in the reverse order).
Note that this hook will not be called if the datasets drawing has been previously cancelled.voidAfterDatasetsDrawHook. onAfterDatasetsDraw(IsChart chart)Called after the 'chart' datasets have been drawn.
Note that this hook will not be called if the datasets drawing has been previously cancelled.voidAfterDatasetsUpdateHook. onAfterDatasetsUpdate(IsChart chart, PluginUpdateArgument argument)Called after the 'chart' datasets have been updated.
Note that this hook will not be called if the datasets update has been previously cancelled.voidAfterDatasetUpdateHook. onAfterDatasetUpdate(IsChart chart, PluginDatasetArgument item)Called after the 'chart' datasets at the given 'args.index' has been updated.
Note that this hook will not be called if the datasets update has been previously cancelled.voidAfterDestroyHook. onAfterDestroy(IsChart chart)Called after the chart has been destroyed.voidAfterDrawHook. onAfterDraw(IsChart chart)Called after the 'chart' has been drawn.
Note that this hook will not be called if the drawing has been previously cancelled.voidAfterEventHook. onAfterEvent(IsChart chart, PluginEventArgument argument)Called after the 'event' has been consumed.
Note that this hook will not be called if the 'event' has been previously discarded.voidAfterInitHook. onAfterInit(IsChart chart, Chart nativeChart)Called after 'chart' has been initialized and before the first update.voidAfterLayoutHook. onAfterLayout(IsChart chart)Called after the 'chart' has been layed out.
Note that this hook will not be called if the layout update has been previously cancelled.voidAfterRenderHook. onAfterRender(IsChart chart)Called after the 'chart' has been fully rendered (and animation completed).
Note that this hook will not be called if the rendering has been previously cancelled.voidAfterTooltipDrawHook. onAfterTooltipDraw(IsChart chart, PluginTooltipArgument item)Called after drawing the 'tooltip'.
Note that this hook will not be called if the tooltip drawing has been previously cancelled.voidAfterUpdateHook. onAfterUpdate(IsChart chart, PluginUpdateArgument argument)Called after 'chart' has been updated and before rendering.
Note that this hook will not be called if the chart update has been previously cancelled.voidBeforeBuildTicksHook. onBeforeBuildTicks(IsChart chart, PluginScaleArgument argument)Called before scale builds its ticks.
This hook is called separately for each scale in the chart.voidBeforeDataLimitsHook. onBeforeDataLimits(IsChart chart, PluginScaleArgument argument)Called before scale data limits are calculated.
This hook is called separately for each scale in the chart.booleanBeforeDatasetDrawHook. onBeforeDatasetDraw(IsChart chart, PluginDatasetArgument item)Called before drawing the 'chart' dataset at the given 'args.index' (datasets are drawn in the reverse order).
If any plugin returnsfalse, the datasets drawing is cancelled until another 'render' is triggered.booleanBeforeDatasetsDrawHook. onBeforeDatasetsDraw(IsChart chart)Called before drawing the 'chart' datasets.booleanBeforeDatasetsUpdateHook. onBeforeDatasetsUpdate(IsChart chart, PluginUpdateArgument argument)Called before updating the 'chart' datasets.
If any plugin returnsfalse, the datasets update is cancelled until another 'update' is triggered.booleanBeforeDatasetUpdateHook. onBeforeDatasetUpdate(IsChart chart, PluginDatasetArgument item)Called before updating the 'chart' dataset at the given 'args.index'.
If any plugin returnsfalse, the datasets update is cancelled until another 'update' is triggered.voidBeforeDestroyHook. onBeforeDestroy(IsChart chart)Called before the chart is being destroyed.booleanBeforeDrawHook. onBeforeDraw(IsChart chart)Called before drawing 'chart' at every animation frame.
If any plugin returnsfalse, the frame drawing is cancelled until another 'render' is triggered.voidBeforeElementsUpdateHook. onBeforeElementsUpdate(IsChart chart)Called during the update process, before any chart elements have been created.booleanBeforeEventHook. onBeforeEvent(IsChart chart, PluginEventArgument argument)Called before processing the specified 'event'.
If any plugin returnsfalse, the event will be discarded.voidBeforeInitHook. onBeforeInit(IsChart chart)Called before initializing 'chart'.booleanBeforeLayoutHook. onBeforeLayout(IsChart chart)Called before laying out 'chart'.
If any plugin returnsfalse, the layout update is cancelled until another 'update' is triggered.booleanBeforeRenderHook. onBeforeRender(IsChart chart)Called before rendering 'chart'.booleanBeforeTooltipDrawHook. onBeforeTooltipDraw(IsChart chart, PluginTooltipArgument item)Called before drawing the 'tooltip'.
If any plugin returnsfalse, the tooltip drawing is cancelled until another 'render' is triggered.booleanBeforeUpdateHook. onBeforeUpdate(IsChart chart, PluginUpdateArgument argument)Called before updating 'chart'.
If any plugin returnsfalse, the update is cancelled (and thus subsequent render(s)) until another 'update' is triggered.voidConfigureHook. onConfigure(IsChart chart)Called before initializing configuration of 'chart'.voidInstallHook. onInstall(IsChart chart)Called when plugin is installed for this chart instance.
This hook is also invoked for disabled plugins (options equals to false).voidResetHook. onReset(IsChart chart)Called during chart reset.voidResizeHook. onResize(IsChart chart, PluginResizeArgument argument)Called after the chart as been resized.voidStartHook. onStart(IsChart chart)Called when a plugin is starting.
This happens when chart is created or plugin is enabled.voidStopHook. onStop(IsChart chart)Called when a plugin stopping.
This happens when chart is destroyed or plugin is disabled.voidUninstallHook. onUninstall(IsChart chart)Called after chart is destroyed on all plugins that were installed for that chart.
This hook is also invoked for disabled plugins (options equals to false). -
Uses of IsChart in org.pepstock.charba.client.positioner
Methods in org.pepstock.charba.client.positioner with parameters of type IsChart Modifier and Type Method Description PointTooltipPositioner. computePosition(IsChart chart, List<DatasetReference> items, Point eventPoint)Applies own logic to returns the point where the tooltip must be showed.PointPositioner. invokePositioner(IsTooltipPosition position, IsChart chart, List<DatasetReference> items, Point eventPoint)Invokes an existing positioner to get the point. -
Uses of IsChart in org.pepstock.charba.client.sankey
Classes in org.pepstock.charba.client.sankey that implement IsChart Modifier and Type Class Description classSankeyChartSankey charts are a type of flow diagram in which the width of the arrows is proportional to the flow rate.
Sankey diagrams emphasize the major transfers or flows within a system.
They help locate the most important contributions to a flow.
They often show conserved quantities within defined system boundaries. -
Uses of IsChart in org.pepstock.charba.client.treemap
Classes in org.pepstock.charba.client.treemap that implement IsChart Modifier and Type Class Description classTreeMapChartA treemap chart is used for displaying hierarchical data using nested rectangles.
Treemaps display hierarchical (tree-structured) data as a set of nested rectangles.
Each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches.
A leaf node's rectangle has an area proportional to a specified dimension of the data.
When the color and size dimensions are correlated in some way with the tree structure, one can often easily see patterns that would be difficult to spot in other ways, such as whether a certain color is particularly relevant.
A second advantage of treemaps is that, by construction, they make efficient use of space. -
Uses of IsChart in org.pepstock.charba.client.utils
Methods in org.pepstock.charba.client.utils with parameters of type IsChart Modifier and Type Method Description static CursorTypeUtilities. getCursorOfChart(IsChart chart)Returns the cursor currently set in the chart. -
Uses of IsChart in org.pepstock.charba.client.zoom
Methods in org.pepstock.charba.client.zoom with parameters of type IsChart Modifier and Type Method Description static doubleZoomPlugin. getZoomLevel(IsChart chart)Returns the zoom level whenZoomPluginis activated.static booleanZoomPlugin. isZoomedOrPanned(IsChart chart)Returns whether the chart has been zoomed or panned, for instance whether the initial scale of any axis is different to the one used currently.static voidZoomPlugin. pan(IsChart chart, double amount)Pans the chart on demand, programmatically.static voidZoomPlugin. pan(IsChart chart, double amount, TransitionKey transition)Pans the chart on demand, programmatically.static voidZoomPlugin. pan(IsChart chart, Amount amount)Pans the chart on demand, programmatically.static voidZoomPlugin. pan(IsChart chart, Amount amount, TransitionKey transition)Pans the chart on demand, programmatically.static voidZoomPlugin. reset(IsChart chart)Reset the zoom of chart whenZoomPluginis activated.static voidZoomPlugin. reset(IsChart chart, TransitionKey transition)Reset the zoom of chart whenZoomPluginis activated.static voidZoomPlugin. zoom(IsChart chart, double amount)Zooms the chart on demand, programmatically.static voidZoomPlugin. zoom(IsChart chart, double amount, TransitionKey transition)Zooms the chart on demand, programmatically.static voidZoomPlugin. zoom(IsChart chart, Amount amount)Zooms the chart on demand, programmatically.static voidZoomPlugin. zoom(IsChart chart, Amount amount, TransitionKey transition)Zooms the chart on demand, programmatically.static voidZoomPlugin. zoomRect(IsChart chart, ZoomPoint p0, ZoomPoint p1)Zooms the chart for a specific rectangle, programmatically.static voidZoomPlugin. zoomRect(IsChart chart, ZoomPoint p0, ZoomPoint p1, TransitionKey transition)Zooms the chart for a specific rectangle, programmatically.static voidZoomPlugin. zoomScale(IsChart chart, ScaleId scaleId, ScaleRange range)Zooms the chart scale on demand, programmatically.static voidZoomPlugin. zoomScale(IsChart chart, ScaleId scaleId, ScaleRange range, TransitionKey transition)Zooms the chart scale on demand, programmatically.Constructors in org.pepstock.charba.client.zoom with parameters of type IsChart Constructor Description ZoomOptions(IsChart chart)Creates newZoomPlugin.IDplugin options, relating to chart instance for default.
-