Uses of Interface
org.pepstock.charba.client.colors.IsColor
-
Packages that use IsColor Package Description org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.ID
plugin (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.colors.tiles Contains all classes to build tiles to use in the a canvas patterns or a Charba pattern.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.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.ID
plugin (AKAchartjs-plugin-datalabels.js
) for CHART.js.org.pepstock.charba.client.dom.elements Contains a set of DOM elements that Charba is using.org.pepstock.charba.client.gradient Contains all classes to activate theGradientPlugin.ID
plugin (AKAchartjs-plugin-gradient.js
) for CHART.js.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.ID
plugin (AKAchartjs-plugin-labels.js
) available 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.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.utils.toast Contains all classes to useToaster
utility.org.pepstock.charba.client.utils.toast.enums Contains all enumerations to configure the TOAST utility.org.pepstock.charba.client.zoom Contains all classes to activate theZoomPlugin.ID
plugin (AKAchartjs-plugin-zoom.js
) for CHART.js. -
-
Uses of IsColor in org.pepstock.charba.client.annotation
Fields in org.pepstock.charba.client.annotation declared as IsColor Modifier and Type Field Description static IsColor
LabelAnnotation. DEFAULT_BACKGROUND_COLOR
Default label annotation background color,HtmlColor.TRANSPARENT
.static IsColor
LineLabel. DEFAULT_BACKGROUND_COLOR
Default line label background color, rgba(0, 0, 0, 0.8).static IsColor
LineLabel. DEFAULT_BORDER_COLOR
Default line label background color, black.static IsColor
BoxLabel. DEFAULT_COLOR
Default box label text color,HtmlColor.WHITE
.static IsColor
LabelAnnotation. DEFAULT_COLOR
Default label text color,HtmlColor.WHITE
.static IsColor
LineLabel. DEFAULT_COLOR
Default line label text color,HtmlColor.WHITE
.static IsColor
LabelAnnotation. DEFAULT_TEXT_STROKE_COLOR
Default label annotation text stroke color,HtmlColor.TRANSPARENT
. -
Uses of IsColor in org.pepstock.charba.client.callbacks
Methods in org.pepstock.charba.client.callbacks that return IsColor Modifier and Type Method Description 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 returnsnull
, it will be ignored. -
Uses of IsColor in org.pepstock.charba.client.colors
Classes in org.pepstock.charba.client.colors that implement IsColor Modifier and Type Class Description class
Color
This class contains information about a color.
You can requests a specific alpha (starting form source color and cloning it).class
GoogleChartColor
Google Chart colors provided as enumeration of colors.class
GwtMaterialColor
GWT material color constants.class
HtmlColor
All modern browsers support the following 140 color names.Methods in org.pepstock.charba.client.colors that return IsColor Modifier and Type Method Description default IsColor
IsColor. alpha(double alpha)
Clones the color applying the alpha value.default IsColor
IsColor. brighter()
Creates a new color that is a brighter version of this color.default IsColor
IsColor. brighter(double alpha)
Creates a new color that is a brighter version of this color.static IsColor
ColorBuilder. build(int r, int g, int b)
Creates a color using red, green and blue channels.default IsColor
IsColor. darker()
Creates a newColor
that is a darker version of thisColor
.
This method applies an arbitrary scale factor to each of the three RGB components of thisColor
to create a darker version of thisColor
.
Althoughbrighter
anddarker
are inverse operations, the results of a series of invocations of these two methods might be inconsistent because of rounding errors.default IsColor
IsColor. darker(double alpha)
Creates a newColor
that is a darker version of thisColor
.
This method applies an arbitrary scale factor to each of the three RGB components of thisColor
to create a darker version of thisColor
.
Althoughbrighter
anddarker
are inverse operations, the results of a series of invocations of these two methods might be inconsistent because of rounding errors.IsColor
GoogleChartColor. getColor()
IsColor
GradientColor. getColor()
Returns the color of the gradient.IsColor
GwtMaterialColor. getColor()
IsColor
HtmlColor. getColor()
IsColor
Gradient. getInterpolatedColorByOffset(double offset)
Returns a color using the gradient as source of colors.default IsColor
IsColor. interpolate(IsColor endColor, double percentage)
Returns a color from a specific offset starting from the current one.static IsColor
ColorBuilder. parse(String value)
Returns a color parsing the string value passed as argument.
It's able to parse HEX, RGB, RGBA and named color representation.Methods in org.pepstock.charba.client.colors that return types with arguments of type IsColor Modifier and Type Method Description static List<IsColor>
ColorBuilder. parse(List<String> colorsAsString)
Builds a list of colors starting from a list of strings which represent colors.Methods in org.pepstock.charba.client.colors with parameters of type IsColor Modifier and Type Method Description GradientBuilder
GradientBuilder. addColorsStartStop(IsColor start, IsColor stop)
Sets the start and stop color of gradient, when the gradient will have only 2 colors.GradientBuilder
GradientBuilder. addColorStop(double offset, IsColor color)
Adds a stopping color with its offsetstatic String
IsColor. checkAndGetValue(IsColor value)
Checks a color value if consistent, returning the RGBA representation, otherwisenull
.static void
IsColor. checkIfValid(IsColor color)
Checks if the passed color is consistent, that means with a right red, green, blue and alpha values.
If not consistent, anIllegalArgumentException
will be thrown.default IsColor
IsColor. interpolate(IsColor endColor, double percentage)
Returns a color from a specific offset starting from the current one.static boolean
IsColor. isConsistent(IsColor color)
Returnstrue
if the passed color instance is consistent, that means with a right red, green, blue and alpha values and if the RGBA string representation is consistent as well.static boolean
IsColor. isValid(IsColor color)
Returnstrue
if the passed color instance is consistent, that means with a right red, green, blue and alpha values.static boolean
IsColor. isVisible(IsColor color)
Returnstrue
if the passed color instance is not transparent, with alpha greater than 0.GradientBuilder
GradientBuilder. setColors(IsColor... colors)
Sets an array of colors to the gradient.Method parameters in org.pepstock.charba.client.colors with type arguments of type IsColor Modifier and Type Method Description GradientBuilder
GradientBuilder. setColors(List<IsColor> colors)
Sets the list of colors.Constructors in org.pepstock.charba.client.colors with parameters of type IsColor Constructor Description GradientColor(double offset, IsColor color)
Creates a stopping gradient with its offset. -
Uses of IsColor in org.pepstock.charba.client.colors.tiles
Fields in org.pepstock.charba.client.colors.tiles declared as IsColor Modifier and Type Field Description static IsColor
TilesFactoryDefaults. DEFAULT_BACKGROUND_COLOR
Default background color, "rgba(100, 100, 100, 0.7)".static IsColor
TilesFactoryDefaults. DEFAULT_SHAPE_COLOR
Default shape color, "rgba(255, 255, 255, 0.8)".Methods in org.pepstock.charba.client.colors.tiles that return IsColor Modifier and Type Method Description IsColor
TilesFactoryDefaults. getBackgroundColor()
Returns the background color of tile.IsColor
TilesFactoryDefaults. getShapeColor()
Returns the shape color of tile.Methods in org.pepstock.charba.client.colors.tiles with parameters of type IsColor Modifier and Type Method Description static Pattern
TilesFactory. createPattern(IsShape shape, IsColor backgroundColor)
Returns a CHARBA pattern, using the shape and back ground color as arguments and the other default values, shape color and size.static Pattern
TilesFactory. createPattern(IsShape shape, IsColor backgroundColor, IsColor shapeColor)
Returns a CHARBA pattern, using the shape, back ground color and shape color as arguments and the size as default value.static Pattern
TilesFactory. createPattern(IsShape shape, IsColor backgroundColor, IsColor shapeColor, int size)
Returns a CHARBA pattern, using the shape, back ground color, shape color and size as arguments.static Pattern
TilesFactory. createPattern(PointStyle style, IsColor backgroundColor)
Returns a CHARBA pattern, using the point style and back ground color as arguments and the other default values, shape color and size.static Pattern
TilesFactory. createPattern(PointStyle style, IsColor backgroundColor, IsColor shapeColor)
Returns a CHARBA pattern, using the point style, back ground color and shape color as arguments and the size as default value.static Pattern
TilesFactory. createPattern(PointStyle style, IsColor backgroundColor, IsColor shapeColor, int size)
Returns a CHARBA pattern, using the point style, back ground color, shape color and size as arguments.static CanvasPatternItem
TilesFactory. createTile(IsShape shape, IsColor backgroundColor)
Returns a canvas pattern, using the shape and back ground color as arguments and the other default values, shape color and size.static CanvasPatternItem
TilesFactory. createTile(IsShape shape, IsColor backgroundColor, IsColor shapeColor)
Returns a canvas pattern, using the shape, back ground color and shape color as arguments and the size as default value.static CanvasPatternItem
TilesFactory. createTile(IsShape shape, IsColor backgroundColor, IsColor shapeColor, int size)
Returns a canvas pattern, using the shape, back ground color, shape color and size as arguments.TilesBuilder
TilesBuilder. setBackgroundColor(IsColor backgroundColor)
Sets the background color of tile.void
TilesFactoryDefaults. setBackgroundColor(IsColor backgroundColor)
Sets the background color of tile.TilesBuilder
TilesBuilder. setShapeColor(IsColor shapeColor)
Sets the shape color of tile.void
TilesFactoryDefaults. setShapeColor(IsColor shapeColor)
Sets the shape color of tile. -
Uses of IsColor in org.pepstock.charba.client.commons
Fields in org.pepstock.charba.client.commons declared as IsColor Modifier and Type Field Description static IsColor[]
ArrayUtil. EMPTY_COLORS_ARRAY
An empty immutableIsColor
array.Methods in org.pepstock.charba.client.commons that return IsColor Modifier and Type Method Description static IsColor[]
ArrayUtil. toColors(List<IsColor> list)
Returns an array of dates from a list.Methods in org.pepstock.charba.client.commons with parameters of type IsColor Modifier and Type Method Description static ArrayString
ArrayString. fromOrEmpty(IsColor... items)
Creates a java script array of strings starting from array of colors.static ArrayString
ArrayString. fromOrNull(IsColor... items)
Creates a java script array of strings starting from array of colors.static ArrayStringList
ArrayListHelper. list(IsColor... values)
Creates a array list of strings by an array of colors (instance ofIsColor
).protected void
NativeObjectContainer. setValueOrArray(Key key, IsColor... values)
Sets a value (Array or string by colors) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string.protected void
AbstractNode. setValueOrArrayAndAddToParent(Key key, IsColor... values)
Sets a value (Array or string by colors) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string.protected void
PropertyHandler. setValueOrArrayAndAddToParent(Key key, IsColor... values)
Sets a value (Array or string by colors) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a string.Method parameters in org.pepstock.charba.client.commons with type arguments of type IsColor Modifier and Type Method Description static IsColor[]
ArrayUtil. toColors(List<IsColor> list)
Returns an array of dates from a list. -
Uses of IsColor in org.pepstock.charba.client.configuration
Methods in org.pepstock.charba.client.configuration that return IsColor Modifier and Type Method Description IsColor
RadialPointLabels. getBackdropColor()
Returns the background color of the point label.IsColor
Axis. getBackgroundColor()
Returns the background color of the scale area.IsColor
ConfigurationOptions. getBackgroundColor()
Returns the default background color to use in the chart, on all objects, if not override by the specific configuration.IsColor
Tooltips. getBackgroundColor()
Returns the background color of the tooltip.IsColor
Tooltips. getBodyColor()
Returns the body font color.IsColor
ConfigurationOptions. getBorderColor()
Returns the default border color to use in the chart, on all objects, if not override by the specific configuration.IsColor
Grid. getBorderColor()
If set, used as the color of the border line.
If unset, the first color option is resolved and used.IsColor
Tooltips. getBorderColor()
Returns the color of the border.IsColor
CartesianScaleTitle. getColor()
Returns the font color.IsColor
ConfigurationOptions. getColor()
Returns the default color to use in the chart, on all objects, if not override by the specific configuration.IsColor
LegendLabels. getColor()
Returns the font color.IsColor
LegendTitle. getColor()
Returns the font color.IsColor
RadialAngleLines. getColor()
Returns the color of angled lines.IsColor
RadialPointLabels. getColor()
Returns the font color.IsColor
Tooltips. getFooterColor()
Returns the footer font color.IsColor
Tooltips. getMultiKeyBackground()
Returns the color to draw behind the colored boxes when multiple items are in the tooltip.IsColor
Tooltips. getTitleColor()
Returns the title font color.Methods in org.pepstock.charba.client.configuration that return types with arguments of type IsColor Modifier and Type Method Description List<IsColor>
Grid. getColor()
The color of the grid.
If specified as an array, the first color applies to the first grid line, the second to the second grid line and so on.List<IsColor>
Grid. getTickColor()
The color of the grid.
If specified as an array, the first color applies to the first grid line, the second to the second grid line and so on.Methods in org.pepstock.charba.client.configuration with parameters of type IsColor Modifier and Type Method Description void
RadialPointLabels. setBackdropColor(IsColor backdropColor)
Sets the background color of the point label.void
Axis. setBackgroundColor(IsColor backgroundColor)
Sets the default background color to use in the chart, on all objects, if not override by the specific configuration.void
ConfigurationOptions. setBackgroundColor(IsColor backgroundColor)
Sets the default background color to use in the chart, on all objects, if not override by the specific configuration.void
Tooltips. setBackgroundColor(IsColor backgroundColor)
Sets the background color of the tooltip.void
Tooltips. setBodyColor(IsColor color)
Sets the body font color.void
ConfigurationOptions. setBorderColor(IsColor borderColor)
Sets the default border color to use in the chart, on all objects, if not override by the specific configuration.void
Grid. setBorderColor(IsColor color)
If set, used as the color of the border line.
If unset, the first color option is resolved and used.void
Tooltips. setBorderColor(IsColor borderColor)
Sets the color of the border.void
CartesianScaleTitle. setColor(IsColor color)
Sets the font color.void
ConfigurationOptions. setColor(IsColor color)
Sets the default color to use in the chart, on all objects, if not override by the specific configuration.void
Grid. setColor(IsColor... color)
The color of the grid.
If specified as an array, the first color applies to the first grid line, the second to the second grid line and so on.void
LegendLabels. setColor(IsColor color)
Sets the font color.void
LegendTitle. setColor(IsColor color)
Sets the font color.void
RadialAngleLines. setColor(IsColor color)
Sets the color of angled lines.void
RadialPointLabels. setColor(IsColor color)
Sets the font color.void
Tooltips. setFooterColor(IsColor color)
Sets the footer font color.void
Tooltips. setMultiKeyBackground(IsColor multiKeyBackground)
Sets the color to draw behind the colored boxes when multiple items are in the tooltip.void
Grid. setTickColor(IsColor... color)
Sets the color of the tick line.void
Tooltips. setTitleColor(IsColor color)
Sets the title font color. -
Uses of IsColor in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data that return IsColor Modifier and Type Method Description IsColor
LiningDataset. getBackgroundColor()
Returns the fill color under the line.
If property is missing or not a color, returns the default background color.IsColor
LiningDataset. getBorderColor()
Returns the color of the line.
If property is missing or not a color, returns the default border color.IsColor
LiningDataset. getHoverBackgroundColor()
Returns the fill color of the elements when hovered.IsColor
LiningDataset. getHoverBorderColor()
Returns the stroke color of the elements when hoveredMethods in org.pepstock.charba.client.data that return types with arguments of type IsColor Modifier and Type Method Description List<IsColor>
HoverFlexDataset. getBackgroundColor()
Returns the fill colors of the elements.
If property is missing or not a color, returns an empty list.List<IsColor>
HoverFlexDataset. getBorderColor()
Returns the color of the bar border.List<IsColor>
HoverFlexDataset. getHoverBackgroundColor()
Returns the fill color of the elements when hovered.
If property is missing or not a color, returns an empty list.List<IsColor>
HoverFlexDataset. getHoverBorderColor()
Returns the stroke color of the elements when hovered.List<IsColor>
LiningDataset. getPointBackgroundColor()
Returns the fill color for points.List<IsColor>
LiningDataset. getPointBorderColor()
Returns the border color for points.
If property is missing or not a color, returns the default point border color.List<IsColor>
LiningDataset. getPointHoverBackgroundColor()
Returns the point background color when hovered.
If property is missing or not a color, returns the default point background color.List<IsColor>
LiningDataset. getPointHoverBorderColor()
Returns the point border color when hovered.
If property is missing or not a color, returns the default border color.Methods in org.pepstock.charba.client.data with parameters of type IsColor Modifier and Type Method Description void
HoverFlexDataset. setBackgroundColor(IsColor... backgroundColor)
Sets the fill colors of the elements.void
LiningDataset. setBackgroundColor(IsColor backgroundColor)
Sets the fill color under the line.void
HoverFlexDataset. setBorderColor(IsColor... borderColor)
Sets the color of the bar border.void
LiningDataset. setBorderColor(IsColor borderColor)
Sets the color of the line.protected void
HoverDataset. setColors(Key key, IsColor... colors)
protected void
HoverFlexDataset. setColors(Key key, IsColor... colors)
Sets a color property in the dataset, setting a single value or an array.void
HoverDataset. setHoverBackgroundColor(IsColor... colors)
Sets the fill color of the arcs when hovered.void
HoverFlexDataset. setHoverBackgroundColor(IsColor... colors)
Sets the fill color of the elements when hovered.void
LiningDataset. setHoverBackgroundColor(IsColor color)
Sets the fill color of the elements when hoveredvoid
HoverDataset. setHoverBorderColor(IsColor... colors)
Sets the stroke color of the arcs when hovered as string.void
HoverFlexDataset. setHoverBorderColor(IsColor... colors)
Sets the stroke color of the elements when hovered.void
LiningDataset. setHoverBorderColor(IsColor color)
Sets the stroke color of the elements when hoveredvoid
LiningDataset. setPointBackgroundColor(IsColor... pointBackgroundColor)
Sets the fill color for points.void
LiningDataset. setPointBorderColor(IsColor... pointBorderColor)
Sets the border color for points.void
LiningDataset. setPointHoverBackgroundColor(IsColor... pointHoverBackgroundColor)
Sets the point background color when hovered.void
LiningDataset. setPointHoverBorderColor(IsColor... pointHoverBorderColor)
Sets the point border color when hovered. -
Uses of IsColor in org.pepstock.charba.client.datalabels
Methods in org.pepstock.charba.client.datalabels that return IsColor Modifier and Type Method Description IsColor
LabelItem. getBackgroundColor()
Returns the background color.IsColor
LabelItem. getBorderColor()
Returns the border color.IsColor
LabelItem. getColor()
Returns the color.IsColor
LabelItem. getTextShadowColor()
Returns the text shadow color.IsColor
LabelItem. getTextStrokeColor()
Returns the text stroke color.Methods in org.pepstock.charba.client.datalabels with parameters of type IsColor Modifier and Type Method Description AbstractBuilder<T>
AbstractBuilder. setBackgroundColor(IsColor color)
Sets the background color.void
LabelItem. setBackgroundColor(IsColor color)
Sets the background color.AbstractBuilder<T>
AbstractBuilder. setBorderColor(IsColor color)
Sets the border color.void
LabelItem. setBorderColor(IsColor color)
Sets the border color.AbstractBuilder<T>
AbstractBuilder. setColor(IsColor color)
Sets the color.void
LabelItem. setColor(IsColor color)
Sets the color.AbstractBuilder<T>
AbstractBuilder. setTextShadowColor(IsColor color)
Sets the text shadow color color.void
LabelItem. setTextShadowColor(IsColor color)
Sets the text shadow color color.AbstractBuilder<T>
AbstractBuilder. setTextStrokeColor(IsColor color)
Sets the text stroke color.void
LabelItem. setTextStrokeColor(IsColor color)
Sets the text stroke color. -
Uses of IsColor in org.pepstock.charba.client.dom.elements
Methods in org.pepstock.charba.client.dom.elements that return IsColor Modifier and Type Method Description IsColor
Context2dItem. getFillColor()
Returns the filling styling is used for colors inside shapes.IsColor
Context2dItem. getStrokeColor()
Returns the stroke color is used for the lines around shapes.Methods in org.pepstock.charba.client.dom.elements with parameters of type IsColor Modifier and Type Method Description void
CanvasGradientItem. addColorStop(double offset, IsColor color)
Adds a new stop, defined by an offset and a color, to the gradient.
If the offset is not between 0 and 1, inclusive, anIllegalArgumentException
is raised.
If the color isnull
, the default color for line element is used.void
Context2dItem. setFillColor(IsColor color)
Sets the filling styling is used for colors inside shapes.void
Context2dItem. setStrokeColor(IsColor color)
Sets the stroke color is used for the lines around shapes. -
Uses of IsColor in org.pepstock.charba.client.gradient
Methods in org.pepstock.charba.client.gradient that return IsColor Modifier and Type Method Description IsColor
Colors. getColor(double value)
Returns the stored color in the gradient, by a value of chart.IsColor
Colors. getColor(String value)
Returns the stored color in the gradient, by a value of chart.IsColor
Colors. getColor(Date value)
Returns the stored color in the gradient, by a value of chart.Methods in org.pepstock.charba.client.gradient with parameters of type IsColor Modifier and Type Method Description void
Colors. setColor(double value, IsColor color)
Sets a color in the gradient, by a value of chart.void
Colors. setColor(String value, IsColor color)
Sets a color in the gradient, by a value of chart.void
Colors. setColor(Date value, IsColor color)
Sets a color in the gradient, by a value of chart. -
Uses of IsColor in org.pepstock.charba.client.impl.charts
Fields in org.pepstock.charba.client.impl.charts declared as IsColor Modifier and Type Field Description static IsColor
MeterDataset. DEFAULT_EMPTY_VALUE_COLOR
Default empty color, rgb(234, 234, 234).static IsColor
AbstractMeterElement. DEFAULT_FONT_COLOR
Default color of render, rgb(128, 128, 128)static IsColor
AbstractMeterElement. DEFAULT_FONT_COLOR
Default color of render, rgb(128, 128, 128)static IsColor
MeterDataset. DEFAULT_VALUE_COLOR
Default value color, rgb(140, 214, 16).static IsColor
Threshold. DEFAULT_VALUE_COLOR
Default color value,DefaultThreshold.NORMAL
.Methods in org.pepstock.charba.client.impl.charts that return IsColor Modifier and Type Method Description IsColor
MeterDataset. getBorderColor()
Returns the color of the arc border.IsColor
DefaultThreshold. getColor()
IsColor
MeterDataset. getColor()
Returns the fill color for value.IsColor
Threshold. getColor()
IsColor
MeterDataset. getEmptyColor()
Returns the fill color for empty sector.Methods in org.pepstock.charba.client.impl.charts with parameters of type IsColor Modifier and Type Method Description void
MeterDataset. setBorderColor(IsColor borderColor)
Sets the color of the arc border.void
GaugeDataset. setColor(IsColor valueColor)
void
MeterDataset. setColor(IsColor valueColor)
Sets the fill color for value.Threshold
Threshold. setColor(IsColor color)
Sets the color of threshold.void
MeterDataset. setEmptyColor(IsColor emptyValueColor)
Sets the fill color for empty sector.Constructors in org.pepstock.charba.client.impl.charts with parameters of type IsColor Constructor Description Threshold(String name, double value, IsColor color)
Creates a thresholdThreshold(String name, IsColor color)
Creates a threshold with standard value (Double.MAX_VALUE
). -
Uses of IsColor in org.pepstock.charba.client.impl.plugins
Fields in org.pepstock.charba.client.impl.plugins declared as IsColor Modifier and Type Field Description static IsColor
CrosshairLabel. DEFAULT_BACKGROUND_COLOR
Default background color for label, rgb(110, 112, 121).static IsColor
CrosshairLabel. DEFAULT_BORDER_COLOR
Default border color for label,HtmlColor.TRANSPARENT
.static IsColor
DatasetsItemsSelectorOptions. DEFAULT_BORDER_COLOR
Default border color for area,GwtMaterialColor.GREY_DARKEN_2
.static IsColor
CrosshairLabel. DEFAULT_COLOR
Default font color for label,HtmlColor.WHITE
.static IsColor
DatasetsItemsSelectorOptions. DEFAULT_COLOR
Default color for area,GwtMaterialColor.ORANGE_LIGHTEN_3
, alpha 0.3.static IsColor
CrosshairOptions. DEFAULT_LINE_COLOR
Default line color,HtmlColor.LIGHT_GRAY
.Methods in org.pepstock.charba.client.impl.plugins that return IsColor Modifier and Type Method Description IsColor
ChartBackgroundColorOptions. getAreaBackgroundColor()
Returns the area background color.
If it has been set a gradient or pattern, returnsnull
, otherwise the default color.IsColor
ChartBackgroundColorOptions. getBackgroundColor()
Returns the background color.
If it has been set a gradient or pattern, returnsnull
, otherwise the default color.IsColor
CrosshairLabel. getBackgroundColor()
Returns the background color.IsColor
CrosshairLabel. getBorderColor()
Returns the border color.IsColor
DatasetsItemsSelectorOptions. getBorderColor()
Returns the color.IsColor
ChartBackgroundColor. getColor()
Returns the color if it has been set, otherwisenull
.IsColor
CrosshairLabel. getColor()
Returns the crosshair label font color.IsColor
DatasetsItemsSelectorOptions. getColor()
Returns the color.IsColor
SelectionCleaner. getColor()
Returns the selection cleaner label font color.IsColor
CrosshairOptions. getLineColor()
Returns the color of the line.Methods in org.pepstock.charba.client.impl.plugins that return types with arguments of type IsColor Modifier and Type Method Description List<IsColor>
ColorScheme. getColors()
Returns a list of colors which are composing a color scheme.Methods in org.pepstock.charba.client.impl.plugins with parameters of type IsColor Modifier and Type Method Description void
ChartBackgroundColorOptions. setAreaBackgroundColor(IsColor color)
Sets the area background color.ChartBackgroundColorOptionsBuilder
ChartBackgroundColorOptionsBuilder. setAreaBackgroundColor(IsColor color)
Sets the area background color.void
ChartBackgroundColorOptions. setBackgroundColor(IsColor color)
Sets the background color.ChartBackgroundColorOptionsBuilder
ChartBackgroundColorOptionsBuilder. setBackgroundColor(IsColor color)
Sets the background color.void
CrosshairLabel. setBackgroundColor(IsColor color)
Sets the background color.void
CrosshairLabels. setBackgroundColor(IsColor color)
Sets the background color.void
CrosshairLabel. setBorderColor(IsColor borderColor)
Sets the border color.void
CrosshairLabels. setBorderColor(IsColor borderColor)
Sets the border color.void
DatasetsItemsSelectorOptions. setBorderColor(IsColor color)
Sets the color.DatasetsItemsSelectorOptionsBuilder
DatasetsItemsSelectorOptionsBuilder. setBorderColor(IsColor color)
Sets the color.void
CrosshairLabel. setColor(IsColor color)
Set the crosshair label font color.void
CrosshairLabels. setColor(IsColor color)
Set the crosshair label font color.void
DatasetsItemsSelectorOptions. setColor(IsColor color)
Sets the color.DatasetsItemsSelectorOptionsBuilder
DatasetsItemsSelectorOptionsBuilder. setColor(IsColor color)
Sets the color.void
SelectionCleaner. setColor(IsColor color)
Set the selection cleaner label font color.DatasetsItemsSelectorOptionsBuilder
DatasetsItemsSelectorOptionsBuilder. setFontColor(IsColor color)
Set the selection cleaner label font color.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setLabelsBackgroundColor(IsColor color)
Sets, for both labels, the background color.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setLabelsBorderColor(IsColor borderColor)
Sets the border color.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setLabelsColor(IsColor color)
Set the crosshair label font color.void
CrosshairOptions. setLineColor(IsColor color)
Sets the color of the line.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setLineColor(IsColor color)
Sets the color of the line.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setXLabelBackgroundColor(IsColor color)
Sets, for X label, the background color.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setXLabelBorderColor(IsColor borderColor)
Sets the border color.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setXLabelColor(IsColor color)
Set the crosshair label font color.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setYLabelBackgroundColor(IsColor color)
Sets, for Y label, the background color.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setYLabelBorderColor(IsColor borderColor)
Sets the border color.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setYLabelColor(IsColor color)
Set the crosshair label font color.Constructors in org.pepstock.charba.client.impl.plugins with parameters of type IsColor Constructor Description ChartBackgroundColor(IsColor color)
Builds the object with the default background color for all charts. -
Uses of IsColor in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items that return IsColor Modifier and Type Method Description IsColor
DatasetElementOptions. getBackgroundColor()
Returns the background color of the dataset item.IsColor
TooltipLabelColor. getBackgroundColor()
Returns the background color of the label.IsColor
DatasetElementOptions. getBorderColor()
Returns the color of the dataset item borderIsColor
TooltipLabelColor. getBorderColor()
Returns the border color of the label.IsColor
LegendItem. getFillStyle()
Returns the fill style of the legend box as color.IsColor
LegendItem. getFontColor()
Returns the font color of the legend ornull
if not set.IsColor
LegendItem. getStrokeStyle()
Returns the stroke style of the legend box as color.Methods in org.pepstock.charba.client.items with parameters of type IsColor Modifier and Type Method Description void
TooltipLabelColor. setBackgroundColor(IsColor backgroundColor)
Sets the background color of the tooltip item.void
TooltipLabelColor. setBorderColor(IsColor borderColor)
Sets border colorvoid
LegendLabelItem. setFillStyle(IsColor color)
Sets the fill style of the legend box as color.void
LegendLabelItem. setFontColor(IsColor color)
Sets the font color of the legend.void
LegendLabelItem. setStrokeStyle(IsColor color)
Sets the stroke style of the legend box as color.Constructors in org.pepstock.charba.client.items with parameters of type IsColor Constructor Description TooltipLabelColor(IsColor backgroundColor)
Creates the object with initial colors.TooltipLabelColor(IsColor backgroundColor, IsColor borderColor)
Creates the object with initial colors. -
Uses of IsColor in org.pepstock.charba.client.labels
Methods in org.pepstock.charba.client.labels that return IsColor Modifier and Type Method Description IsColor
Label. getColor()
Returns the font color.IsColor
Label. getShadowColor()
Returns the text shadow color as color.Methods in org.pepstock.charba.client.labels with parameters of type IsColor Modifier and Type Method Description void
Label. setColor(IsColor color)
Sets the font color.LabelBuilder
LabelBuilder. setColor(IsColor color)
Sets the font color as color.void
Label. setShadowColor(IsColor shadowColor)
Sets the text shadow color as color.LabelBuilder
LabelBuilder. setShadowColor(IsColor shadowColor)
Sets the text shadow color as color. -
Uses of IsColor in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options that return IsColor Modifier and Type Method Description IsColor
PointLabels. getBackdropColor()
Returns the background color of the point label.IsColor
Ticks. getBackdropColor()
Returns the color of label backdrops.IsColor
AbstractElement. getBackgroundColor()
Returns the background color.IsColor
AbstractScale. getBackgroundColor()
Returns the background color of the scale area.IsColor
Options. getBackgroundColor()
Returns the default background color to use in the chart, on all objects, if not override by the specific configuration.IsColor
Tooltips. getBackgroundColor()
Returns the background color of the tooltip.IsColor
Tooltips. getBodyColor()
Returns the body font color.IsColor
AbstractElement. getBorderColor()
Returns the border color.IsColor
Grid. getBorderColor()
If set, used as the color of the border line.
If unset, the first color option is resolved and used.IsColor
Options. getBorderColor()
Returns the default border color to use in the chart, on all objects, if not override by the specific configuration.IsColor
Tooltips. getBorderColor()
Returns the color of the border.IsColor
AngleLines. getColor()
Returns the color of angled lines.default IsColor
HasFont. getColor()
Returns the font color.IsColor
Options. getColor()
Returns the default color to use in the chart, on all objects, if not override by the specific configuration.IsColor
Tooltips. getFooterColor()
Returns the footer font color.IsColor
AnimationCollection. getFromAsColor()
Returns the start value for the animation as color.IsColor
AbstractElement. getHoverBackgroundColor()
Returns the background color when hovered.IsColor
AbstractElement. getHoverBorderColor()
Returns the border color when hovered.IsColor
Tooltips. getMultiKeyBackground()
Returns the color to draw behind the colored boxes when multiple items are in the tooltip.IsColor
Ticks. getTextStrokeColor()
Returns the text stroke color.IsColor
Tooltips. getTitleColor()
Returns the title font color.IsColor
AnimationCollection. getToAsColor()
Returns the end value for the animation as color.Methods in org.pepstock.charba.client.options that return types with arguments of type IsColor Modifier and Type Method Description List<IsColor>
Grid. getColor()
Returns the colors of the grid.
If specified as an array, the first color applies to the first grid line, the second to the second grid line and so on.List<IsColor>
Grid. getTickColor()
The color of the grid.
If specified as an array, the first color applies to the first grid line, the second to the second grid line and so on.Methods in org.pepstock.charba.client.options with parameters of type IsColor Modifier and Type Method Description void
PointLabels. setBackdropColor(IsColor backdropColor)
Sets the background color of the point label.void
Ticks. setBackdropColor(IsColor backdropColor)
Sets the color of label backdrops.void
AbstractElement. setBackgroundColor(IsColor backgroundColor)
Sets the background color.void
AbstractScale. setBackgroundColor(IsColor backgroundColor)
Sets the default background color to use in the chart, on all objects, if not override by the specific configuration.void
Options. setBackgroundColor(IsColor backgroundColor)
Sets the default background color to use in the chart, on all objects, if not override by the specific configuration.void
Tooltips. setBackgroundColor(IsColor backgroundColor)
Sets the background color of the tooltip.void
Tooltips. setBodyColor(IsColor color)
Sets the body font color.void
AbstractElement. setBorderColor(IsColor borderColor)
Sets the border color.void
Grid. setBorderColor(IsColor color)
If set, used as the color of the border line.
If unset, the first color option is resolved and used.void
Options. setBorderColor(IsColor borderColor)
Sets the default border color to use in the chart, on all objects, if not override by the specific configuration.void
Tooltips. setBorderColor(IsColor borderColor)
Sets the color of the border.void
AngleLines. setColor(IsColor color)
Sets the color of angled lines.void
Grid. setColor(IsColor... color)
Sets the color of the grid.
If specified as an array, the first color applies to the first grid line, the second to the second grid line and so on.default void
HasFont. setColor(IsColor color)
Sets the font color.void
Options. setColor(IsColor color)
Sets the default color to use in the chart, on all objects, if not override by the specific configuration.void
Tooltips. setFooterColor(IsColor color)
Sets the footer font color.void
AnimationCollection. setFrom(IsColor from)
Sets the start value for the animation as color.void
AbstractElement. setHoverBackgroundColor(IsColor backgroundColor)
Sets the background color when hovered.void
AbstractElement. setHoverBorderColor(IsColor borderColor)
Sets the border color when hovered.void
Tooltips. setMultiKeyBackground(IsColor multiKeyBackground)
Sets the color to draw behind the colored boxes when multiple items are in the tooltip.void
Ticks. setTextStrokeColor(IsColor color)
Sets the text stroke color.void
Grid. setTickColor(IsColor... color)
Sets the color of the tick line.void
Tooltips. setTitleColor(IsColor color)
Sets the title font color.void
AnimationCollection. setTo(IsColor to)
Sets the end value for the animation as color. -
Uses of IsColor in org.pepstock.charba.client.sankey
Methods in org.pepstock.charba.client.sankey that return IsColor Modifier and Type Method Description IsColor
SankeyDataset. getBorderColor()
Returns the border color of the sankey elements.IsColor
SankeyDataset. getColor()
Returns the font color of the sankey elements.Methods in org.pepstock.charba.client.sankey that return types with arguments of type IsColor Modifier and Type Method Description List<IsColor>
SankeyDataset. getColorFrom()
Returns the starting color of the flow between sankey elements.List<IsColor>
SankeyDataset. getColorTo()
Returns the ending color of the flow between sankey elements.Methods in org.pepstock.charba.client.sankey with parameters of type IsColor Modifier and Type Method Description void
SankeyDataset. setBorderColor(IsColor borderColor)
Sets the border color of the sankey elements.void
SankeyDataset. setColor(IsColor color)
Sets the font color of the sankey elements.void
SankeyDataset. setColorFrom(IsColor... colors)
Sets the starting color of the flow between sankey elements.void
SankeyDataset. setColorTo(IsColor... colors)
Sets the ending color of the flow between sankey elements. -
Uses of IsColor in org.pepstock.charba.client.treemap
Methods in org.pepstock.charba.client.treemap that return IsColor Modifier and Type Method Description IsColor
Dividers. getLineColor()
Returns the divider color of the rectangle.Methods in org.pepstock.charba.client.treemap with parameters of type IsColor Modifier and Type Method Description void
Dividers. setLineColor(IsColor dividerColor)
Sets the divider color of the rectangle. -
Uses of IsColor in org.pepstock.charba.client.utils
Methods in org.pepstock.charba.client.utils with parameters of type IsColor Modifier and Type Method Description MultilineTextAnnotationBuilder
MultilineTextAnnotationBuilder. setColors(IsColor... colors)
Sets the colors to apply to each row of the content.
If the colors are less than the content row count, the last color is used for the rest of the content.Method parameters in org.pepstock.charba.client.utils with type arguments of type IsColor Modifier and Type Method Description MultilineTextAnnotationBuilder
MultilineTextAnnotationBuilder. setColors(List<IsColor> colors)
Sets the colors to apply to each row of the content.
If the colors are less than the content row count, the last color is used for the rest of the content. -
Uses of IsColor in org.pepstock.charba.client.utils.toast
Methods in org.pepstock.charba.client.utils.toast that return IsColor Modifier and Type Method Description IsColor
Action. getBackgroundColor()
Returns the background color.IsColor
IsProgressBarType. getBackgroundColor()
Returns the backgroundIsColor
of the progress bar.IsColor
IsToastType. getBackgroundColor()
Returns the backgroundIsColor
of the toast.IsColor
ToastItemAction. getBackgroundColor()
Returns the background color.IsColor
Action. getBorderColor()
Returns the border color.IsColor
ToastItemAction. getBorderColor()
Returns the border color.IsColor
IsToastType. getColor()
Returns the color of the text in the toast.IsColor
ToastItemAction. getColor()
Returns the font color.Methods in org.pepstock.charba.client.utils.toast with parameters of type IsColor Modifier and Type Method Description static ProgressBarTypeBuilder
ProgressBarTypeBuilder. create(String name, IsColor backgroundColor)
Returns new builder instance, to build a custom toast type.static ProgressBarTypeBuilder
ProgressBarTypeBuilder. create(Key name, IsColor backgroundColor)
Returns new builder instance, to build a custom toast type.static ToastTypeBuilder
ToastTypeBuilder. create(String name, IsColor backgroundColor)
Returns new builder instance, to build a custom toast type.static ToastTypeBuilder
ToastTypeBuilder. create(String name, IsColor color, Gradient gradient)
Returns new builder instance, to build a custom toast type.static ToastTypeBuilder
ToastTypeBuilder. create(String name, IsColor color, IsColor backgroundColor)
Returns new builder instance, to build a custom toast type.static ToastTypeBuilder
ToastTypeBuilder. create(String name, IsColor color, Pattern pattern)
Returns new builder instance, to build a custom toast type.static ToastTypeBuilder
ToastTypeBuilder. create(Key name, IsColor backgroundColor)
Returns new builder instance, to build a custom toast type.static ToastTypeBuilder
ToastTypeBuilder. create(Key name, IsColor color, Gradient gradient)
Returns new builder instance, to build a custom toast type.static ToastTypeBuilder
ToastTypeBuilder. create(Key name, IsColor color, IsColor backgroundColor)
Returns new builder instance, to build a custom toast type.static ToastTypeBuilder
ToastTypeBuilder. create(Key name, IsColor color, Pattern pattern)
Returns new builder instance, to build a custom toast type.ToastOptionsBuilder
ToastOptionsBuilder. setActionBackgroundColor(IsColor backgroundColor)
Sets the background color of action.ToastOptionsBuilder
ToastOptionsBuilder. setActionBorderColor(IsColor borderColor)
Sets the border color of action.ToastOptionsBuilder
ToastOptionsBuilder. setActionColor(IsColor color)
Sets the font color of action.void
Action. setBackgroundColor(IsColor backgroundColor)
Sets the background color.void
Action. setBorderColor(IsColor borderColor)
Sets the border color.ToastOptionsBuilder
ToastOptionsBuilder. setLabelColor(IsColor color)
Sets the font color of label.ToastOptionsBuilder
ToastOptionsBuilder. setTitleColor(IsColor color)
Sets the font color of title. -
Uses of IsColor in org.pepstock.charba.client.utils.toast.enums
Methods in org.pepstock.charba.client.utils.toast.enums that return IsColor Modifier and Type Method Description IsColor
DefaultProgressBarType. getBackgroundColor()
IsColor
DefaultToastType. getBackgroundColor()
IsColor
DefaultToastType. getColor()
-
Uses of IsColor in org.pepstock.charba.client.zoom
Methods in org.pepstock.charba.client.zoom that return IsColor Modifier and Type Method Description IsColor
Drag. getBackgroundColor()
Returns the fill color during dragging.IsColor
Drag. getBorderColor()
Returns the color of the border during dragging.Methods in org.pepstock.charba.client.zoom with parameters of type IsColor Modifier and Type Method Description void
Drag. setBackgroundColor(IsColor backgroundColor)
Sets the fill color during dragging.void
Drag. setBorderColor(IsColor borderColor)
Sets the color of the border during dragging.
-