-
-
Method Summary
Modifier and Type Method Description static Ledinstantiate()StringgetJsBase()voidcolor()Getter for the pointer color. Ledcolor(String color)Setter for the pointer color. LinearColorcolorScale()Getter for the led color scale. LedcolorScale(LinearColor colorScale)Setter for the led color scale. LedcolorScale(OrdinalColor colorScale)Setter for the led color scale. voidcount()Getter for the led interval. Ledcount(Number count)Setter for the led interval. Viewdata(List<DataEntry> data)voiddataIndex()Getter for the data index. LeddataIndex(Number index)Setter for the data index. voiddimmer()Getter for the dimmer. voidenabled()Getter for the element state (enabled or disabled). Ledenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the pointer fill color. Ledfill(Fill color)Setter for fill settings using an array, an object or a string. Ledfill(GradientKey color)Setter for fill settings using an array, an object or a string. Ledfill(Array<String> color)Setter for fill settings using an array, an object or a string. Ledfill(String color, Number opacity)Fill color with opacity. Ledfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Ledfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Ledfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. Ledfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Ledfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Ledfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. Ledfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. Ledfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. voidgap()Getter for the led gap. Ledgap(Number gap)Setter for the led gap. Ledgap(String gap)Setter for the led gap. LinearGaugegetGauge()Getter for the gauge. PatternFillhatchFill()Getter for pointer hatch fill settings. LedhatchFill(HatchFillType type, String color, Number thickness, Number size)Setter for hatch fill settings. LedhatchFill(String type, String color, Number thickness, Number size)Setter for hatch fill settings. LedhatchFill(String hatchFillFunction)Setter for hatch fill settings using function. LedhatchFill(PatternFill patternFill)Setter for hatch fill settings using pattern fill. LedhatchFill(HatchFill settings)Setter for hatch fill settings using an instance. LedhatchFill(Boolean enabled)Setter for hatch fill using boolean. Ledhover()Hovers a pointer. StateSettingshovered()Getter for hovered state settings. Ledhovered(String settings)Setter for hovered state settings. Baseid()Getter for the pointer id. Baseid(String id)Setter for the pointer id. Baseid(Number id)Setter for the pointer id. LabelsFactorylabels()Getter for the pointer labels. Ledlabels(LabelsFactory settings)Setter for the pointer labels. Ledlabels(String settings)Setter for the pointer labels. Ledlabels(Boolean settings)Setter for the pointer labels. LegendItemSettingslegendItem()Getter for the legend item settings. LedlegendItem(String settings)Setter for the legend item settings. voidname()Getter for the pointer name. Ledname(String name)Setter for the pointer name. StateSettingsnormal()Getter for normal state settings. Lednormal(String settings)Setter for normal state settings. voidoffset()Getter for the pointer offset. Ledoffset(String offset)Setter for the pointer offset. Ledoffset(Number offset)Setter for the pointer offset. 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. Basescale()Getter for the pointer scale. Ledscale(Base scale)Setter for the pointer scale. StateSettingsselected()Getter for selected state settings. Ledselected(String settings)Setter for selected state settings. voidsize()Getter for the led size. Ledsize(Number size)Setter for the led size. Ledsize(String size)Setter for the led size. voidstroke()Getter for the pointer stroke. Ledstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the pointer stroke using several parameters. Ledstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. Ledstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the pointer stroke using several parameters. Ledstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. Ledstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the pointer stroke using several parameters. Ledstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. Ledstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the pointer stroke using several parameters. Ledstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. Ledstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the pointer stroke using several parameters. Ledstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. Ledstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the pointer stroke using several parameters. Ledstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. Ledstroke(String settings)Setter for the pointer stroke using an object. Ledunhover()Removes hover from the pointer. 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(). Ledunselect()Deselects a pointer. voidwidth()Getter for the pointer width. Ledwidth(String width)Setter for the pointer width. voidzIndex()Getter for the Z-index of the element. LedzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Ledcontainer(Layer element)Setter for the container. Ledcontainer(Stage element)Setter for the container. Ledcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. LedparentBounds(Rect bounds)Setter for the parent bounds using single value. LedparentBounds(String bounds)Setter for the parent bounds using single value. LedparentBounds(Number bounds)Setter for the parent bounds using single value. LedparentBounds(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)Ledfill(String value)-
Methods inherited from class com.anychart.core.lineargauge.pointers.Base
color, container, container, container, dataIndex, enabled, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, hatchFill, hatchFill, hatchFill, hatchFill, hatchFill, hatchFill, hover, hovered, instantiate, labels, labels, labels, legendItem, name, normal, offset, offset, parentBounds, parentBounds, parentBounds, parentBounds, scale, selected, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, unhover, unselect, 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
-
Led
Led(String jsChart)
-
-
Method Detail
-
instantiate
static Led instantiate()
-
color
void color()
Getter for the pointer color.
-
colorScale
LinearColor colorScale()
Getter for the led color scale.
-
colorScale
Led colorScale(LinearColor colorScale)
Setter for the led color scale.
-
colorScale
Led colorScale(OrdinalColor colorScale)
Setter for the led color scale.
-
count
void count()
Getter for the led interval.
-
dataIndex
void dataIndex()
Getter for the data index.
-
dimmer
void dimmer()
Getter for the dimmer.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fill
void fill()
Getter for the pointer fill color.
-
fill
Led fill(Fill color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(GradientKey color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(Array<String> color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Led fill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
gap
void gap()
Getter for the led gap.
-
getGauge
LinearGauge getGauge()
Getter for the gauge.
-
hatchFill
PatternFill hatchFill()
Getter for pointer hatch fill settings.
-
hatchFill
Led hatchFill(HatchFillType type, String color, Number thickness, Number size)
Setter for hatch fill settings.
-
hatchFill
Led hatchFill(String type, String color, Number thickness, Number size)
Setter for hatch fill settings.
-
hatchFill
Led hatchFill(String hatchFillFunction)
Setter for hatch fill settings using function. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Led hatchFill(PatternFill patternFill)
Setter for hatch fill settings using pattern fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Led hatchFill(HatchFill settings)
Setter for hatch fill settings using an instance. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Led hatchFill(Boolean enabled)
Setter for hatch fill using boolean. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
hovered
StateSettings hovered()
Getter for hovered state settings.
-
labels
LabelsFactory labels()
Getter for the pointer labels.
-
labels
Led labels(LabelsFactory settings)
Setter for the pointer labels.
-
legendItem
LegendItemSettings legendItem()
Getter for the legend item settings.
-
legendItem
Led legendItem(String settings)
Setter for the legend item settings.
-
name
void name()
Getter for the pointer name.
-
normal
StateSettings normal()
Getter for normal state settings.
-
offset
void offset()
Getter for the pointer offset.
-
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.
-
selected
StateSettings selected()
Getter for selected state settings.
-
size
void size()
Getter for the led size.
-
stroke
void stroke()
Getter for the pointer stroke.
-
stroke
Led stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Led stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
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 the pointer width.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Led 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
Led 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
Led 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
Led 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)
-
-
-
-