-
public class DiscreteBase extends Base
DiscreteBase series class.
-
-
Constructor Summary
Constructors Constructor Description DiscreteBase(String jsChart)
-
Method Summary
Modifier and Type Method Description static DiscreteBaseinstantiate()StringgetJsBase()voidallowPointSettings()Getter for the allowPointSettings flag. DiscreteBaseallowPointSettings(Boolean enabled)Setter for the allowPointSettings flag. voidbottom()Getter for element bottom bound settings. DiscreteBasebottom(Number bottom)Setter for element bottom bound settings. DiscreteBasebottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. DiscreteBasebounds(RectObj bounds)Setter for bounds of the element using one parameter. DiscreteBasebounds(Rect bounds)Setter for bounds of the element using one parameter. DiscreteBasebounds(Bounds bounds)Setter for bounds of the element using one parameter. DiscreteBasebounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. DiscreteBasebounds(Number x, Number y, Number width, String height)Setter for element bounds settings. DiscreteBasebounds(Number x, Number y, String width, Number height)Setter for element bounds settings. DiscreteBasebounds(Number x, Number y, String width, String height)Setter for element bounds settings. DiscreteBasebounds(Number x, String y, Number width, Number height)Setter for element bounds settings. DiscreteBasebounds(Number x, String y, Number width, String height)Setter for element bounds settings. DiscreteBasebounds(Number x, String y, String width, Number height)Setter for element bounds settings. DiscreteBasebounds(Number x, String y, String width, String height)Setter for element bounds settings. DiscreteBasebounds(String x, Number y, Number width, Number height)Setter for element bounds settings. DiscreteBasebounds(String x, Number y, Number width, String height)Setter for element bounds settings. DiscreteBasebounds(String x, Number y, String width, Number height)Setter for element bounds settings. DiscreteBasebounds(String x, Number y, String width, String height)Setter for element bounds settings. DiscreteBasebounds(String x, String y, Number width, Number height)Setter for element bounds settings. DiscreteBasebounds(String x, String y, Number width, String height)Setter for element bounds settings. DiscreteBasebounds(String x, String y, String width, Number height)Setter for element bounds settings. DiscreteBasebounds(String x, String y, String width, String height)Setter for element bounds settings. TableMappingdata(List<DataEntry> data)voidenabled()Getter for the element state (enabled or disabled). DiscreteBaseenabled(Boolean enabled)Setter for the element enabled state. voidgetIndex()Returns series index. RectgetPixelBounds()Returns pixel bounds of the element due to parent bounds and self bounds settings. voidheight()Getter for element height settings. DiscreteBaseheight(Number height)Setter for element height setting. DiscreteBaseheight(String height)Setter for element height setting. voidleft()Getter for element left bound settings. DiscreteBaseleft(Number left)Setter for element left bound settings. DiscreteBaseleft(String left)Setter for element left bound settings. LegendItemSettingslegendItem()Getter for the legend item setting for series. DiscreteBaselegendItem(String settings)Setter for the legend item setting for series. voidmaxHeight()Getter for the maximum height. DiscreteBasemaxHeight(Number height)Setter for the maximum height. DiscreteBasemaxHeight(String height)Setter for the maximum height. voidmaxWidth()Getter for the maximum width. DiscreteBasemaxWidth(Number width)Setter for the maximum width. DiscreteBasemaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. DiscreteBaseminHeight(Number height)Setter for the minimum height. DiscreteBaseminHeight(String height)Setter for the minimum height. voidminWidth()Getter for the minimum width. DiscreteBaseminWidth(Number width)Setter for the minimum width. DiscreteBaseminWidth(String width)Setter for the minimum width. voidname()Getter for the series name. DiscreteBasename(String name)Setter for the series name. voidpointWidth()Getter for point width settings. DiscreteBasepointWidth(Number width)Setter for the point width settings. DiscreteBasepointWidth(String width)Setter for the point width 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. DiscreteBaseright(Number right)Setter for element right bound setting. DiscreteBaseright(String right)Setter for element right bound setting. Tooltiptooltip()Getter for the tooltip. DiscreteBasetooltip(String settings)Setter for the tooltip. DiscreteBasetooltip(Boolean settings)Setter for the tooltip. voidtop()Getter for element top bound settings. DiscreteBasetop(Number top)Setter for element top bound settings. DiscreteBasetop(String top)Setter for element top bound settings. 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(). voidwidth()Getter for element width settings. DiscreteBasewidth(Number width)Setter for element width setting. DiscreteBasewidth(String width)Setter for element width setting. ScatterBaseyScale()Getter for the Y-scale. DiscreteBaseyScale(ScatterBase settings)Setter for the Y-scale. DiscreteBaseyScale(String settings)Setter for the Y-scale. DiscreteBaseyScale(ScaleTypes settings)Setter for the Y-scale. voidzIndex()Getter for the Z-index of the element. DiscreteBasezIndex(Number zIndex)Setter for the Z-index of the element. LinearColorcolorScale()Getter for the color scale. DiscreteBasecolorScale(LinearColor settings)Setter for the color scale. DiscreteBasecolorScale(OrdinalColor settings)Setter for the color scale. DiscreteBasecolorScale(String settings)Setter for the color scale. DiscreteBasecolorScale(ScaleTypes settings)Setter for the color scale. StateSettingshovered()Getter for hovered state settings. DiscreteBasehovered(String settings)Setter for hovered state settings. LabelsFactorylabels()Getter for series labels. DiscreteBaselabels(String settings)Setter for series labels. DiscreteBaselabels(Boolean settings)Setter for series labels. MarkersFactorymarkers()Getter for the data markers. DiscreteBasemarkers(String settings)Setter for the data markers. DiscreteBasemarkers(Boolean settings)Setter for the data markers. LabelsFactorymaxLabels()Getter for maximum labels. DiscreteBasemaxLabels(String settings)Setter for maximum labels. DiscreteBasemaxLabels(Boolean settings)Setter for maximum labels. voidmaxPointWidth()Getter for the maximum point width. DiscreteBasemaxPointWidth(Number width)Setter for the maximum point width. DiscreteBasemaxPointWidth(String width)Setter for the maximum point width. LabelsFactoryminLabels()Getter for minimum labels. DiscreteBaseminLabels(String settings)Setter for minimum labels. DiscreteBaseminLabels(Boolean settings)Setter for minimum labels. voidminPointLength()Getter for the minimum point length. DiscreteBaseminPointLength(Number length)Setter for the minimum point length. DiscreteBaseminPointLength(String length)Setter for the minimum point length. StateSettingsnormal()Getter for normal state settings. DiscreteBasenormal(String settings)Setter for normal state settings. RenderingSettingsrendering()Getter for the series rendering. DiscreteBaserendering(String settings)Setter for the series rendering settings. voidseriesType()Getter for switching of the series type. DiscreteBaseseriesType(String type)Setter for switching of the series type. Layercontainer()Getter for the container. DiscreteBasecontainer(Layer element)Setter for the container. DiscreteBasecontainer(Stage element)Setter for the container. DiscreteBasecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. DiscreteBaseparentBounds(Rect bounds)Setter for the parent bounds using single value. DiscreteBaseparentBounds(String bounds)Setter for the parent bounds using single value. DiscreteBaseparentBounds(Number bounds)Setter for the parent bounds using single value. DiscreteBaseparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. TableMappingdata(View data)TableMappingdata(List<DataEntry> data, TreeFillingMethod fillMethod)TableMappingdata(List<DataEntry> data, String fillMethod)ObjectyScale(Class scaleClass)-
Methods inherited from class com.anychart.core.stock.series.Base
allowPointSettings, bottom, bottom, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, colorScale, colorScale, colorScale, colorScale, container, container, container, enabled, height, height, hovered, instantiate, labels, labels, left, left, legendItem, markers, markers, maxHeight, maxHeight, maxLabels, maxLabels, maxPointWidth, maxPointWidth, maxWidth, maxWidth, minHeight, minHeight, minLabels, minLabels, minPointLength, minPointLength, minWidth, minWidth, name, normal, parentBounds, parentBounds, parentBounds, parentBounds, pointWidth, pointWidth, rendering, right, right, seriesType, tooltip, tooltip, top, top, width, width, yScale, yScale, yScale, 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
-
DiscreteBase
DiscreteBase(String jsChart)
-
-
Method Detail
-
instantiate
static DiscreteBase instantiate()
-
allowPointSettings
void allowPointSettings()
Getter for the allowPointSettings flag.
-
allowPointSettings
DiscreteBase allowPointSettings(Boolean enabled)
Setter for the allowPointSettings flag.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bottom
DiscreteBase bottom(Number bottom)
Setter for element bottom bound settings.
-
bottom
DiscreteBase bottom(String bottom)
Setter for element bottom bound settings.
-
bounds
DiscreteBase bounds(RectObj bounds)
Setter for bounds of the element using one parameter.
-
bounds
DiscreteBase bounds(Rect bounds)
Setter for bounds of the element using one parameter.
-
bounds
DiscreteBase bounds(Bounds bounds)
Setter for bounds of the element using one parameter.
-
bounds
DiscreteBase bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
DiscreteBase bounds(String x, String y, String width, String height)
Setter for element bounds settings.
-
data
TableMapping data(List<DataEntry> data)
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
enabled
DiscreteBase enabled(Boolean enabled)
Setter for the element enabled state.
-
getIndex
void getIndex()
Returns series index.
-
getPixelBounds
Rect getPixelBounds()
Returns pixel bounds of the element due to parent bounds and self bounds settings.
-
height
void height()
Getter for element height settings.
-
height
DiscreteBase height(Number height)
Setter for element height setting.
-
height
DiscreteBase height(String height)
Setter for element height setting.
-
left
void left()
Getter for element left bound settings.
-
left
DiscreteBase left(Number left)
Setter for element left bound settings.
-
left
DiscreteBase left(String left)
Setter for element left bound settings.
-
legendItem
LegendItemSettings legendItem()
Getter for the legend item setting for series.
-
legendItem
DiscreteBase legendItem(String settings)
Setter for the legend item setting for series.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxHeight
DiscreteBase maxHeight(Number height)
Setter for the maximum height.
-
maxHeight
DiscreteBase maxHeight(String height)
Setter for the maximum height.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
maxWidth
DiscreteBase maxWidth(Number width)
Setter for the maximum width.
-
maxWidth
DiscreteBase maxWidth(String width)
Setter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minHeight
DiscreteBase minHeight(Number height)
Setter for the minimum height.
-
minHeight
DiscreteBase minHeight(String height)
Setter for the minimum height.
-
minWidth
void minWidth()
Getter for the minimum width.
-
minWidth
DiscreteBase minWidth(Number width)
Setter for the minimum width.
-
minWidth
DiscreteBase minWidth(String width)
Setter for the minimum width.
-
name
void name()
Getter for the series name.
-
name
DiscreteBase name(String name)
Setter for the series name.
-
pointWidth
void pointWidth()
Getter for point width settings.
-
pointWidth
DiscreteBase pointWidth(Number width)
Setter for the point width settings.
-
pointWidth
DiscreteBase pointWidth(String width)
Setter for the point width 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.
-
right
DiscreteBase right(Number right)
Setter for element right bound setting.
-
right
DiscreteBase right(String right)
Setter for element right bound setting.
-
tooltip
DiscreteBase tooltip(String settings)
Setter for the tooltip.
-
tooltip
DiscreteBase tooltip(Boolean settings)
Setter for the tooltip.
-
top
void top()
Getter for element top bound settings.
-
top
DiscreteBase top(Number top)
Setter for element top bound settings.
-
top
DiscreteBase top(String top)
Setter for element top bound settings.
-
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.
-
width
DiscreteBase width(Number width)
Setter for element width setting.
-
width
DiscreteBase width(String width)
Setter for element width setting.
-
yScale
ScatterBase yScale()
Getter for the Y-scale.
-
yScale
DiscreteBase yScale(ScatterBase settings)
Setter for the Y-scale.
-
yScale
DiscreteBase yScale(String settings)
Setter for the Y-scale.
-
yScale
DiscreteBase yScale(ScaleTypes settings)
Setter for the Y-scale.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
zIndex
DiscreteBase zIndex(Number zIndex)
Setter for the Z-index of the element.
-
colorScale
LinearColor colorScale()
Getter for the color scale.
-
colorScale
DiscreteBase colorScale(LinearColor settings)
Setter for the color scale.
-
colorScale
DiscreteBase colorScale(OrdinalColor settings)
Setter for the color scale.
-
colorScale
DiscreteBase colorScale(String settings)
Setter for the color scale.
-
colorScale
DiscreteBase colorScale(ScaleTypes settings)
Setter for the color scale.
-
hovered
StateSettings hovered()
Getter for hovered state settings.
-
hovered
DiscreteBase hovered(String settings)
Setter for hovered state settings.
-
labels
LabelsFactory labels()
Getter for series labels.
-
labels
DiscreteBase labels(String settings)
Setter for series labels.
-
labels
DiscreteBase labels(Boolean settings)
Setter for series labels.
-
markers
MarkersFactory markers()
Getter for the data markers.
-
markers
DiscreteBase markers(String settings)
Setter for the data markers.
-
markers
DiscreteBase markers(Boolean settings)
Setter for the data markers.
-
maxLabels
LabelsFactory maxLabels()
Getter for maximum labels.
-
maxLabels
DiscreteBase maxLabels(String settings)
Setter for maximum labels.
-
maxLabels
DiscreteBase maxLabels(Boolean settings)
Setter for maximum labels.
-
maxPointWidth
void maxPointWidth()
Getter for the maximum point width.
-
maxPointWidth
DiscreteBase maxPointWidth(Number width)
Setter for the maximum point width.
-
maxPointWidth
DiscreteBase maxPointWidth(String width)
Setter for the maximum point width.
-
minLabels
LabelsFactory minLabels()
Getter for minimum labels.
-
minLabels
DiscreteBase minLabels(String settings)
Setter for minimum labels.
-
minLabels
DiscreteBase minLabels(Boolean settings)
Setter for minimum labels.
-
minPointLength
void minPointLength()
Getter for the minimum point length.
-
minPointLength
DiscreteBase minPointLength(Number length)
Setter for the minimum point length.
-
minPointLength
DiscreteBase minPointLength(String length)
Setter for the minimum point length.
-
normal
StateSettings normal()
Getter for normal state settings.
-
normal
DiscreteBase normal(String settings)
Setter for normal state settings.
-
rendering
RenderingSettings rendering()
Getter for the series rendering.
-
rendering
DiscreteBase rendering(String settings)
Setter for the series rendering settings.
-
seriesType
void seriesType()
Getter for switching of the series type.
-
seriesType
DiscreteBase seriesType(String type)
Setter for switching of the series type.
-
container
DiscreteBase container(Layer element)
Setter for the container.
-
container
DiscreteBase container(Stage element)
Setter for the container.
-
container
DiscreteBase container(String element)
Setter for the container.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
DiscreteBase 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
DiscreteBase 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
DiscreteBase 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
DiscreteBase 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
TableMapping data(View data)
-
data
TableMapping data(List<DataEntry> data, TreeFillingMethod fillMethod)
-
data
TableMapping data(List<DataEntry> data, String fillMethod)
-
-
-
-