Package org.pepstock.charba.client.enums
Contains all enumerations of some chart options where only a specific set of values can be set.
- Author:
- Andrea "Stock" Stocchero
-
Interface Summary Interface Description IsFill Represents how to fill the area under the line.IsTooltipPosition Defines an object which represents the positioning of the tooltip. -
Class Summary Class Description AbsoluteDatasetIndexFill Fill object to configure chart to use an absolute dataset index.
Absolute dataset index, as integer, is composed by integer value which must be greater than 0.
Here are same examples: (1,2,3,...).DefaultEvents The events option defines the default browser events that the chart, legend, tooltip or plugins should listen to.RelativeDatasetIndexFill Fill object to configure chart to use a relative dataset index.
Relative dataset index, as string, is composed by sign and value, both mandatory.
Here are same examples: ("-1", "-2", "+1", "+2",...). -
Enum Summary Enum Description AnimationEventType Enumerates the animation event type.AnimationType Type of property in the animation object to determine the interpolator used.AxisKind Can be set to 'x', 'y' or 'r' to define which directions are used in axis.AxisPosition An axis can either be positioned at the edge of the chart, at the center of the chart area, or dynamically with respect to a data value.
To position the axis at the edge of the chart, set the position option to one of: 'top', 'left', 'bottom', 'right'.
To position the axis at the center of the chart area, set the position option to 'center'.
In this mode, either the axis option is specified or the axis ID starts with the letter 'x' or 'y'.
To position the axis with respect to a data value, set the position option to an object such as-20
.
This will position the axis at a value of -20 on the axis with ID "x".
For cartesian axes, only 1 axis may be specified.BorderAlign Property to set the border alignment on chart datasets.BorderItemType Property which map the border width and border radius types onBarDataset
.BorderSkipped Property to set the border position on chart datasets.
This setting is used to avoid drawing the bar stroke at the base of the fill.Bounds Controls the scale boundary strategy (bypassed by minimum/maximum time options).CapStyle Determines how the end points of every line are drawn.
There are three possible values for this property and those are: butt, round and square.ChartAxisType Axes are an integral part of a chart.ChartEventProperty Enumerates the name of options property to set the callbacks to chart events.ColorType ContextType Enumerates the type of scriptable options context.CrossAlign The crossAlign setting configures how labels align with the tick mark in the perpendicular direction.
For instance vertical for a horizontal axis and horizontal for a vertical axis.CubicInterpolationMode Determines the interpolation mode of lines.DataPointType Enumeration with all possible types of data inDataPoint
.DataType Enumeration with all possible types of data set in the dataset.DecimationAlgorithm Enumerates the possible algorithm thatDefaultPluginId.DECIMATION
plugin can use for its work.DefaultAnimationCollectionKey Cores animation collections names provided out of the box by CHART.JS.DefaultAnimationPropertyKey Cores animation properties, to use to animate, provided out of the box by CHART.JS.DefaultPluginId Contains the GLOBAL plugin IDs of the default CHART.JS plugins, provided out of the box.DefaultScaleId Enumerates the default scale id.DefaultTransitionKey Cores animation update modes (transition) provided out of the box by CHART.JS.Display The display option controls the visibility of axis and the display option controls the visibility of data labels plugin.
Controls the axis global visibility (visible when true, hidden when false).DrawTime Defines when the filler will fill the data sets.Easing Easing is acceleration, a change in speed.
For further details, see here.ElementAlign Property to set alignment of the legend and the title.Fill Both line and radar charts support a fill option on the data set object which can be used to create area between two data sets or a data set and a boundary.
These are the constants of predefined filling mode values.FillingMode Represents how to fill the area under the line.FontStyle The font-style property specifies the font style for a text.ImageMimeType Determines the image format to use to export the image from the canvas.IndexAxis Can be set to 'x' or 'y' to define the base axis for the dataset.
Use 'y' for horizontal bar.InteractionAxis Defines which directions are used in calculating distances, interacting on the chart.
Defaults toInteractionAxis.X
forInteractionMode.INDEX
mode andInteractionAxis.XY
inInteractionMode.DATASET
andInteractionMode.NEAREST
modes.InteractionMode When configuring interaction with the graph via hover or tooltips, a number of different modes are available to set which elements appear via tooltip or hover.IsoWeekDay Enumeration with ISO day of the week with 0 being Sunday and 6 being Saturday.JoinStyle Determines how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped).LegendEventProperty Enumerates the name of options property to set the callbacks to legend events.ModifierKey A modifier key modifies the action of another key when the keys are pressed at the same time.PluginOptionsScope Enumeration with all possible options scope.PointStyle Style of the point.PointStyleType Enumerates the type of the point style.Position Property to set the position's edge of an element to a unit above/below its normal position.RegressionType Enumerates the available regression types.ScaleDataType Enumeration with all possible types of data set in the scale.ScaleTitleAlign Property to set the scale title alignment.Stepped Property to set if the line is shown as a stepped line.TextAlign Property to set the text alignment.TextDirection Enumerates the text direction that will force the text direction on the canvas for rendering the legend, regardless of the CSS specified on the canvas.TickAlign Property to set alignment of the ticks.TickSource Controls the ticks generation on cartesian time axis.TimeUnit Controls the data distribution along the scale.TooltipAlign Defines the position of the tooltip caret.TooltipPosition These are the different modes for positioning of the tooltip.Weight The weight sets how thick or thin characters in text should be displayed.