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 the
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. |
org.pepstock.charba.client.annotation.listeners |
Contains all callback interfaces to implement for the
AnnotationPlugin.ID plugin. |
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 the
DataLabelsPlugin.ID plugin (AKA chartjs-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 (AKA
chartjs-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 use
LabelsPlugin.ID plugin (AKA chartjs-plugin-labels.js ) available for CHART.JS. |
org.pepstock.charba.client.matrix |
Contains all classes to activate the Matrix controller (AKA
chartjs-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.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 (AKA
chartjs-chart-sankey.js ) for CHART.js. |
org.pepstock.charba.client.treemap |
Contains all classes to activate the TreeMap controller (AKA
chartjs-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 the
ZoomPlugin.ID plugin (AKA chartjs-plugin-zoom.js ) for CHART.js. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractChart
Base class of all charts.
It contains Chart.js initialization. |
class |
BarChart
BAR 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. |
class |
BubbleChart
BUBBLE 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. |
class |
DoughnutChart
DOUGHNUT chart implementation.
A doughnut charts are divided in the segments, the arc of each segment shows the proportional value of each piece of data. |
class |
HorizontalBarChart
HORIZONTAL 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. |
class |
LineChart
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. |
class |
PieChart
PIE 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. |
class |
PolarAreaChart
POLAR 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. |
class |
RadarChart
RADAR 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. |
class |
ScatterChart
SCATTER 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. |
class |
StackedAreaChart
STACKED 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. |
class |
StackedBarChart
STACKED 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. |
class |
TimeSeriesBarChart
BAR chart implementation for time series.
A bar chart provides a way of showing data values represented as vertical bars. |
class |
TimeSeriesLineChart
LINE chart implementation for time series.
A line chart is a way of plotting data points on a line. |
class |
VerticalLineChart
Vertical 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. |
Modifier and Type | Method and Description |
---|---|
static <T extends IsChart> |
IsChart.checkAndGetIfConsistent(T chart)
Check if chart passed as argument is not
null and its id is not null as well, and if mandatory methods of interface will return consistent
instances.If not, throw a IllegalArgumentException or returns the chart instance. |
Modifier and Type | Method and Description |
---|---|
static IsChart |
IsChart.checkAndGetIfValid(IsChart chart)
Check if chart passed as argument is not
null and its id is not null as well.If not, throw a IllegalArgumentException or returns the chart instance. |
static IsChart |
Charts.get(String chartId)
Returns the chart instance by its id.
|
IsChart |
Chart.getChart()
Returns the CHARBA chart or
null if CHARBA id is not present in the CAHRT.JS chart options. |
protected IsChart |
AbstractChart.getSource() |
Modifier and Type | Method and Description |
---|---|
static IsChart |
IsChart.checkAndGetIfValid(IsChart chart)
Check if chart passed as argument is not
null and its id is not null as well.If not, throw a IllegalArgumentException or returns the chart instance. |
static void |
IsChart.checkIfConsistent(IsChart chart)
Check if chart passed as argument is not
null and its id is not null as well, and if mandatory methods of interface will return consistent
instances.If not, throw a IllegalArgumentException . |
static void |
IsChart.checkIfValid(IsChart chart)
Checks if chart passed as argument is not
null and its id is not null as well.If not, throw a IllegalArgumentException . |
void |
Helpers.clipArea(IsChart chart)
Clips an area on the canvas context using the
ChartAreaNode of the chart. |
void |
Helpers.clipArea(IsChart chart,
double width,
double height)
Clips an area on the canvas context, using the
Canvas of the chart.The area is specified by size. Starting points are 0. |
void |
Helpers.clipArea(IsChart chart,
double x,
double y,
double width,
double height)
Clips an area on the canvas context, using the
Canvas of the chart.The area is specified by coordinates and size. |
void |
Helpers.clipArea(IsChart chart,
IsArea area)
Clips an area on the canvas context, using the
Canvas of the chart. |
void |
ChartTimerTask.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 Chart |
Charts.getNative(IsChart chart)
Returns the CHART.JS chart instance by chart instance.
|
EventPoint |
Helpers.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.
|
EventPoint |
Helpers.getRelativePosition(IsChart chart,
BaseNativeEvent 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 boolean |
Charts.hasNative(IsChart chart)
Returns
true if there is a CHART.JS chart instance by chart instance. |
String |
Defaults.invokeTooltipsCallbackOnLabel(IsChart chart,
TooltipItem item)
Returns the default text to render for an individual item in the tooltip.
|
TooltipLabelColor |
Defaults.invokeTooltipsCallbackOnLabelColor(IsChart chart,
TooltipItem item)
Returns the default colors to render for the tooltip item.
|
TooltipLabelPointStyle |
Defaults.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 boolean |
IsChart.isAbstractChart(IsChart chart)
Returns
true if chart passed as argument is an abstract chart instance. |
static boolean |
Controller.isConsistent(Controller controller,
ControllerContext context,
IsChart chart)
Returns
true if all arguments are consistent. |
static boolean |
IsChart.isConsistent(IsChart chart)
Returns
true if chart passed as argument is not null and its id is not null as well, and if mandatory methods of interface will return
consistent instances. |
static boolean |
IsChart.isValid(IsChart chart)
Returns
true if chart passed as argument is not null and its id is not null as well. |
void |
ConfigurationElement.load(IsChart chart,
Configuration configuration)
Called to enable to load in the a configuration object the specific configuration item (by native object).
|
default void |
Plugin.onAfterBuildTicks(IsChart chart,
PluginScaleArgument argument)
Called after scale has build its ticks.
This hook is called separately for each scale in the chart. |
default void |
ChartsLifecycleListener.onAfterConfigure(IsChart chart)
Called after 'chart' has been configured.
|
default void |
Plugin.onAfterDataLimits(IsChart chart,
PluginScaleArgument argument)
Called after scale data limits are calculated.
This hook is called separately for each scale in the chart. |
default void |
Plugin.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 void |
Plugin.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 void |
Plugin.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 void |
Plugin.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 void |
ChartsLifecycleListener.onAfterDestroy(IsChart chart)
Called after the chart has been destroyed.
|
default void |
Controller.onAfterDraw(ControllerContext context,
IsChart chart)
Called after it draws the representation of the data set.
|
default void |
Plugin.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 void |
Plugin.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 void |
ChartsLifecycleListener.onAfterInit(IsChart chart)
Called after 'chart' has been initialized.
|
default void |
Plugin.onAfterInit(IsChart chart,
Chart nativeChart)
Called after 'chart' has been initialized and before the first update.
|
default void |
Controller.onAfterInitialize(ControllerContext context,
IsChart chart)
Called after it initializes the controller.
|
default void |
Plugin.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 void |
Controller.onAfterLinkScales(ControllerContext context,
IsChart chart)
Called after it ensures that the data set represented by this controller is linked to a scale.
|
default void |
Controller.onAfterParse(ControllerContext context,
IsChart chart,
int start,
int count)
Called after it invokes to parse the data into the controller meta data.
|
default void |
Plugin.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 void |
Plugin.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 void |
Controller.onAfterUpdate(ControllerContext context,
IsChart chart,
TransitionKey mode)
Called after it updates the elements in response to new data.
|
default void |
Plugin.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 void |
Plugin.onBeforeBuildTicks(IsChart chart,
PluginScaleArgument argument)
Called before scale builds its ticks.
This hook is called separately for each scale in the chart. |
default void |
ChartsLifecycleListener.onBeforeConfigure(IsChart chart)
Called before configuring 'chart'.
|
default void |
Plugin.onBeforeDataLimits(IsChart chart,
PluginScaleArgument argument)
Called before scale data limits are calculated.
This hook is called separately for each scale in the chart. |
default boolean |
Plugin.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 returns false , the datasets drawing is cancelled until another 'render' is triggered. |
default boolean |
Plugin.onBeforeDatasetsDraw(IsChart chart)
Called before drawing the 'chart' datasets.
|
default boolean |
Plugin.onBeforeDatasetsUpdate(IsChart chart,
PluginUpdateArgument argument)
Called before updating the 'chart' datasets.
If any plugin returns false , the datasets update is cancelled until another 'update' is triggered. |
default boolean |
Plugin.onBeforeDatasetUpdate(IsChart chart,
PluginDatasetArgument item)
Called before updating the 'chart' dataset at the given 'args.index'.
If any plugin returns false , the datasets update is cancelled until another 'update' is triggered. |
default void |
ChartsLifecycleListener.onBeforeDestroy(IsChart chart)
Called before the chart has been destroyed.
|
default void |
Controller.onBeforeDraw(ControllerContext context,
IsChart chart)
Called before it draws the representation of the data set.
|
default boolean |
Plugin.onBeforeDraw(IsChart chart)
Called before drawing 'chart' at every animation frame.
If any plugin returns false , the frame drawing is cancelled until another 'render' is triggered. |
default void |
Plugin.onBeforeElementsUpdate(IsChart chart)
Called during the update process, before any chart elements have been created.
|
default boolean |
Plugin.onBeforeEvent(IsChart chart,
PluginEventArgument argument)
Called before processing the specified 'event'.
If any plugin returns false , the event will be discarded. |
default void |
Plugin.onBeforeInit(IsChart chart)
Called before initializing 'chart'.
|
default void |
ChartsLifecycleListener.onBeforeInit(IsChart chart)
Called before initializing 'chart'.
|
default void |
Controller.onBeforeInitialize(ControllerContext context,
IsChart chart)
Called before it initializes the controller.
|
default boolean |
Plugin.onBeforeLayout(IsChart chart)
Called before laying out 'chart'.
If any plugin returns false , the layout update is cancelled until another 'update' is triggered. |
default void |
Controller.onBeforeLinkScales(ControllerContext context,
IsChart chart)
Called before it ensures that the data set represented by this controller is linked to a scale.
|
default void |
Controller.onBeforeParse(ControllerContext context,
IsChart chart,
int start,
int count)
Called before it invokes to parse the data into the controller meta data.
|
default boolean |
Plugin.onBeforeRender(IsChart chart)
Called before rendering 'chart'.
|
default boolean |
Plugin.onBeforeTooltipDraw(IsChart chart,
PluginTooltipArgument item)
Called before drawing the 'tooltip'.
If any plugin returns false , the tooltip drawing is cancelled until another 'render' is triggered. |
default void |
Controller.onBeforeUpdate(ControllerContext context,
IsChart chart,
TransitionKey mode)
Called before it updates the elements in response to new data.
|
default boolean |
Plugin.onBeforeUpdate(IsChart chart,
PluginUpdateArgument argument)
Called before updating 'chart'.
If any plugin returns false , the update is cancelled (and thus subsequent render(s)) until another 'update' is triggered. |
default void |
Plugin.onBeginDrawing(IsChart chart,
boolean overridePreviousUpdate)
Called before every drawing cycle, coming from initialization, updating or rendering of chart.
|
default void |
Plugin.onConfigure(IsChart chart)
Called before initializing configuration of 'chart'.
|
default void |
Plugin.onDestroy(IsChart chart)
Called after the chart as been destroyed.
|
default void |
Plugin.onEndDrawing(IsChart chart)
Called after every drawing cycle, coming from initialization, updating or rendering of chart.
|
default void |
Plugin.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 void |
Plugin.onReset(IsChart chart)
Called during chart reset.
|
default void |
Plugin.onResize(IsChart chart,
PluginResizeArgument argument)
Called after the chart as been resized.
|
default void |
Plugin.onStart(IsChart chart)
Called when a plugin is starting.
This happens when chart is created or plugin is enabled. |
default void |
Plugin.onStop(IsChart chart)
Called when a plugin stopping.
This happens when chart is destroyed or plugin is disabled. |
default void |
Plugin.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). |
Constructor and Description |
---|
AnnotationOptions(IsChart chart)
Creates new
AnnotationPlugin.ID plugin options, relating to chart instance for default. |
BoxAnnotation(AnnotationId id,
IsChart chart)
Creates a box annotation to be added to an
AnnotationOptions instance, 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(String id,
IsChart chart)
Creates a box annotation to be added to an
AnnotationOptions instance, 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 an
AnnotationOptions instance, 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 an
AnnotationOptions instance, 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 an
AnnotationOptions instance, 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 an
AnnotationOptions instance, 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 line annotation to be added to an
AnnotationOptions instance, 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 line annotation to be added to an
AnnotationOptions instance, 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. |
Modifier and Type | Method and Description |
---|---|
void |
ClickCallback.onClick(IsChart chart,
AbstractAnnotation annotation,
ChartEventContext event)
Method called once click is fired.
|
void |
DoubleClickCallback.onDoubleClick(IsChart chart,
AbstractAnnotation annotation,
ChartEventContext event)
Method called once dblclick is fired.
|
void |
EnterCallback.onEnter(IsChart chart,
AbstractAnnotation annotation,
ChartEventContext event)
Method called once enter is fired.
|
void |
LeaveCallback.onLeave(IsChart chart,
AbstractAnnotation annotation,
ChartEventContext event)
Method called once leave is fired.
|
Modifier and Type | Method and Description |
---|---|
IsChart |
ChartContext.getChart()
Returns the CHARBA chart instance.
|
static IsChart |
ScriptableUtils.retrieveChart(ChartContext context)
Returns the chart instance, contained in the context if context is consistent.
|
Modifier and Type | Method and Description |
---|---|
List<LegendLabelItem> |
LegendLabelsCallback.generateLegendLabels(IsChart chart,
List<LegendLabelItem> defaultLabels)
Generates legend items for each thing in the legend.
|
SafeHtml |
HtmlLegendCallback.generateText(IsChart chart,
T item,
String currentText)
Returns a text of legend for a specific item or legend's title, as HTML
|
List<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 returns null or 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 returns null or empty list, it will be ignored. |
String |
AbstractTooltipLabelCallback.onAfterLabel(IsChart chart,
TooltipItem item) |
default String |
TooltipLabelCallback.onAfterLabel(IsChart chart,
TooltipItem item)
Returns text to render after an individual label.
If returns null , it will be ignored. |
default List<String> |
TooltipTitleCallback.onAfterTitle(IsChart chart,
List<TooltipItem> items)
Returns text to render after the title.
If returns null or empty list, it will be ignored. |
List<String> |
AbstractTooltipTitleCallback.onAfterTitle(IsChart chart,
List<TooltipItem> items) |
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 returns null or 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 returns null or empty list, it will be ignored. |
String |
AbstractTooltipLabelCallback.onBeforeLabel(IsChart chart,
TooltipItem item) |
default 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 returns null , it will be ignored. |
default List<String> |
TooltipTitleCallback.onBeforeTitle(IsChart chart,
List<TooltipItem> items)
Returns the text to render before the title.
If returns null or empty list, it will be ignored. |
List<String> |
AbstractTooltipTitleCallback.onBeforeTitle(IsChart chart,
List<TooltipItem> items) |
void |
TooltipExternalCallback.onExternal(IsChart chart,
TooltipModel model)
External tooltips callback allows you to hook in the 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 returns null or empty list, it will be ignored. |
String |
AbstractTooltipLabelCallback.onLabel(IsChart chart,
TooltipItem item) |
default String |
TooltipLabelCallback.onLabel(IsChart chart,
TooltipItem item)
Returns text to render for an individual item in the tooltip.
If returns null , it will be ignored. |
TooltipLabelColor |
AbstractTooltipLabelCallback.onLabelColor(IsChart chart,
TooltipItem item) |
default TooltipLabelColor |
TooltipLabelCallback.onLabelColor(IsChart chart,
TooltipItem item)
Returns the colors and borders to render for the tooltip item.
If returns null , it will be ignored. |
default TooltipLabelPointStyle |
TooltipLabelCallback.onLabelPointStyle(IsChart chart,
TooltipItem item)
Returns the point style to use instead of color boxes if
usePointStyle is true.Default implementation uses the point style from the data set points. |
IsColor |
AbstractTooltipLabelCallback.onLabelTextColor(IsChart chart,
TooltipItem item) |
default IsColor |
TooltipLabelCallback.onLabelTextColor(IsChart chart,
TooltipItem item)
Returns the colors for the text of the label for the tooltip item.
If returns null , it will be ignored. |
default List<String> |
TooltipTitleCallback.onTitle(IsChart chart,
List<TooltipItem> items)
Returns text to render as the title of the tooltip.
If returns null or empty list, it will be ignored. |
List<String> |
AbstractTooltipTitleCallback.onTitle(IsChart chart,
List<TooltipItem> items) |
Modifier and Type | Method and Description |
---|---|
void |
CanvasObjectFactory.clear(IsChart chart)
Clears the cache of loaded patterns and gradients, needed when a chart is destroy.
|
CanvasGradientItem |
CanvasObjectFactory.createGradient(IsChart chart,
Gradient gradient,
int datasetIndex,
int index)
Creates a canvas gradient java script object using a Charba gradient and a chart instance which must provide a canvas instance and its context.
|
CanvasPatternItem |
CanvasObjectFactory.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 Area |
CanvasObjectFactory.getArea(IsChart chart,
Gradient gradient)
Returns an area object used to define the area of LINEAR gradient.
|
protected abstract Center |
CanvasObjectFactory.getCenter(IsChart chart,
Gradient gradient,
int datasetIndex,
int index)
Returns the coordinates of a center of arc for RADIAL gradient.
|
protected abstract Radius |
CanvasObjectFactory.getRadius(IsChart chart,
Gradient gradient,
int datasetIndex,
int index)
Returns the inner and outer radius of arc for RADIAL gradient.
|
void |
CanvasObjectFactory.resetGradients(IsChart chart)
Removes from cache all loaded gradients, needed during the resize of chart.
|
Modifier and Type | Method and Description |
---|---|
void |
Merger.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) |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationOptions.load(IsChart chart,
Configuration configuration) |
Constructor and Description |
---|
AbstractPieOptions(IsChart chart,
IsDefaultScaledOptions defaultvalues)
Builds the object storing the chart instance and defaults.
|
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,
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,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
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,
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.
|
CartesianLinearAxis(IsChart chart)
Builds the object storing the chart instance.
|
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,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
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,
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.
|
CartesianLogarithmicAxis(IsChart chart)
Builds the object storing the chart instance.
|
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,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
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,
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.
|
CartesianTimeAxis(IsChart chart)
Builds the object storing the chart instance.
|
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,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianTimeAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.
|
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.
|
CartesianTimeSeriesAxis(IsChart chart)
Builds the object storing the chart instance.
|
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,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianTimeSeriesAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.
|
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.
|
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.
|
StackedOptions(IsChart chart,
IsDefaultScaledOptions defaultValues)
Builds the object storing the chart instance and default values.
|
StackedOptions(IsChart chart,
IsDefaultScaledOptions defaultValues,
boolean onlyYScaled)
Builds the object storing the chart instance, default values and if only Y axis is scaled.
|
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.
|
Modifier and Type | Method and Description |
---|---|
IsChart |
ControllerContext.getChart()
Returns the CHARBA chart instance.
|
Modifier and Type | Method and Description |
---|---|
protected Area |
DatasetCanvasObjectFactory.getArea(IsChart chart,
Gradient gradient) |
protected Center |
DatasetCanvasObjectFactory.getCenter(IsChart chart,
Gradient gradient,
int datasetIndex,
int index) |
protected Radius |
DatasetCanvasObjectFactory.getRadius(IsChart chart,
Gradient gradient,
int datasetIndex,
int index) |
void |
Data.load(IsChart chart,
Configuration configuration) |
Constructor and Description |
---|
Data(ChartEnvelop<IsChart> envelop)
Creates the object with an empty native object.
|
Modifier and Type | Method and Description |
---|---|
static DataLabelsOptionsBuilder |
DataLabelsOptionsBuilder.create(IsChart chart)
Returns new builder instance using the chart global options.
|
Constructor and Description |
---|
DataLabelsOptions(IsChart chart)
Creates new
DataLabelsPlugin.ID plugin options, relating to chart instance for default. |
Modifier and Type | Method and Description |
---|---|
IsChart |
ChartEventContext.getChart()
Returns the CHARBA chart instance.
|
IsChart |
AbstractEvent.getChart()
Returns the chart instance, stored in the event as source.
|
IsChart |
DatasetSelectionEvent.getChart() |
IsChart |
IsCommonChartEvent.getChart()
Returns the chart instance, stored in the event as source.
|
protected abstract IsChart |
HandlerManager.getSource()
Returns a chart instance as source for all events.
|
Constructor and Description |
---|
DatasetSelectionEvent(BaseNativeEvent nativeEvent,
IsChart chart,
DatasetReference item)
Creates the event with dataset reference item related to the click and the chart instance
|
Modifier and Type | Class and Description |
---|---|
class |
BubbleMapChart
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. |
class |
ChoroplethChart
A choropleth chart is used to render maps with the area filled according to some numerical value.
|
Constructor and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractChartWidget<C extends IsChart>
Base class of all GWT WIDGET charts.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractChartWidget<C extends IsChart>
Base class of all GWT WIDGET charts.
|
class |
BarChartWidget
BAR 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. |
class |
BubbleChartWidget
BUBBLE 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. |
class |
BubbleMapChartWidget
BUBBLEMAP 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. |
class |
ChoroplethChartWidget
CHOROPLETH chart GWT WIDGET implementation.
A choropleth chart is used to render maps with the area filled according to some numerical value. |
class |
DoughnutChartWidget
DOUGHNUT 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. |
class |
GaugeChartWidget
GAUGE chart GWT WIDGET implementation.
|
class |
HorizontalBarChartWidget
HORIZONTAL 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. |
class |
LineChartWidget
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. |
class |
MatrixChartWidget
MATRIX 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. |
class |
MeterChartWidget
METER chart GWT WIDGET implementation.
|
class |
PieChartWidget
PIE 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. |
class |
PolarAreaChartWidget
POLAR 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. |
class |
RadarChartWidget
RADAR 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. |
class |
SankeyChartWidget
Sankey 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. |
class |
ScatterChartWidget
SCATTER 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. |
class |
StackedAreaChartWidget
STACKED 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. |
class |
StackedBarChartWidget
STACKED 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. |
class |
TimeSeriesBarChartWidget
BAR chart GWT WIDGET implementation for time series.
A bar chart provides a way of showing data values represented as vertical bars. |
class |
TimeSeriesLineChartWidget
LINE chart GWT WIDGET implementation for time series.
A line chart is a way of plotting data points on a line. |
class |
TreeMapChartWidget
TREEMAP chart GWT WIDGET implementation.
A treemap chart is used for displaying hierarchical data using nested figures, usually rectangles. |
class |
VerticalLineChartWidget
Vertical 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. |
Modifier and Type | Method and Description |
---|---|
static double |
Percentage.compute(IsChart chart,
double value,
AbstractDatasetContext context)
Computes the percentage of the value based on the data of datasets.
|
static double |
Percentage.compute(IsChart chart,
double value,
AbstractDatasetContext context,
boolean stacked)
Computes the percentage of the value based on the data of datasets.
|
Modifier and Type | Class and Description |
---|---|
class |
GaugeChart
GAUGE chart implementation.
|
class |
MeterChart
METER chart implementation.
|
Modifier and Type | Method and Description |
---|---|
IsChart |
HtmlLegendItem.getChart()
Returns the chart instance
|
Modifier and Type | Method and Description |
---|---|
void |
DatasetsItemsSelector.cleanSelection(IsChart chart)
Clears the selection on the chart.
|
void |
DatasetsItemsSelector.cleanSelection(IsChart chart,
boolean fireEvent)
Clears the selection on the chart and set if an event should fire on clear action.
|
static ColorSchemesOptionsBuilder |
ColorSchemesOptionsBuilder.create(IsChart chart)
Returns new builder instance using chart global options as default.
|
static ChartBackgroundColorOptionsBuilder |
ChartBackgroundColorOptionsBuilder.create(IsChart chart)
Returns new builder instance using the chart global options.
|
static ChartPointerOptionsBuilder |
ChartPointerOptionsBuilder.create(IsChart chart)
Returns new builder instance using the chart global options.
|
static HtmlLegendOptionsBuilder |
HtmlLegendOptionsBuilder.create(IsChart chart)
Returns new builder instance using chart global options as default.
|
static DatasetsItemsSelectorOptionsBuilder |
DatasetsItemsSelectorOptionsBuilder.create(IsChart chart)
Returns new builder instance using the chart global options.
|
double |
DatasetsItemsSelector.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. |
void |
HtmlLegend.onAfterDraw(IsChart chart) |
void |
ChartPointer.onAfterEvent(IsChart chart,
PluginEventArgument argument) |
boolean |
ChartBackgroundColor.onBeforeDraw(IsChart chart) |
boolean |
DatasetsItemsSelector.onBeforeEvent(IsChart chart,
PluginEventArgument argument) |
boolean |
ColorSchemes.onBeforeUpdate(IsChart chart,
PluginUpdateArgument argument) |
boolean |
ChartPointer.onBeforeUpdate(IsChart chart,
PluginUpdateArgument argument) |
void |
DatasetsItemsSelector.onBeginDrawing(IsChart chart,
boolean overridePreviousUpdate) |
void |
HtmlLegend.onBeginDrawing(IsChart chart,
boolean overridePreviousUpdate) |
void |
DatasetsItemsSelector.onConfigure(IsChart chart) |
void |
ColorSchemes.onConfigure(IsChart chart) |
void |
HtmlLegend.onConfigure(IsChart chart) |
void |
DatasetsItemsSelector.onDestroy(IsChart chart) |
void |
ColorSchemes.onDestroy(IsChart chart) |
void |
ChartBackgroundColor.onDestroy(IsChart chart) |
void |
ChartPointer.onDestroy(IsChart chart) |
void |
HtmlLegend.onDestroy(IsChart chart) |
void |
DatasetsItemsSelector.onEndDrawing(IsChart chart) |
void |
ChartBackgroundColor.onEndDrawing(IsChart chart) |
void |
HtmlLegend.onEndDrawing(IsChart chart) |
void |
ChartBackgroundColor.onResize(IsChart chart,
PluginResizeArgument argument) |
void |
DatasetsItemsSelector.setSelection(IsChart chart,
Date from,
Date to)
Selects an area, invoked programmatically.
Values on axis are retrieved as date ( CartesianTimeAxis or CartesianTimeSeriesAxis ). |
void |
DatasetsItemsSelector.setSelection(IsChart chart,
double from,
double to)
Selects an area, invoked programmatically.
Values on axis are retrieved as number ( CartesianLinearAxis or CartesianLogarithmicAxis ). |
void |
DatasetsItemsSelector.setSelection(IsChart chart,
String from,
String to)
Selects an area, invoked programmatically.
Values on axis are retrieved as string ( CartesianCategoryAxis ). |
Constructor and 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. |
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. |
Modifier and Type | Method and Description |
---|---|
IsChart |
TooltipItem.getChart()
Returns the CHARBA chart instance.
|
IsChart |
AnimationItem.getChart()
Returns the CHARBA chart instance.
|
IsChart |
ScaleItem.getChart()
Returns the CHARBA chart instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LegendItem.isHidden(IsChart chart)
Returns
true if this item represents a hidden data set.Label will be rendered with a strike-through effect |
void |
LegendLabelItem.setFillStyle(IsChart chart,
Gradient gradient)
Sets the fill style of the legend box as gradient.
|
void |
LegendLabelItem.setFillStyle(IsChart chart,
Pattern pattern)
Sets the fill style of the legend box as pattern.
|
void |
LegendLabelItem.setStrokeStyle(IsChart chart,
Gradient gradient)
Sets the stroke style of the legend box as gradient.
|
void |
LegendLabelItem.setStrokeStyle(IsChart chart,
Pattern pattern)
Sets the stroke style of the legend box as pattern.
|
Modifier and Type | Method and Description |
---|---|
static LabelsOptionsBuilder |
LabelsOptionsBuilder.create(IsChart chart)
Returns new builder instance using the chart global options.
|
Constructor and Description |
---|
LabelsOptions(IsChart chart)
Creates new
LabelsPlugin.ID plugin options, relating to chart instance for default. |
Modifier and Type | Class and Description |
---|---|
class |
MatrixChart
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. |
Modifier and Type | Method and Description |
---|---|
IsChart |
ExtendedOptions.getChart()
Returns the chart instance which is using the options.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
Plugins.load(IsChart chart,
Configuration configuration) |
void |
GlobalPlugins.onChartConfigure(Configuration config,
IsChart chart)
Invokes the on configuration method to inform the plugins that the chart is going to be initialized.
|
void |
Plugins.onChartConfigure(Configuration config,
IsChart chart)
Invokes the on configuration method to inform the plugins that the chart is going to be initialized.
|
void |
AbstractPluginOptions.store(IsChart chart)
Stores this options in the chart plugins options.
|
Modifier and Type | Method and Description |
---|---|
Point |
TooltipPositioner.computePosition(IsChart chart,
List<DatasetReference> items,
Point eventPoint)
Applies own logic to returns the point where the tooltip must be showed.
|
Modifier and Type | Class and Description |
---|---|
class |
SankeyChart
Sankey 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. |
Modifier and Type | Class and Description |
---|---|
class |
TreeMapChart
A 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. |
Modifier and Type | Method and Description |
---|---|
static CursorType |
Utilities.getCursorOfChart(IsChart chart)
Returns the cursor currently set in the chart.
|
Modifier and Type | Method and Description |
---|---|
static double |
ZoomPlugin.getZoomLevel(IsChart chart)
Returns the zoom level when
ZoomPlugin is activated. |
static void |
ZoomPlugin.pan(IsChart chart,
Amount amount)
Pans the chart on demand, programmatically.
|
static void |
ZoomPlugin.pan(IsChart chart,
Amount amount,
TransitionKey transition)
Pans the chart on demand, programmatically.
|
static void |
ZoomPlugin.pan(IsChart chart,
double amount)
Pans the chart on demand, programmatically.
|
static void |
ZoomPlugin.pan(IsChart chart,
double amount,
TransitionKey transition)
Pans the chart on demand, programmatically.
|
static void |
ZoomPlugin.reset(IsChart chart)
Reset the zoom of chart when
ZoomPlugin is activated. |
static void |
ZoomPlugin.reset(IsChart chart,
TransitionKey transition)
Reset the zoom of chart when
ZoomPlugin is activated. |
static void |
ZoomPlugin.zoom(IsChart chart,
Amount amount)
Zooms the chart on demand, programmatically.
|
static void |
ZoomPlugin.zoom(IsChart chart,
Amount amount,
TransitionKey transition)
Zooms the chart on demand, programmatically.
|
static void |
ZoomPlugin.zoom(IsChart chart,
double amount)
Zooms the chart on demand, programmatically.
|
static void |
ZoomPlugin.zoom(IsChart chart,
double amount,
TransitionKey transition)
Zooms the chart on demand, programmatically.
|
static void |
ZoomPlugin.zoomScale(IsChart chart,
ScaleId scaleId,
ScaleRange range)
Zooms the chart scale on demand, programmatically.
|
static void |
ZoomPlugin.zoomScale(IsChart chart,
ScaleId scaleId,
ScaleRange range,
TransitionKey transition)
Zooms the chart scale on demand, programmatically.
|
Constructor and Description |
---|
ZoomOptions(IsChart chart)
Creates new
ZoomPlugin.ID plugin options, relating to chart instance for default. |