-
public class Base extends SeriesBase
Base class for all radar series. Base class defines common methods, such as those for:
- Binding series to a scale: xScale, yScale
- Base color settings: color
-
-
Method Summary
Modifier and Type Method Description static Baseinstantiate()StringgetJsBase()SeriesA11ya11y()Getter for the accessibility setting. Basea11y(Boolean value)Setter for the accessibility setting. Basea11y(String value)Setter for the accessibility setting. voidbottom()Getter for element bottom bound settings. Basebottom(Number bottom)Setter for element bottom bound settings. Basebottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. Basebounds(RectObj bounds)Setter for bounds of the element using one parameter. Basebounds(Rect bounds)Setter for bounds of the element using one parameter. Basebounds(Bounds bounds)Setter for bounds of the element using one parameter. Basebounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. Basebounds(Number x, Number y, Number width, String height)Setter for element bounds settings. Basebounds(Number x, Number y, String width, Number height)Setter for element bounds settings. Basebounds(Number x, Number y, String width, String height)Setter for element bounds settings. Basebounds(Number x, String y, Number width, Number height)Setter for element bounds settings. Basebounds(Number x, String y, Number width, String height)Setter for element bounds settings. Basebounds(Number x, String y, String width, Number height)Setter for element bounds settings. Basebounds(Number x, String y, String width, String height)Setter for element bounds settings. Basebounds(String x, Number y, Number width, Number height)Setter for element bounds settings. Basebounds(String x, Number y, Number width, String height)Setter for element bounds settings. Basebounds(String x, Number y, String width, Number height)Setter for element bounds settings. Basebounds(String x, Number y, String width, String height)Setter for element bounds settings. Basebounds(String x, String y, Number width, Number height)Setter for element bounds settings. Basebounds(String x, String y, Number width, String height)Setter for element bounds settings. Basebounds(String x, String y, String width, Number height)Setter for element bounds settings. Basebounds(String x, String y, String width, String height)Setter for element bounds settings. voidcolor()Getter for the series color. Basecolor(String color)Setter for the series color. LinearColorcolorScale()Getter for the color scale. BasecolorScale(LinearColor settings)Setter for the color scale. BasecolorScale(OrdinalColor settings)Setter for the color scale. BasecolorScale(String settings)Setter for the color scale. BasecolorScale(ScaleTypes settings)Setter for the color scale. Viewdata(List<DataEntry> data)voidenabled()Getter for the element state (enabled or disabled). Baseenabled(Boolean enabled)Setter for the element enabled state. voidexcludePoint(Number indexes)Excludes points at the specified index. voidexcludePoint(Array<Number> indexes)Excludes points at the specified index. voidgetExcludedPoints()Returns an array of excluded points. RectgetPixelBounds()Returns pixel bounds of the element due to parent bounds and self bounds settings. SeriesPointgetPoint(Number index)Gets wrapped point by index. voidgetStat(Statistics key)Gets the statistics value by key. voidgetStat(String key)Gets the statistics value by key. voidheight()Getter for element height settings. Baseheight(Number height)Setter for element height setting. Baseheight(String height)Setter for element height setting. Basehover()Hovers points or series. Basehover(Number index)Hovers a point or a series by index. Basehover(Array<Number> indexes)Hovers points or series by indexes. StateSettingshovered()Getter for hovered state settings. Basehovered(String settings)Setter for hovered state settings. voidid()Getter for the series id. Baseid(String id)Setter for the series id. Baseid(Number id)Setter for the series id. voidincludeAllPoints()Includes all excluded points. voidincludePoint(Number indexes)Includes excluded points with the specified indexes. voidincludePoint(Array<Number> indexes)Includes excluded points with the specified indexes. voidkeepOnlyPoints(Number indexes)Keep only the specified points. voidkeepOnlyPoints(Array<Number> indexes)Keep only the specified points. LabelsFactorylabels()Getter for series data labels. Baselabels(String settings)Setter for series data labels. Baselabels(Boolean settings)Setter for series data labels. voidleft()Getter for element left bound settings. Baseleft(Number left)Setter for element left bound settings. Baseleft(String left)Setter for element left bound settings. LegendItemSettingslegendItem()Getter for legend item settings of series. BaselegendItem(String settings)Setter for legend item settings of series. voidmaxHeight()Getter for the maximum height. BasemaxHeight(Number height)Setter for the maximum height. BasemaxHeight(String height)Setter for the maximum height. LabelsFactorymaxLabels()Getter for maximum labels. BasemaxLabels(String settings)Setter for maximum labels. BasemaxLabels(Boolean settings)Setter for maximum labels. voidmaxWidth()Getter for the maximum width. BasemaxWidth(Number width)Setter for the maximum width. BasemaxWidth(String width)Setter for the maximum width. voidmeta(String key)Getter for the series meta data. Basemeta(String key, String value)Add/Replace meta data for series by key. voidminHeight()Getter for the minimum height. BaseminHeight(Number height)Setter for the minimum height. BaseminHeight(String height)Setter for the minimum height. LabelsFactoryminLabels()Getter for minimum labels. BaseminLabels(String settings)Setter for minimum labels. BaseminLabels(Boolean settings)Setter for minimum labels. voidminWidth()Getter for the minimum width. BaseminWidth(Number width)Setter for the minimum width. BaseminWidth(String width)Setter for the minimum width. voidname()Getter for the series name. Basename(String name)Setter for the series name. StateSettingsnormal()Getter for normal state settings. Basenormal(String settings)Setter for normal state settings. voidprint(PaperSize paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidprint(String paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidremoveAllListeners(String type)Removes all listeners from an object. voidright()Getter for element right bound settings. Baseright(Number right)Setter for element right bound setting. Baseright(String right)Setter for element right bound setting. Baseselect(Number index)Selects point by index. Baseselect(Array<Number> indexes)Selects point by indexes. StateSettingsselected()Getter for selected state settings. Baseselected(String settings)Setter for selected state settings. voidselectionMode()Gets the state of the series for selection mode. BaseselectionMode(SelectionMode value)Allows to select points of the series. BaseselectionMode(String value)Allows to select points of the series. Tooltiptooltip()Getter for the series data tooltip. Basetooltip(String settings)Setter for the series data tooltip. Basetooltip(Boolean settings)Setter for the series data tooltip. voidtop()Getter for element top bound settings. Basetop(Number top)Setter for element top bound settings. Basetop(String top)Setter for element top bound settings. voidtransformXY(String xVal, String yVal, Number xSubRangeRatio)Transforms values to pixel coordinates. Baseunhover()Removes hover from the series. Baseunhover(Number index)Removes hover from the series by index. Baseunhover(Array<Number> indexes)Removes hover from the series by indexes. voidsetOnClickListener(ListenersInterface.OnClickListener listener)voidsetOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)voidunlistenByKey(String key)Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). Baseunselect()Deselects all selected points. Baseunselect(Number index)Deselects selected point by index. Baseunselect(Array<Number> indexes)Deselects selected points by indexes. voidwidth()Getter for element width settings. Basewidth(Number width)Setter for element width setting. Basewidth(String width)Setter for element width setting. OrdinalxScale()Getter for the series X scale. BasexScale(Base settings)Setter for the series X scale. BasexScale(String settings)Setter for the series X scale. BasexScale(ScaleTypes settings)Setter for the series X scale. BaseyScale()Getter for the series Y scale. BaseyScale(Base settings)Setter for the series Y scale. BaseyScale(String settings)Setter for the series Y scale. BaseyScale(ScaleTypes settings)Setter for the series Y scale. voidzIndex()Getter for the Z-index of the element. BasezIndex(Number zIndex)Setter for the Z-index of the element. MarkersFactorymarkers()Getter for series data markers. Basemarkers(String value)Setter for series data markers. Basemarkers(Boolean value)Setter for series data markers. Layercontainer()Getter for the container. Basecontainer(Layer element)Setter for the container. Basecontainer(Stage element)Setter for the container. Basecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. BaseparentBounds(Rect bounds)Setter for the parent bounds using single value. BaseparentBounds(String bounds)Setter for the parent bounds using single value. BaseparentBounds(Number bounds)Setter for the parent bounds using single value. BaseparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. Viewdata(View data)Viewdata(List<DataEntry> data, TreeFillingMethod fillMethod)Viewdata(List<DataEntry> data, String fillMethod)ObjectxScale(Class scaleClass)ObjectyScale(Class scaleClass)-
Methods inherited from class com.anychart.core.SeriesBase
a11y, a11y, bottom, bottom, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, color, colorScale, colorScale, colorScale, colorScale, container, container, container, enabled, height, height, hover, hover, hover, hovered, id, id, instantiate, labels, labels, left, left, legendItem, markers, markers, maxHeight, maxHeight, maxWidth, maxWidth, meta, minHeight, minHeight, minWidth, minWidth, name, normal, parentBounds, parentBounds, parentBounds, parentBounds, right, right, select, select, selected, selectionMode, selectionMode, tooltip, tooltip, top, top, unhover, unhover, unselect, unselect, unselect, width, width, zIndex -
Methods inherited from class com.anychart.core.VisualBaseWithBounds
bottom, bottom, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, container, container, container, enabled, height, height, instantiate, left, left, maxHeight, maxHeight, maxWidth, maxWidth, minHeight, minHeight, minWidth, minWidth, parentBounds, parentBounds, parentBounds, parentBounds, right, right, top, top, width, width, zIndex -
Methods inherited from class com.anychart.core.VisualBase
container, container, container, enabled, instantiate, parentBounds, parentBounds, parentBounds, parentBounds, zIndex -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Base
Base(String jsChart)
-
-
Method Detail
-
instantiate
static Base instantiate()
-
a11y
SeriesA11y a11y()
Getter for the accessibility setting.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bounds
Base bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Base bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Base bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Base bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Base bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Base bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Base bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Base bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
Base bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Base bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Base bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Base bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Base bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Base bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Base bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Base bounds(String x, String y, String width, String height)
Setter for element bounds settings.
-
color
void color()
Getter for the series color.
-
color
Base color(String color)
Setter for the series color. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
colorScale
LinearColor colorScale()
Getter for the color scale.
-
colorScale
Base colorScale(LinearColor settings)
Setter for the color scale.
-
colorScale
Base colorScale(OrdinalColor settings)
Setter for the color scale.
-
colorScale
Base colorScale(String settings)
Setter for the color scale.
-
colorScale
Base colorScale(ScaleTypes settings)
Setter for the color scale.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
excludePoint
void excludePoint(Number indexes)
Excludes points at the specified index.
-
excludePoint
void excludePoint(Array<Number> indexes)
Excludes points at the specified index.
-
getExcludedPoints
void getExcludedPoints()
Returns an array of excluded points.
-
getPixelBounds
Rect getPixelBounds()
Returns pixel bounds of the element due to parent bounds and self bounds settings.
-
getPoint
SeriesPoint getPoint(Number index)
Gets wrapped point by index.
-
getStat
void getStat(Statistics key)
Gets the statistics value by key.
-
height
void height()
Getter for element height settings.
-
hovered
StateSettings hovered()
Getter for hovered state settings.
-
id
void id()
Getter for the series id.
-
includeAllPoints
void includeAllPoints()
Includes all excluded points.
-
includePoint
void includePoint(Number indexes)
Includes excluded points with the specified indexes.
-
includePoint
void includePoint(Array<Number> indexes)
Includes excluded points with the specified indexes.
-
keepOnlyPoints
void keepOnlyPoints(Number indexes)
Keep only the specified points.
-
keepOnlyPoints
void keepOnlyPoints(Array<Number> indexes)
Keep only the specified points.
-
labels
LabelsFactory labels()
Getter for series data labels.
-
left
void left()
Getter for element left bound settings.
-
legendItem
LegendItemSettings legendItem()
Getter for legend item settings of series.
-
legendItem
Base legendItem(String settings)
Setter for legend item settings of series.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxLabels
LabelsFactory maxLabels()
Getter for maximum labels.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minLabels
LabelsFactory minLabels()
Getter for minimum labels.
-
minWidth
void minWidth()
Getter for the minimum width.
-
name
void name()
Getter for the series name.
-
name
Base name(String name)
Setter for the series name. Basically, name of series is used in Legend displaying, but it can be used in tooltips as well.
-
normal
StateSettings normal()
Getter for normal state settings.
-
print
void print(PaperSize paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
print
void print(String paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
right
void right()
Getter for element right bound settings.
-
selected
StateSettings selected()
Getter for selected state settings.
-
selectionMode
void selectionMode()
Gets the state of the series for selection mode.
-
selectionMode
Base selectionMode(SelectionMode value)
Allows to select points of the series. To select multiple points, press 'ctrl' and click on them.
-
selectionMode
Base selectionMode(String value)
Allows to select points of the series. To select multiple points, press 'ctrl' and click on them.
-
top
void top()
Getter for element top bound settings.
-
transformXY
void transformXY(String xVal, String yVal, Number xSubRangeRatio)
Transforms values to pixel coordinates.
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener)
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)
-
unlistenByKey
void unlistenByKey(String key)
Removes an event listener which was added with listen() by the key returned by listen() or listenOnce().
-
width
void width()
Getter for element width settings.
-
xScale
Base xScale(ScaleTypes settings)
Setter for the series X scale.
-
yScale
Base yScale(ScaleTypes settings)
Setter for the series Y scale.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
markers
MarkersFactory markers()
Getter for series data markers.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Base parentBounds(Rect bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Base parentBounds(String bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Base parentBounds(Number bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Base parentBounds(Number left, Number top, Number width, Number height)
Setter for the parent bounds using several values. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
data
View data(List<DataEntry> data, TreeFillingMethod fillMethod)
-
-
-
-