-
public class LinearGauge extends SeparateChart
Linear gauge class.Note: Use linear method to get an instance of this class.
-
-
Constructor Summary
Constructors Constructor Description LinearGauge(String jsChart)
-
Method Summary
Modifier and Type Method Description static LinearGaugeinstantiate()StringgetJsBase()ChartA11ya11y()Getter for the accessibility setting. LinearGaugea11y(Boolean settings)Setter for the accessibility setting. LinearGaugea11y(String settings)Setter for the accessibility setting. voidaddPointer(Number var_args)Adds pointers to the gauge. voidaddPointer(Array<String> var_args)Adds pointers to the gauge. voidaddPointer(Set var_args)Adds pointers to the gauge. voidaddPointer(View var_args)Adds pointers to the gauge. Animationanimation()Getter for animation settings. LinearGaugeanimation(Boolean settings)Setter for animation settings by one value. LinearGaugeanimation(String settings)Setter for animation settings by one value. LinearGaugeanimation(Boolean enabled, Number duration)Setter for animation settings using several parameters. voidautoRedraw()Getter for the autoRedraw flag. LinearGaugeautoRedraw(Boolean enabled)Setter for the autoRedraw flag. LinearGaugeaxis(Number index)Getter for the gauge axis. LinearGaugeaxis(String settings)Setter for the gauge axis. LinearGaugeaxis(Boolean settings)Setter for the gauge axis. LinearGaugeaxis(Number index, String settings)Setter for the chart axis by index. LinearGaugeaxis(Number index, Boolean settings)Setter for the chart axis by index. Backgroundbackground()Getter for the chart background. LinearGaugebackground(String settings)Setter for the chart background. Barbar(Number dataIndex)Adds Bar pointer. voidbottom()Getter for element bottom bound settings. LinearGaugebottom(Number bottom)Setter for element bottom bound settings. LinearGaugebottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. LinearGaugebounds(RectObj bounds)Setter for bounds of the element using one parameter. LinearGaugebounds(Rect bounds)Setter for bounds of the element using one parameter. LinearGaugebounds(Bounds bounds)Setter for bounds of the element using one parameter. LinearGaugebounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. LinearGaugebounds(Number x, Number y, Number width, String height)Setter for element bounds settings. LinearGaugebounds(Number x, Number y, String width, Number height)Setter for element bounds settings. LinearGaugebounds(Number x, Number y, String width, String height)Setter for element bounds settings. LinearGaugebounds(Number x, String y, Number width, Number height)Setter for element bounds settings. LinearGaugebounds(Number x, String y, Number width, String height)Setter for element bounds settings. LinearGaugebounds(Number x, String y, String width, Number height)Setter for element bounds settings. LinearGaugebounds(Number x, String y, String width, String height)Setter for element bounds settings. LinearGaugebounds(String x, Number y, Number width, Number height)Setter for element bounds settings. LinearGaugebounds(String x, Number y, Number width, String height)Setter for element bounds settings. LinearGaugebounds(String x, Number y, String width, Number height)Setter for element bounds settings. LinearGaugebounds(String x, Number y, String width, String height)Setter for element bounds settings. LinearGaugebounds(String x, String y, Number width, Number height)Setter for element bounds settings. LinearGaugebounds(String x, String y, Number width, String height)Setter for element bounds settings. LinearGaugebounds(String x, String y, String width, Number height)Setter for element bounds settings. LinearGaugebounds(String x, String y, String width, String height)Setter for element bounds settings. LinearGaugecancelMarquee()Stops current marquee action if any. Layercontainer()Getter for the element's container. LinearGaugecontainer(Layer element)Setter for the element's container. LinearGaugecontainer(Stage element)Setter for the element's container. LinearGaugecontainer(String element)Setter for the element's container. ContextMenucontextMenu()Getter for the context menu. LinearGaugecontextMenu(String settings)Setter for the context menu. LinearGaugecontextMenu(Boolean settings)Setter for the context menu. ChartCreditscredits()Getter for the credits. LinearGaugecredits(String value)Setter for the chart credits. LinearGaugecredits(Boolean value)Setter for the chart credits. Viewdata(List<DataEntry> data)voiddefaultPointerType()Getter for the linear gauge pointer type by default. LinearGaugedefaultPointerType(LinearGaugePointerType type)Setter for the linear gauge pointer type by default. LinearGaugedefaultPointerType(String type)Setter for the linear gauge pointer type by default. voiddispose()Disposes charts. LinearGaugedraw(Boolean async)Starts the rendering of the chart into the container. voidenabled()Getter for the element state (enabled or disabled). LinearGaugeenabled(Boolean enabled)Setter for the element enabled state. Exportsexports()Getter for the export charts. LinearGaugeexports(String settings)Setter for the export charts. voidfullScreen()Getter for the fullscreen mode. LinearGaugefullScreen(Boolean enabled)Setter for the fullscreen mode. RectgetPixelBounds()Returns pixel bounds of the element due to parent bounds and self bounds settings. BasegetPointer(Number id)Returns pointer by id. BasegetPointer(String id)Returns pointer by id. BasegetPointerAt(Number index)Returns pointer by index. voidgetPointersCount()Returns the number of pointers. voidgetSelectedPoints()Getter for the selected points. voidgetStat(Statistics key)Getter for a statistical value by the key. voidgetStat(String key)Getter for a statistical value by the key. voidgetType()Returns chart type. voidglobalOffset()Getter for the global offset of a linear gauge. LinearGaugeglobalOffset(String offset)Setter for the global offset of a linear gauge. LinearGaugeglobalOffset(Number offset)Setter for the global offset of a linear gauge. voidglobalToLocal(Number xCoord, Number yCoord)Converts the global coordinates to local coordinates. HatchFillshatchFillPalette()Getter for the gauge hatch fill palette settings. LinearGaugehatchFillPalette(Array<HatchFillType> settings)Setter for the gauge hatch fill palette settings. LinearGaugehatchFillPalette(String settings)Setter for the gauge hatch fill palette settings. LinearGaugehatchFillPalette(HatchFills settings)Setter for the gauge hatch fill palette settings. voidheight()Getter for element height settings. LinearGaugeheight(Number height)Setter for element height setting. LinearGaugeheight(String height)Setter for element height setting. voidid()Getter for chart id. LinearGaugeid(String id)Setter for chart id. voidinMarquee()Gets marquee process running value. Interactivityinteractivity()Getter for interactivity settings for the chart. LinearGaugeinteractivity(String settings)Setter for interactivity settings for the chart. LinearGaugeinteractivity(HoverMode settings)Setter for interactivity settings for the chart. voidisFullScreenAvailable()Whether the fullscreen mode available in the browser or not. voidisVertical()Getter for the vertical layout. LinearGaugeisVertical(Boolean value)Setter for the vertical layout. Labellabel(String index)Getter for the chart label. Labellabel(Number index)Getter for the chart label. LinearGaugelabel(Boolean settings)Setter for the chart label. LinearGaugelabel(String index, Boolean settings)Setter for the chart label. LinearGaugelabel(String index, String settings)Setter for the chart label. LinearGaugelabel(Number index, Boolean settings)Setter for the chart label. LinearGaugelabel(Number index, String settings)Setter for the chart label. voidlayout()Getter for the gauge layout. LinearGaugelayout(Layout layout)Setter for the gauge layout. LinearGaugelayout(String layout)Setter for the gauge layout. Ledled(Number dataIndex)Adds Led pointer. voidleft()Getter for element left bound settings. LinearGaugeleft(Number left)Setter for element left bound settings. LinearGaugeleft(String left)Setter for element left bound settings. Legendlegend()Getter for the chart legend. LinearGaugelegend(String settings)Setter for chart legend settings. LinearGaugelegend(Boolean settings)Setter for chart legend settings. voidlocalToGlobal(Number xCoord, Number yCoord)Converts the local coordinates to global coordinates. Marginmargin()Getter for the chart margin. LinearGaugemargin(Array<Number> margin)Setter for the chart margin in pixels using a single complex object. LinearGaugemargin(Array<String> margin)Setter for the chart margin in pixels using a single complex object. LinearGaugemargin(String margin)Setter for the chart margin in pixels using a single complex object. LinearGaugemargin(String value1, String value2, String value3, String value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(String value1, String value2, String value3, Number value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(String value1, String value2, Number value3, String value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(String value1, String value2, Number value3, Number value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(String value1, Number value2, String value3, String value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(String value1, Number value2, String value3, Number value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(String value1, Number value2, Number value3, String value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(String value1, Number value2, Number value3, Number value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(Number value1, String value2, String value3, String value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(Number value1, String value2, String value3, Number value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(Number value1, String value2, Number value3, String value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(Number value1, String value2, Number value3, Number value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(Number value1, Number value2, String value3, String value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(Number value1, Number value2, String value3, Number value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(Number value1, Number value2, Number value3, String value4)Setter for the chart margin in pixels using several simple values. LinearGaugemargin(Number value1, Number value2, Number value3, Number value4)Setter for the chart margin in pixels using several simple values. Markermarker(Number dataIndex)Adds Marker pointer. MarkersmarkerPalette()Getter for the gauge markers palette settings. LinearGaugemarkerPalette(Markers settings)Setter for the gauge markers palette settings. LinearGaugemarkerPalette(String settings)Setter for the gauge markers palette settings. LinearGaugemarkerPalette(MarkerType settings)Setter for the gauge markers palette settings. LinearGaugemarkerPalette(Array<String> settings)Setter for the gauge markers palette settings. voidmaxHeight()Getter for the maximum height. LinearGaugemaxHeight(Number height)Setter for the maximum height. LinearGaugemaxHeight(String height)Setter for the maximum height. voidmaxWidth()Getter for the maximum width. LinearGaugemaxWidth(Number width)Setter for the maximum width. LinearGaugemaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. LinearGaugeminHeight(Number height)Setter for the minimum height. LinearGaugeminHeight(String height)Setter for the minimum height. voidminWidth()Getter for the minimum width. LinearGaugeminWidth(Number width)Setter for the minimum width. LinearGaugeminWidth(String width)Setter for the minimum width. NoDataSettingsnoData()Getter for noData settings. LinearGaugenoData(String settings)Setter for noData settings. Paddingpadding()Getter for the chart padding. LinearGaugepadding(Array<Number> padding)Setter for the chart paddings in pixels using a single value. LinearGaugepadding(Array<String> padding)Setter for the chart paddings in pixels using a single value. LinearGaugepadding(String padding)Setter for the chart paddings in pixels using a single value. LinearGaugepadding(String value1, String value2, String value3, String value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(String value1, String value2, String value3, Number value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(String value1, String value2, Number value3, String value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(String value1, String value2, Number value3, Number value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(String value1, Number value2, String value3, String value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(String value1, Number value2, String value3, Number value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(String value1, Number value2, Number value3, String value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(String value1, Number value2, Number value3, Number value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(Number value1, String value2, String value3, String value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(Number value1, String value2, String value3, Number value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(Number value1, String value2, Number value3, String value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(Number value1, String value2, Number value3, Number value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(Number value1, Number value2, String value3, String value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(Number value1, Number value2, String value3, Number value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(Number value1, Number value2, Number value3, String value4)Setter for the chart paddings in pixels using several numbers. LinearGaugepadding(Number value1, Number value2, Number value3, Number value4)Setter for the chart paddings in pixels using several numbers. RangeColorspalette()Getter for the gauge palette. LinearGaugepalette(RangeColors settings)Setter for the gauge palette. LinearGaugepalette(DistinctColors settings)Setter for the gauge palette. LinearGaugepalette(String settings)Setter for the gauge palette. LinearGaugepalette(Array<String> settings)Setter for the gauge palette. voidprint(PaperSize paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidprint(String paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. RangeBarrangeBar(Number dataIndex)Adds Range bar pointer. voidremoveAllListeners(String type)Removes all listeners from an object. LinearGaugeremoveAllPointers()Removes all pointers from gauge. LinearGaugeremovePointer(Number id)Removes pointer by id. LinearGaugeremovePointer(String id)Removes pointer by id. LinearGaugeremovePointerAt(Number index)Removes pointer by index. voidright()Getter for element right bound settings. LinearGaugeright(Number right)Setter for element right bound setting. LinearGaugeright(String right)Setter for element right bound setting. voidsaveAsJpg(Number width, Number height, Number quality, Boolean forceTransparentWhite, String filename)Saves the current chart as JPEG image. voidsaveAsJpg(String width, Number height, Number quality, Boolean forceTransparentWhite, String filename)Saves the current chart as JPEG image. voidsaveAsJson(String filename)Saves chart config as JSON document. voidsaveAsPdf(Number paperSizeOrWidthOrOptions, Boolean landscape, Number x, Number y, String filename)Saves the current chart as PDF image. voidsaveAsPdf(String paperSizeOrWidthOrOptions, Boolean landscape, Number x, Number y, String filename)Saves the current chart as PDF image. voidsaveAsPng(Number width, Number height, Number quality, String filename)Saves the current chart as PNG image. voidsaveAsPng(String width, Number height, Number quality, String filename)Saves the current chart as PNG image. voidsaveAsSvg(String paperSize, Boolean landscape, String filename)Saves the current chart as SVG image. voidsaveAsSvg(Number width, Number height)Saves the stage as SVG image using width and height. voidsaveAsXlsx(ChartDataExportMode chartDataExportMode, String filename)Saves chart data as an Excel document. voidsaveAsXlsx(String chartDataExportMode, String filename)Saves chart data as an Excel document. voidsaveAsXml(String filename)Saves chart config as XML document. ScatterBasescale()Getter for the gauge scale. LinearGaugescale(ScaleTypes settings)Setter for the gauge scale. LinearGaugescale(String settings)Setter for the gauge scale. LinearGaugescale(ScatterBase settings)Setter for the gauge scale. ScaleBarscaleBar(Number index)Getter for the scale bar. LinearGaugescaleBar(String settings)Setter for the scale bar. LinearGaugescaleBar(Boolean settings)Setter for the scale bar. LinearGaugescaleBar(Number index, String settings)Setter for the scale bar by index. LinearGaugescaleBar(Number index, Boolean settings)Setter for the scale bar by index. voidselectMarqueeFill()Getter for the select marquee fill. LinearGaugeselectMarqueeFill(Fill color)Setter for fill settings using an array, an object or a string. LinearGaugeselectMarqueeFill(GradientKey color)Setter for fill settings using an array, an object or a string. LinearGaugeselectMarqueeFill(Array<String> color)Setter for fill settings using an array, an object or a string. LinearGaugeselectMarqueeFill(String color, Number opacity)Fill color with opacity. LinearGaugeselectMarqueeFill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. LinearGaugeselectMarqueeFill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. LinearGaugeselectMarqueeFill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. LinearGaugeselectMarqueeFill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. LinearGaugeselectMarqueeFill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. LinearGaugeselectMarqueeFill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. LinearGaugeselectMarqueeFill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. LinearGaugeselectMarqueeFill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. voidselectMarqueeStroke()Getter for the select marquee stroke. LinearGaugeselectMarqueeStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the select marquee stroke. LinearGaugeselectMarqueeStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. voidshareWithFacebook(String captionOrOptions, String link, String name, String description)Opens Facebook sharing dialog. voidshareWithLinkedIn(String captionOrOptions, String description)Opens LinkedIn sharing dialog. voidshareWithPinterest(String linkOrOptions, String description)Opens Pinterest sharing dialog. voidshareWithTwitter()Opens Twitter sharing dialog. LinearGaugestartSelectMarquee(Boolean repeat)Starts select marquee drawing. Tanktank(Number dataIndex)Adds Tank pointer. Thermometerthermometer(Number dataIndex)Adds Thermometer pointer. Titletitle()Getter for the chart title. LinearGaugetitle(Boolean settings)Setter for the chart title. LinearGaugetitle(String settings)Setter for the chart title. voidtoJson(Boolean stringify)Return chart configuration as JSON object or string. voidtoSvg(String paperSize, Boolean landscape)Returns SVG string with paper size and landscape. voidtoSvg(Number width, Number height)Returns SVG string with with determined the width and height. voidtoXml(Boolean asXmlNode)Return chart configuration as XML string or XMLNode. voidtop()Getter for element top bound settings. LinearGaugetop(Number top)Setter for element top bound settings. LinearGaugetop(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. LinearGaugewidth(Number width)Setter for element width setting. LinearGaugewidth(String width)Setter for element width setting. voidzIndex()Getter for the Z-index of the element. LinearGaugezIndex(Number zIndex)Setter for the Z-index of the element. voidtoA11yTable(String title, Boolean asString)Creates and returns the chart represented as an invisible HTML table. voidtoHtmlTable(String title, Boolean asString)Creates and returns a chart as HTML table. Tooltiptooltip()Getter for the chart tooltip. LinearGaugetooltip(String settings)Setter for the chart tooltip. LinearGaugetooltip(Boolean settings)Setter for the chart tooltip. RectparentBounds()Getter for the parent bounds. LinearGaugeparentBounds(Rect bounds)Setter for the parent bounds using single value. LinearGaugeparentBounds(String bounds)Setter for the parent bounds using single value. LinearGaugeparentBounds(Number bounds)Setter for the parent bounds using single value. LinearGaugeparentBounds(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)-
Methods inherited from class com.anychart.core.SeparateChart
a11y, a11y, animation, animation, animation, autoRedraw, background, bottom, bottom, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, cancelMarquee, container, container, container, contextMenu, contextMenu, credits, credits, draw, enabled, exports, fullScreen, height, height, id, instantiate, interactivity, interactivity, label, label, label, label, label, left, left, legend, legend, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, maxHeight, maxHeight, maxWidth, maxWidth, minHeight, minHeight, minWidth, minWidth, noData, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, parentBounds, parentBounds, parentBounds, parentBounds, right, right, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, startSelectMarquee, title, title, tooltip, tooltip, top, top, width, width, zIndex -
Methods inherited from class com.anychart.core.Chart
a11y, a11y, animation, animation, animation, autoRedraw, background, bottom, bottom, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, cancelMarquee, container, container, container, contextMenu, contextMenu, credits, credits, draw, enabled, exports, fullScreen, height, height, id, instantiate, label, label, label, label, label, left, left, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, maxHeight, maxHeight, maxWidth, maxWidth, minHeight, minHeight, minWidth, minWidth, noData, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, padding, parentBounds, parentBounds, parentBounds, parentBounds, right, right, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeFill, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, selectMarqueeStroke, startSelectMarquee, title, title, tooltip, tooltip, top, top, 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 com.anychart.core.Base
instantiate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LinearGauge
LinearGauge(String jsChart)
-
-
Method Detail
-
instantiate
static LinearGauge instantiate()
-
a11y
LinearGauge a11y(Boolean settings)
Setter for the accessibility setting.
-
a11y
LinearGauge a11y(String settings)
Setter for the accessibility setting.
-
addPointer
void addPointer(Number var_args)
Adds pointers to the gauge.
-
addPointer
void addPointer(Array<String> var_args)
Adds pointers to the gauge.
-
addPointer
void addPointer(Set var_args)
Adds pointers to the gauge.
-
addPointer
void addPointer(View var_args)
Adds pointers to the gauge.
-
animation
LinearGauge animation(Boolean settings)
Setter for animation settings by one value.
-
animation
LinearGauge animation(String settings)
Setter for animation settings by one value.
-
animation
LinearGauge animation(Boolean enabled, Number duration)
Setter for animation settings using several parameters.
-
autoRedraw
void autoRedraw()
Getter for the autoRedraw flag. Flag whether to automatically call chart.draw() on any changes or not.
-
autoRedraw
LinearGauge autoRedraw(Boolean enabled)
Setter for the autoRedraw flag. Flag whether to automatically call chart.draw() on any changes or not.
-
axis
LinearGauge axis(Number index)
Getter for the gauge axis.
-
axis
LinearGauge axis(String settings)
Setter for the gauge axis.
-
axis
LinearGauge axis(Boolean settings)
Setter for the gauge axis.
-
axis
LinearGauge axis(Number index, String settings)
Setter for the chart axis by index.
-
axis
LinearGauge axis(Number index, Boolean settings)
Setter for the chart axis by index.
-
background
Background background()
Getter for the chart background.
-
background
LinearGauge background(String settings)
Setter for the chart background.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bottom
LinearGauge bottom(Number bottom)
Setter for element bottom bound settings.
-
bottom
LinearGauge bottom(String bottom)
Setter for element bottom bound settings.
-
bounds
LinearGauge bounds(RectObj bounds)
Setter for bounds of the element using one parameter.
-
bounds
LinearGauge bounds(Rect bounds)
Setter for bounds of the element using one parameter.
-
bounds
LinearGauge bounds(Bounds bounds)
Setter for bounds of the element using one parameter.
-
bounds
LinearGauge bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
LinearGauge bounds(String x, String y, String width, String height)
Setter for element bounds settings.
-
cancelMarquee
LinearGauge cancelMarquee()
Stops current marquee action if any.
-
container
LinearGauge container(Layer element)
Setter for the element's container.
-
container
LinearGauge container(Stage element)
Setter for the element's container.
-
container
LinearGauge container(String element)
Setter for the element's container.
-
contextMenu
ContextMenu contextMenu()
Getter for the context menu.
-
contextMenu
LinearGauge contextMenu(String settings)
Setter for the context menu.
-
contextMenu
LinearGauge contextMenu(Boolean settings)
Setter for the context menu.
-
credits
ChartCredits credits()
Getter for the credits.
-
credits
LinearGauge credits(String value)
Setter for the chart credits. {docs:Quick_Start/Credits}Learn more about credits settings.{docs}
-
credits
LinearGauge credits(Boolean value)
Setter for the chart credits. {docs:Quick_Start/Credits}Learn more about credits settings.{docs}
-
defaultPointerType
void defaultPointerType()
Getter for the linear gauge pointer type by default.
-
defaultPointerType
LinearGauge defaultPointerType(LinearGaugePointerType type)
Setter for the linear gauge pointer type by default.
-
defaultPointerType
LinearGauge defaultPointerType(String type)
Setter for the linear gauge pointer type by default.
-
dispose
void dispose()
Disposes charts.
-
draw
LinearGauge draw(Boolean async)
Starts the rendering of the chart into the container.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
enabled
LinearGauge enabled(Boolean enabled)
Setter for the element enabled state.
-
exports
LinearGauge exports(String settings)
Setter for the export charts.
-
fullScreen
void fullScreen()
Getter for the fullscreen mode.
-
fullScreen
LinearGauge fullScreen(Boolean enabled)
Setter for the fullscreen mode.
-
getPixelBounds
Rect getPixelBounds()
Returns pixel bounds of the element due to parent bounds and self bounds settings.
-
getPointer
Base getPointer(Number id)
Returns pointer by id.
-
getPointer
Base getPointer(String id)
Returns pointer by id.
-
getPointerAt
Base getPointerAt(Number index)
Returns pointer by index.
-
getPointersCount
void getPointersCount()
Returns the number of pointers.
-
getSelectedPoints
void getSelectedPoints()
Getter for the selected points.
-
getStat
void getStat(Statistics key)
Getter for a statistical value by the key.
-
getType
void getType()
Returns chart type.
-
globalOffset
void globalOffset()
Getter for the global offset of a linear gauge.
-
globalOffset
LinearGauge globalOffset(String offset)
Setter for the global offset of a linear gauge.
-
globalOffset
LinearGauge globalOffset(Number offset)
Setter for the global offset of a linear gauge.
-
globalToLocal
void globalToLocal(Number xCoord, Number yCoord)
Converts the global coordinates to local coordinates. Note: Works only after draw is called.
-
hatchFillPalette
HatchFills hatchFillPalette()
Getter for the gauge hatch fill palette settings.
-
hatchFillPalette
LinearGauge hatchFillPalette(Array<HatchFillType> settings)
Setter for the gauge hatch fill palette settings.
-
hatchFillPalette
LinearGauge hatchFillPalette(String settings)
Setter for the gauge hatch fill palette settings.
-
hatchFillPalette
LinearGauge hatchFillPalette(HatchFills settings)
Setter for the gauge hatch fill palette settings.
-
height
void height()
Getter for element height settings.
-
height
LinearGauge height(Number height)
Setter for element height setting.
-
height
LinearGauge height(String height)
Setter for element height setting.
-
id
void id()
Getter for chart id.
-
id
LinearGauge id(String id)
Setter for chart id.
-
inMarquee
void inMarquee()
Gets marquee process running value.
-
interactivity
Interactivity interactivity()
Getter for interactivity settings for the chart.
-
interactivity
LinearGauge interactivity(String settings)
Setter for interactivity settings for the chart.
-
interactivity
LinearGauge interactivity(HoverMode settings)
Setter for interactivity settings for the chart.
-
isFullScreenAvailable
void isFullScreenAvailable()
Whether the fullscreen mode available in the browser or not.
-
isVertical
void isVertical()
Getter for the vertical layout.
-
isVertical
LinearGauge isVertical(Boolean value)
Setter for the vertical layout.
-
label
LinearGauge label(Boolean settings)
Setter for the chart label.
-
label
LinearGauge label(String index, Boolean settings)
Setter for the chart label.
-
label
LinearGauge label(String index, String settings)
Setter for the chart label.
-
label
LinearGauge label(Number index, Boolean settings)
Setter for the chart label.
-
label
LinearGauge label(Number index, String settings)
Setter for the chart label.
-
layout
void layout()
Getter for the gauge layout.
-
layout
LinearGauge layout(Layout layout)
Setter for the gauge layout.
-
layout
LinearGauge layout(String layout)
Setter for the gauge layout.
-
left
void left()
Getter for element left bound settings.
-
left
LinearGauge left(Number left)
Setter for element left bound settings.
-
left
LinearGauge left(String left)
Setter for element left bound settings.
-
legend
LinearGauge legend(String settings)
Setter for chart legend settings.
-
legend
LinearGauge legend(Boolean settings)
Setter for chart legend settings.
-
localToGlobal
void localToGlobal(Number xCoord, Number yCoord)
Converts the local coordinates to global coordinates. Note: Works only after draw is called.
-
margin
LinearGauge margin(Array<Number> margin)
Setter for the chart margin in pixels using a single complex object.
-
margin
LinearGauge margin(Array<String> margin)
Setter for the chart margin in pixels using a single complex object.
-
margin
LinearGauge margin(String margin)
Setter for the chart margin in pixels using a single complex object.
-
margin
LinearGauge margin(String value1, String value2, String value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(String value1, String value2, String value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(String value1, String value2, Number value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(String value1, String value2, Number value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(String value1, Number value2, String value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(String value1, Number value2, String value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(String value1, Number value2, Number value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(String value1, Number value2, Number value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(Number value1, String value2, String value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(Number value1, String value2, String value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(Number value1, String value2, Number value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(Number value1, String value2, Number value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(Number value1, Number value2, String value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(Number value1, Number value2, String value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(Number value1, Number value2, Number value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
LinearGauge margin(Number value1, Number value2, Number value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
markerPalette
Markers markerPalette()
Getter for the gauge markers palette settings.
-
markerPalette
LinearGauge markerPalette(Markers settings)
Setter for the gauge markers palette settings.
-
markerPalette
LinearGauge markerPalette(String settings)
Setter for the gauge markers palette settings.
-
markerPalette
LinearGauge markerPalette(MarkerType settings)
Setter for the gauge markers palette settings.
-
markerPalette
LinearGauge markerPalette(Array<String> settings)
Setter for the gauge markers palette settings.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxHeight
LinearGauge maxHeight(Number height)
Setter for the maximum height.
-
maxHeight
LinearGauge maxHeight(String height)
Setter for the maximum height.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
maxWidth
LinearGauge maxWidth(Number width)
Setter for the maximum width.
-
maxWidth
LinearGauge maxWidth(String width)
Setter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minHeight
LinearGauge minHeight(Number height)
Setter for the minimum height.
-
minHeight
LinearGauge minHeight(String height)
Setter for the minimum height.
-
minWidth
void minWidth()
Getter for the minimum width.
-
minWidth
LinearGauge minWidth(Number width)
Setter for the minimum width.
-
minWidth
LinearGauge minWidth(String width)
Setter for the minimum width.
-
noData
NoDataSettings noData()
Getter for noData settings.
-
noData
LinearGauge noData(String settings)
Setter for noData settings. {docs:Working_with_Data/No_Data_Label} Learn more about "No data" feature {docs}
-
padding
LinearGauge padding(Array<Number> padding)
Setter for the chart paddings in pixels using a single value.
-
padding
LinearGauge padding(Array<String> padding)
Setter for the chart paddings in pixels using a single value.
-
padding
LinearGauge padding(String padding)
Setter for the chart paddings in pixels using a single value.
-
padding
LinearGauge padding(String value1, String value2, String value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(String value1, String value2, String value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(String value1, String value2, Number value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(String value1, String value2, Number value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(String value1, Number value2, String value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(String value1, Number value2, String value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(String value1, Number value2, Number value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(String value1, Number value2, Number value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(Number value1, String value2, String value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(Number value1, String value2, String value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(Number value1, String value2, Number value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(Number value1, String value2, Number value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(Number value1, Number value2, String value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(Number value1, Number value2, String value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(Number value1, Number value2, Number value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
LinearGauge padding(Number value1, Number value2, Number value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
palette
RangeColors palette()
Getter for the gauge palette.
-
palette
LinearGauge palette(RangeColors settings)
Setter for the gauge palette.
-
palette
LinearGauge palette(DistinctColors settings)
Setter for the gauge palette.
-
palette
LinearGauge palette(String settings)
Setter for the gauge palette.
-
palette
LinearGauge palette(Array<String> settings)
Setter for the gauge palette.
-
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.
-
removeAllPointers
LinearGauge removeAllPointers()
Removes all pointers from gauge.
-
removePointer
LinearGauge removePointer(Number id)
Removes pointer by id.
-
removePointer
LinearGauge removePointer(String id)
Removes pointer by id.
-
removePointerAt
LinearGauge removePointerAt(Number index)
Removes pointer by index.
-
right
void right()
Getter for element right bound settings.
-
right
LinearGauge right(Number right)
Setter for element right bound setting.
-
right
LinearGauge right(String right)
Setter for element right bound setting.
-
saveAsJpg
void saveAsJpg(Number width, Number height, Number quality, Boolean forceTransparentWhite, String filename)
Saves the current chart as JPEG image.
-
saveAsJpg
void saveAsJpg(String width, Number height, Number quality, Boolean forceTransparentWhite, String filename)
Saves the current chart as JPEG image.
-
saveAsJson
void saveAsJson(String filename)
Saves chart config as JSON document.
-
saveAsPdf
void saveAsPdf(Number paperSizeOrWidthOrOptions, Boolean landscape, Number x, Number y, String filename)
Saves the current chart as PDF image.
-
saveAsPdf
void saveAsPdf(String paperSizeOrWidthOrOptions, Boolean landscape, Number x, Number y, String filename)
Saves the current chart as PDF image.
-
saveAsPng
void saveAsPng(Number width, Number height, Number quality, String filename)
Saves the current chart as PNG image.
-
saveAsPng
void saveAsPng(String width, Number height, Number quality, String filename)
Saves the current chart as PNG image.
-
saveAsSvg
void saveAsSvg(String paperSize, Boolean landscape, String filename)
Saves the current chart as SVG image.
-
saveAsSvg
void saveAsSvg(Number width, Number height)
Saves the stage as SVG image using width and height.
-
saveAsXlsx
void saveAsXlsx(ChartDataExportMode chartDataExportMode, String filename)
Saves chart data as an Excel document.
-
saveAsXlsx
void saveAsXlsx(String chartDataExportMode, String filename)
Saves chart data as an Excel document.
-
scale
ScatterBase scale()
Getter for the gauge scale.
-
scale
LinearGauge scale(ScaleTypes settings)
Setter for the gauge scale.
-
scale
LinearGauge scale(String settings)
Setter for the gauge scale.
-
scale
LinearGauge scale(ScatterBase settings)
Setter for the gauge scale.
-
scaleBar
LinearGauge scaleBar(String settings)
Setter for the scale bar.
-
scaleBar
LinearGauge scaleBar(Boolean settings)
Setter for the scale bar.
-
scaleBar
LinearGauge scaleBar(Number index, String settings)
Setter for the scale bar by index.
-
scaleBar
LinearGauge scaleBar(Number index, Boolean settings)
Setter for the scale bar by index.
-
selectMarqueeFill
void selectMarqueeFill()
Getter for the select marquee fill.
-
selectMarqueeFill
LinearGauge selectMarqueeFill(Fill color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(GradientKey color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(Array<String> color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(String color, Number opacity)
Fill color with opacity. Fill as a string or an object.
-
selectMarqueeFill
LinearGauge selectMarqueeFill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(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}
-
selectMarqueeFill
LinearGauge selectMarqueeFill(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}
-
selectMarqueeStroke
void selectMarqueeStroke()
Getter for the select marquee stroke.
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
selectMarqueeStroke
LinearGauge selectMarqueeStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
shareWithFacebook
void shareWithFacebook(String captionOrOptions, String link, String name, String description)
Opens Facebook sharing dialog.
-
shareWithLinkedIn
void shareWithLinkedIn(String captionOrOptions, String description)
Opens LinkedIn sharing dialog.
-
shareWithPinterest
void shareWithPinterest(String linkOrOptions, String description)
Opens Pinterest sharing dialog.
-
shareWithTwitter
void shareWithTwitter()
Opens Twitter sharing dialog.
-
startSelectMarquee
LinearGauge startSelectMarquee(Boolean repeat)
Starts select marquee drawing. Note: Works only after draw is called.
-
thermometer
Thermometer thermometer(Number dataIndex)
Adds Thermometer pointer.
-
title
LinearGauge title(Boolean settings)
Setter for the chart title.
-
title
LinearGauge title(String settings)
Setter for the chart title.
-
toSvg
void toSvg(String paperSize, Boolean landscape)
Returns SVG string with paper size and landscape.
-
toSvg
void toSvg(Number width, Number height)
Returns SVG string with with determined the width and height.
-
top
void top()
Getter for element top bound settings.
-
top
LinearGauge top(Number top)
Setter for element top bound settings.
-
top
LinearGauge 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
LinearGauge width(Number width)
Setter for element width setting.
-
width
LinearGauge width(String width)
Setter for element width setting.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
zIndex
LinearGauge zIndex(Number zIndex)
Setter for the Z-index of the element.
-
toA11yTable
void toA11yTable(String title, Boolean asString)
Creates and returns the chart represented as an invisible HTML table.
-
toHtmlTable
void toHtmlTable(String title, Boolean asString)
Creates and returns a chart as HTML table.
-
tooltip
LinearGauge tooltip(String settings)
Setter for the chart tooltip.
-
tooltip
LinearGauge tooltip(Boolean settings)
Setter for the chart tooltip.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
LinearGauge 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
LinearGauge 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
LinearGauge 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
LinearGauge 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)
-
-
-
-