Modifier and Type | Class and Description |
---|---|
class |
BarChart
BAR chart implementation.
|
class |
BubbleChart
BUBBLE chart implementation.
|
class |
DoughnutChart
DOUGHNUT chart implementation.
|
class |
GaugeChart
GAUGE chart implementation.
|
class |
HorizontalBarChart
HORIZONTAL BAR chart implementation.
|
class |
LineChart
LINE chart implementation.
|
class |
MeterChart
METER chart implementation.
|
class |
PieChart
PIE chart implementation.
|
class |
PolarAreaChart
POLAR AREA chart implementation.
|
class |
RadarChart
RADAR chart implementation.
|
class |
ScatterChart
SCATTER chart implementation.
|
class |
StackedAreaChart
STACKED AREA chart implementation.
|
class |
StackedBarChart
STACKED BAR chart implementation.
|
Modifier and Type | Method and Description |
---|---|
static AbstractChart<?,?> |
Charts.get(java.lang.String chartId)
Returns the chart instance by its id.
|
Modifier and Type | Method and Description |
---|---|
void |
Controller.addElementAndReset(Context jsThis,
AbstractChart<?,?> chart,
int index)
Create a single element for the data at the given index and reset its state.
|
void |
Controller.addElements(Context jsThis,
AbstractChart<?,?> chart)
Create elements for each piece of data in the dataset.
|
void |
Controller.draw(Context jsThis,
AbstractChart<?,?> chart,
double ease)
Draw the representation of the dataset.
|
void |
Controller.initialize(Context jsThis,
AbstractChart<?,?> chart,
int datasetIndex)
Initializes the controller.
|
void |
Plugin.onAfterDatasetDraw(AbstractChart<?,?> chart,
int datasetIndex,
double easing,
com.google.gwt.core.client.JavaScriptObject options)
Called after the 'chart' datasets at the given 'args.index' have been drawn (datasets are drawn in the reverse order).
|
void |
Plugin.onAfterDatasetsDraw(AbstractChart<?,?> chart,
double easing,
com.google.gwt.core.client.JavaScriptObject options)
Called after the 'chart' datasets have been drawn.
|
void |
Plugin.onAfterDatasetsUpdate(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called after the 'chart' datasets have been updated.
|
void |
Plugin.onAfterDatasetUpdate(AbstractChart<?,?> chart,
int datasetIndex,
com.google.gwt.core.client.JavaScriptObject options)
Called after the 'chart' datasets at the given 'args.index' has been updated.
|
void |
Plugin.onAfterDraw(AbstractChart<?,?> chart,
double easing,
com.google.gwt.core.client.JavaScriptObject options)
Called after the 'chart' has been drawn for the specific easing value.
|
void |
Plugin.onAfterEvent(AbstractChart<?,?> chart,
ChartNativeEvent event,
com.google.gwt.core.client.JavaScriptObject options)
Called after the 'event' has been consumed.
|
void |
Plugin.onAfterInit(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called after 'chart' has been initialized and before the first update.
|
void |
Plugin.onAfterLayout(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called after the 'chart' has been layed out.
|
void |
Plugin.onAfterRender(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called after the 'chart' has been fully rendered (and animation completed).
|
void |
Plugin.onAfterTooltipDraw(AbstractChart<?,?> chart,
TooltipModel tooltip,
double easing,
com.google.gwt.core.client.JavaScriptObject options)
Called after drawing the 'tooltip'.
|
void |
Plugin.onAfterUpdate(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called after 'chart' has been updated and before rendering.
|
boolean |
Plugin.onBeforeDatasetDraw(AbstractChart<?,?> chart,
int datasetIndex,
double easing,
com.google.gwt.core.client.JavaScriptObject options)
Called before drawing the 'chart' dataset at the given 'args.index' (datasets are drawn in the reverse order).
|
boolean |
Plugin.onBeforeDatasetsDraw(AbstractChart<?,?> chart,
double easing,
com.google.gwt.core.client.JavaScriptObject options)
Called before drawing the 'chart' datasets.
|
boolean |
Plugin.onBeforeDatasetsUpdate(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called before updating the 'chart' datasets.
|
boolean |
Plugin.onBeforeDatasetUpdate(AbstractChart<?,?> chart,
int datasetIndex,
com.google.gwt.core.client.JavaScriptObject options)
Called before updating the 'chart' dataset at the given 'args.index'.
|
boolean |
Plugin.onBeforeDraw(AbstractChart<?,?> chart,
double easing,
com.google.gwt.core.client.JavaScriptObject options)
Called before drawing 'chart' at every animation frame specified by the given easing value.
|
boolean |
Plugin.onBeforeEvent(AbstractChart<?,?> chart,
ChartNativeEvent event,
com.google.gwt.core.client.JavaScriptObject options)
Called before processing the specified 'event'.
|
void |
Plugin.onBeforeInit(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called before initializing 'chart'.
|
boolean |
Plugin.onBeforeLayout(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called before laying out 'chart'.
|
boolean |
Plugin.onBeforeRender(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called before rendering 'chart'.
|
boolean |
Plugin.onBeforeTooltipDraw(AbstractChart<?,?> chart,
TooltipModel tooltip,
double easing,
com.google.gwt.core.client.JavaScriptObject options)
Called before drawing the 'tooltip'.
|
boolean |
Plugin.onBeforeUpdate(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called before updating 'chart'.
|
void |
Plugin.onDestroy(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options)
Called after the chart as been destroyed.
|
void |
Plugin.onResize(AbstractChart<?,?> chart,
SizeItem size,
com.google.gwt.core.client.JavaScriptObject options)
Called after the chart as been resized.
|
void |
Controller.removeHoverStyle(Context jsThis,
AbstractChart<?,?> chart,
StyleElement element)
Remove hover styling from the given element.
|
void |
Controller.setHoverStyle(Context jsThis,
AbstractChart<?,?> chart,
StyleElement element)
Add hover styling to the given element.
|
void |
Controller.update(Context jsThis,
AbstractChart<?,?> chart,
boolean reset)
Update the elements in response to new data.
|
Modifier and Type | Method and Description |
---|---|
void |
LegendCallback.generateLegend(AbstractChart<?,?> chart,
com.google.gwt.safehtml.shared.SafeHtmlBuilder builder)
Creates HTML representation of legend.
|
LegendLabelItem[] |
LegendLabelsCallback.generateLegendLabels(AbstractChart<?,?> chart)
Generates legend items for each thing in the legend.
|
java.lang.String[] |
TooltipBodyCallback.onAfterBody(AbstractChart<?,?> chart,
java.util.List<TooltipItem> items)
Returns text to render after the body section.
|
void |
AxisBuildTicksCallback.onAfterBuildTicks(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs after ticks are created.
|
void |
AxisCalculateTickRotationCallback.onAfterCalculateTickRotation(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs after tick rotation is determined.
|
void |
AxisDataLimitsCallback.onAfterDataLimits(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs after data limits are determined.
|
void |
AxisFitCallback.onAfterFit(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs after the scale fits to the canvas.
|
java.lang.String[] |
TooltipFooterCallback.onAfterFooter(AbstractChart<?,?> chart,
java.util.List<TooltipItem> items)
Text to render after the footer section.
|
java.lang.String |
TooltipLabelCallback.onAfterLabel(AbstractChart<?,?> chart,
TooltipItem item)
Returns text to render after an individual label.
|
void |
AxisDimensionsCallback.onAfterSetDimensions(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs after dimensions are set.
|
void |
AxisTickToLabelConversionCallback.onAfterTickToLabelConversion(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs after ticks are converted into strings.
|
java.lang.String[] |
TooltipTitleCallback.onAfterTitle(AbstractChart<?,?> chart,
java.util.List<TooltipItem> items)
Returns text to render after the title.
|
void |
AxisUpdateCallback.onAfterUpdate(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs at the end of the update process.
|
java.lang.String[] |
TooltipBodyCallback.onBeforeBody(AbstractChart<?,?> chart,
java.util.List<TooltipItem> items)
Returns text to render before the body section.
|
void |
AxisBuildTicksCallback.onBeforeBuildTicks(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs before ticks are created.
|
void |
AxisCalculateTickRotationCallback.onBeforeCalculateTickRotation(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs before tick rotation is determined.
|
void |
AxisDataLimitsCallback.onBeforeDataLimits(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs before data limits are determined.
|
void |
AxisFitCallback.onBeforeFit(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs before the scale fits to the canvas.
|
java.lang.String[] |
TooltipFooterCallback.onBeforeFooter(AbstractChart<?,?> chart,
java.util.List<TooltipItem> items)
Returns text to render before the footer section.
|
java.lang.String |
TooltipLabelCallback.onBeforeLabel(AbstractChart<?,?> chart,
TooltipItem item)
Returns text to render before an individual label.
|
void |
AxisDimensionsCallback.onBeforeSetDimensions(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs before dimensions are set.
|
void |
AxisTickToLabelConversionCallback.onBeforeTickToLabelConversion(AbstractChart<?,?> chart,
AxisItem item)
Callback that runs before ticks are converted into strings.
|
java.lang.String[] |
TooltipTitleCallback.onBeforeTitle(AbstractChart<?,?> chart,
java.util.List<TooltipItem> items)
Returns the text to render before the title.
|
void |
AxisUpdateCallback.onBeforeUpdate(AbstractChart<?,?> chart,
AxisItem item)
Callback called before the update process starts.
|
java.lang.String |
RadialPointLabelCallback.onCallback(AbstractChart<?,?> chart,
java.lang.String item)
Callback function to transform data labels to point labels.
|
java.lang.String |
TickCallback.onCallback(AbstractChart<?,?> chart,
TickItem item)
Changes the tick marks to include information about the data type.
|
void |
TooltipCustomCallback.onCustom(AbstractChart<?,?> chart,
TooltipModel model)
Custom tooltips allow you to hook into the tooltip rendering process so that you can render the tooltip in your own
custom way.
|
java.lang.String[] |
TooltipFooterCallback.onFooter(AbstractChart<?,?> chart,
java.util.List<TooltipItem> items)
Returns text to render as the footer of the tooltip.
|
int |
TooltipItemSortHandler.onItemSort(AbstractChart<?,?> chart,
TooltipItem item1,
TooltipItem item2)
Allows sorting of tooltip items.
|
java.lang.String |
TooltipLabelCallback.onLabel(AbstractChart<?,?> chart,
TooltipItem item)
Returns text to render for an individual item in the tooltip.
|
TooltipLabelColor |
TooltipLabelCallback.onLabelColor(AbstractChart<?,?> chart,
TooltipItem item)
Returns the colors to render for the tooltip item.
|
IsColor |
TooltipLabelCallback.onLabelTextColor(AbstractChart<?,?> chart,
TooltipItem item)
Returns the colors for the text of the label for the tooltip item.
|
java.lang.String[] |
TooltipTitleCallback.onTitle(AbstractChart<?,?> chart,
java.util.List<TooltipItem> items)
Returns text to render as the title of the tooltip.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
NoSelectedDatasetTicksCallback.onCallback(AbstractChart<?,?> chart,
TickItem item) |
Modifier and Type | Method and Description |
---|---|
AbstractChart<?,?> |
ChartContainer.getChart() |
Constructor and Description |
---|
ChartContainer(AbstractChart<?,?> chart)
Creates the chart configuration object with the chart instance
|
EventProvider(AbstractChart<?,?> chart)
Creates the chart configuration object with the chart instance
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractController.addElementAndReset(Context jsThis,
AbstractChart<?,?> chart,
int index) |
void |
AbstractController.addElements(Context jsThis,
AbstractChart<?,?> chart) |
void |
AbstractController.draw(Context jsThis,
AbstractChart<?,?> chart,
double ease) |
void |
AbstractController.initialize(Context jsThis,
AbstractChart<?,?> chart,
int datasetIndex) |
void |
AbstractController.removeHoverStyle(Context jsThis,
AbstractChart<?,?> chart,
StyleElement element) |
void |
AbstractController.setHoverStyle(Context jsThis,
AbstractChart<?,?> chart,
StyleElement element) |
void |
AbstractController.update(Context jsThis,
AbstractChart<?,?> chart,
boolean reset) |
Modifier and Type | Method and Description |
---|---|
AbstractChart<?,?> |
AbstractEvent.getChart()
Returns the chart instance, stored in the event as source.
|
Constructor and Description |
---|
BarOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
BaseOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
Sets also the internal parts of options. |
BubbleOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
DoughnutOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
GaugeOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
LineOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
MeterOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
MultiScalesOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
Sets also the scales object. |
PieOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
PolarAreaOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
RadarOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
Scales(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
ScatterOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
SingleScaleOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
StackedOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
StackedOptions(AbstractChart<?,?> chart,
boolean onlyYScaled)
Builds the object storing the chart instance and if only Y axis is scaled.
|
Constructor and Description |
---|
Arc(AbstractChart<?,?> chart)
Builds the object setting the java script padding object.
|
Line(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
Point(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
Rectangle(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
Constructor and Description |
---|
Padding(AbstractChart<?,?> chart)
Builds the object setting the java script padding object.
|
Constructor and Description |
---|
Axis(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
BarCategoryAxis(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
CartesianCategoryAxis(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
CartesianCategoryAxis(AbstractChart<?,?> chart,
CartesianAxisType cartesianType)
Builds the object storing the chart instance and axis type.
|
CartesianLinearAxis(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
CartesianLinearAxis(AbstractChart<?,?> chart,
CartesianAxisType cartesianType)
Builds the object storing the chart instance and axis type.
|
CartesianLogarithmicAxis(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
CartesianLogarithmicAxis(AbstractChart<?,?> chart,
CartesianAxisType cartesianType)
Builds the object storing the chart instance and axis type.
|
CartesianTimeAxis(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
CartesianTimeAxis(AbstractChart<?,?> chart,
CartesianAxisType cartesianType)
Builds the object storing the chart instance and axis type.
|
RadialAxis(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
StackedScales(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractPlugin.onAfterDatasetDraw(AbstractChart<?,?> chart,
int datasetIndex,
double easing,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterDatasetsDraw(AbstractChart<?,?> chart,
double easing,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterDatasetsUpdate(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterDatasetUpdate(AbstractChart<?,?> chart,
int datasetIndex,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterDraw(AbstractChart<?,?> chart,
double easing,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterEvent(AbstractChart<?,?> chart,
ChartNativeEvent event,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterInit(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterLayout(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterRender(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterTooltipDraw(AbstractChart<?,?> chart,
TooltipModel tooltip,
double easing,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onAfterUpdate(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeDatasetDraw(AbstractChart<?,?> chart,
int datasetIndex,
double easing,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeDatasetsDraw(AbstractChart<?,?> chart,
double easing,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeDatasetsUpdate(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeDatasetUpdate(AbstractChart<?,?> chart,
int datasetIndex,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeDraw(AbstractChart<?,?> chart,
double easing,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeEvent(AbstractChart<?,?> chart,
ChartNativeEvent event,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onBeforeInit(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeLayout(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeRender(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeTooltipDraw(AbstractChart<?,?> chart,
TooltipModel tooltip,
double easing,
com.google.gwt.core.client.JavaScriptObject options) |
boolean |
AbstractPlugin.onBeforeUpdate(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onDestroy(AbstractChart<?,?> chart,
com.google.gwt.core.client.JavaScriptObject options) |
void |
AbstractPlugin.onResize(AbstractChart<?,?> chart,
SizeItem size,
com.google.gwt.core.client.JavaScriptObject options) |
Constructor and Description |
---|
Plugins(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ChartBackgroundColor.onBeforeDraw(AbstractChart<?,?> chart,
double easing,
com.google.gwt.core.client.JavaScriptObject options) |