-
public class Pyramid extends SeparateChart
Pyramid chart class.Note: Use pyramid method to get an instance of this class:
-
-
Method Summary
Modifier and Type Method Description static Pyramidinstantiate()StringgetJsBase()ChartA11ya11y()Getter for the accessibility setting. Pyramida11y(Boolean settings)Setter for the accessibility setting. Pyramida11y(String settings)Setter for the accessibility setting. Animationanimation()Getter for animation settings. Pyramidanimation(Boolean settings)Setter for animation settings by one value. Pyramidanimation(String settings)Setter for animation settings by one value. Pyramidanimation(Boolean enabled, Number duration)Setter for animation settings using several parameters. voidautoRedraw()Getter for the autoRedraw flag. PyramidautoRedraw(Boolean enabled)Setter for the autoRedraw flag. Backgroundbackground()Getter for the chart background. Pyramidbackground(String settings)Setter for the chart background. voidbaseWidth()Getter for the base width. PyramidbaseWidth(String width)Setter for the base width. PyramidbaseWidth(Number width)Setter for the base width. voidbottom()Getter for element bottom bound settings. Pyramidbottom(Number bottom)Setter for element bottom bound settings. Pyramidbottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. Pyramidbounds(RectObj bounds)Setter for bounds of the element using one parameter. Pyramidbounds(Rect bounds)Setter for bounds of the element using one parameter. Pyramidbounds(Bounds bounds)Setter for bounds of the element using one parameter. Pyramidbounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. Pyramidbounds(Number x, Number y, Number width, String height)Setter for element bounds settings. Pyramidbounds(Number x, Number y, String width, Number height)Setter for element bounds settings. Pyramidbounds(Number x, Number y, String width, String height)Setter for element bounds settings. Pyramidbounds(Number x, String y, Number width, Number height)Setter for element bounds settings. Pyramidbounds(Number x, String y, Number width, String height)Setter for element bounds settings. Pyramidbounds(Number x, String y, String width, Number height)Setter for element bounds settings. Pyramidbounds(Number x, String y, String width, String height)Setter for element bounds settings. Pyramidbounds(String x, Number y, Number width, Number height)Setter for element bounds settings. Pyramidbounds(String x, Number y, Number width, String height)Setter for element bounds settings. Pyramidbounds(String x, Number y, String width, Number height)Setter for element bounds settings. Pyramidbounds(String x, Number y, String width, String height)Setter for element bounds settings. Pyramidbounds(String x, String y, Number width, Number height)Setter for element bounds settings. Pyramidbounds(String x, String y, Number width, String height)Setter for element bounds settings. Pyramidbounds(String x, String y, String width, Number height)Setter for element bounds settings. Pyramidbounds(String x, String y, String width, String height)Setter for element bounds settings. PyramidcancelMarquee()Stops current marquee action if any. voidconnectorLength()Getter for the outside labels connector length. PyramidconnectorLength(Number length)Setter for the outside labels connector length. PyramidconnectorLength(String length)Setter for the outside labels connector length. voidconnectorStroke()Getter for outside labels connectors stroke settings. PyramidconnectorStroke(Stroke value, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(Stroke value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(String value, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(String value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for outside labels connectors stroke settings. PyramidconnectorStroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for outside labels connectors stroke settings. Layercontainer()Getter for the element's container. Pyramidcontainer(Layer element)Setter for the element's container. Pyramidcontainer(Stage element)Setter for the element's container. Pyramidcontainer(String element)Setter for the element's container. ContextMenucontextMenu()Getter for the context menu. PyramidcontextMenu(String settings)Setter for the context menu. PyramidcontextMenu(Boolean settings)Setter for the context menu. ChartCreditscredits()Getter for the credits. Pyramidcredits(String value)Setter for the chart credits. Pyramidcredits(Boolean value)Setter for the chart credits. Viewdata(List<DataEntry> data)voiddispose()Disposes charts. Pyramiddraw(Boolean async)Starts the rendering of the chart into the container. voidenabled()Getter for the element state (enabled or disabled). Pyramidenabled(Boolean enabled)Setter for the element enabled state. Exportsexports()Getter for the export charts. Pyramidexports(String settings)Setter for the export charts. voidfill()Getter for the pyramid fill. Pyramidfill(Fill fillFunction)Setter for the pyramid fill. Pyramidfill(GradientKey color)Setter for fill settings using an array, an object or a string. Pyramidfill(Array<String> color)Setter for fill settings using an array, an object or a string. Pyramidfill(String color, Number opacity)Fill color with opacity. Pyramidfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Pyramidfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Pyramidfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. Pyramidfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Pyramidfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Pyramidfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. Pyramidfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. Pyramidfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. voidfullScreen()Getter for the fullscreen mode. PyramidfullScreen(Boolean enabled)Setter for the fullscreen mode. RectgetPixelBounds()Returns pixel bounds of the element due to parent bounds and self bounds settings. PointgetPoint(Number index)Gets wrapped point by index. 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. voidglobalToLocal(Number xCoord, Number yCoord)Converts the global coordinates to local coordinates. PatternFillhatchFill()Getter for the hatch fill settings. PyramidhatchFill(HatchFillType type, String color, Number thickness, Number size)Setter for the hatch fill settings. PyramidhatchFill(String type, String color, Number thickness, Number size)Setter for the hatch fill settings. PyramidhatchFill(String hatchFillFunction)Setter for hatch fill settings using function. PyramidhatchFill(PatternFill patternFill)Setter for hatch fill settings using pattern fill. PyramidhatchFill(HatchFill settings)Setter for hatch fill settings using an instance. PyramidhatchFill(Boolean enabled)Setter for hatch fill using boolean. HatchFillshatchFillPalette()Getter for hatch fill palette settings. PyramidhatchFillPalette(Array<HatchFillType> settings)Setter for hatch fill palette settings. PyramidhatchFillPalette(String settings)Setter for hatch fill palette settings. PyramidhatchFillPalette(HatchFills settings)Setter for hatch fill palette settings. voidheight()Getter for element height settings. Pyramidheight(Number height)Setter for element height setting. Pyramidheight(String height)Setter for element height setting. Pyramidhover(Number index)Setter for the hover state on a element or all elements. StateSettingshovered()Getter for hovered state settings. Pyramidhovered(String settings)Setter for hovered state settings. voidid()Getter for chart id. Pyramidid(String id)Setter for chart id. voidinMarquee()Gets marquee process running value. Interactivityinteractivity()Getter for interactivity settings for the chart. Pyramidinteractivity(String settings)Setter for interactivity settings for the chart. Pyramidinteractivity(HoverMode settings)Setter for interactivity settings for the chart. voidisFullScreenAvailable()Whether the fullscreen mode available in the browser or not. Labellabel(String index)Getter for the chart label. Labellabel(Number index)Getter for the chart label. Pyramidlabel(Boolean settings)Setter for the chart label. Pyramidlabel(String index, Boolean settings)Setter for the chart label. Pyramidlabel(String index, String settings)Setter for the chart label. Pyramidlabel(Number index, Boolean settings)Setter for the chart label. Pyramidlabel(Number index, String settings)Setter for the chart label. LabelsFactorylabels()Getter for the pyramid labels. Pyramidlabels(String settings)Setter for the pyramid labels. Pyramidlabels(Boolean settings)Setter for the pyramid labels. voidleft()Getter for element left bound settings. Pyramidleft(Number left)Setter for element left bound settings. Pyramidleft(String left)Setter for element left bound settings. Legendlegend()Getter for the chart legend. Pyramidlegend(String settings)Setter for chart legend settings. Pyramidlegend(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. Pyramidmargin(Array<Number> margin)Setter for the chart margin in pixels using a single complex object. Pyramidmargin(Array<String> margin)Setter for the chart margin in pixels using a single complex object. Pyramidmargin(String margin)Setter for the chart margin in pixels using a single complex object. Pyramidmargin(String value1, String value2, String value3, String value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(String value1, String value2, String value3, Number value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(String value1, String value2, Number value3, String value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(String value1, String value2, Number value3, Number value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(String value1, Number value2, String value3, String value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(String value1, Number value2, String value3, Number value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(String value1, Number value2, Number value3, String value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(String value1, Number value2, Number value3, Number value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(Number value1, String value2, String value3, String value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(Number value1, String value2, String value3, Number value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(Number value1, String value2, Number value3, String value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(Number value1, String value2, Number value3, Number value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(Number value1, Number value2, String value3, String value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(Number value1, Number value2, String value3, Number value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(Number value1, Number value2, Number value3, String value4)Setter for the chart margin in pixels using several simple values. Pyramidmargin(Number value1, Number value2, Number value3, Number value4)Setter for the chart margin in pixels using several simple values. MarkersmarkerPalette()Getter for the chart markers palette settings. PyramidmarkerPalette(Markers settings)Setter for the chart markers palette settings. PyramidmarkerPalette(String settings)Setter for the chart markers palette settings. PyramidmarkerPalette(MarkerType settings)Setter for the chart markers palette settings. PyramidmarkerPalette(Array<String> settings)Setter for the chart markers palette settings. MarkersFactorymarkers()Getter for data markers. Pyramidmarkers(String settings)Setter for data markers. Pyramidmarkers(Boolean settings)Setter for data markers. voidmaxHeight()Getter for the maximum height. PyramidmaxHeight(Number height)Setter for the maximum height. PyramidmaxHeight(String height)Setter for the maximum height. voidmaxWidth()Getter for the maximum width. PyramidmaxWidth(Number width)Setter for the maximum width. PyramidmaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. PyramidminHeight(Number height)Setter for the minimum height. PyramidminHeight(String height)Setter for the minimum height. voidminWidth()Getter for the minimum width. PyramidminWidth(Number width)Setter for the minimum width. PyramidminWidth(String width)Setter for the minimum width. NoDataSettingsnoData()Getter for noData settings. PyramidnoData(String settings)Setter for noData settings. StateSettingsnormal()Getter for normal state settings. Pyramidnormal(String settings)Setter for normal state settings. voidoverlapMode()Getter for overlap mode for labels. PyramidoverlapMode(LabelsOverlapMode settings)Setter for overlap mode for labels. PyramidoverlapMode(String settings)Setter for overlap mode for labels. PyramidoverlapMode(Boolean settings)Setter for overlap mode for labels. Paddingpadding()Getter for the chart padding. Pyramidpadding(Array<Number> padding)Setter for the chart paddings in pixels using a single value. Pyramidpadding(Array<String> padding)Setter for the chart paddings in pixels using a single value. Pyramidpadding(String padding)Setter for the chart paddings in pixels using a single value. Pyramidpadding(String value1, String value2, String value3, String value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(String value1, String value2, String value3, Number value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(String value1, String value2, Number value3, String value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(String value1, String value2, Number value3, Number value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(String value1, Number value2, String value3, String value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(String value1, Number value2, String value3, Number value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(String value1, Number value2, Number value3, String value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(String value1, Number value2, Number value3, Number value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(Number value1, String value2, String value3, String value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(Number value1, String value2, String value3, Number value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(Number value1, String value2, Number value3, String value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(Number value1, String value2, Number value3, Number value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(Number value1, Number value2, String value3, String value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(Number value1, Number value2, String value3, Number value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(Number value1, Number value2, Number value3, String value4)Setter for the chart paddings in pixels using several numbers. Pyramidpadding(Number value1, Number value2, Number value3, Number value4)Setter for the chart paddings in pixels using several numbers. RangeColorspalette()Getter for the pyramid palette. Pyramidpalette(RangeColors settings)Setter for the pyramid palette. Pyramidpalette(DistinctColors settings)Setter for the pyramid palette. Pyramidpalette(String settings)Setter for the pyramid palette. Pyramidpalette(Array<String> settings)Setter for the pyramid palette. voidpointsPadding()Getter for the padding between points. PyramidpointsPadding(String padding)Setter for the padding between points. PyramidpointsPadding(Number padding)Setter for the padding between points. 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. voidreversed()Getter for the reversing of the pyramid. Pyramidreversed(Boolean value)Setter for the reversing of the pyramid. voidright()Getter for element right bound settings. Pyramidright(Number right)Setter for element right bound setting. Pyramidright(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. Pyramidselect()Selects all points of the series. Pyramidselect(Number index)Selects points by index. Pyramidselect(Array<Number> indexes)Selects points by indexes. voidselectMarqueeFill()Getter for the select marquee fill. PyramidselectMarqueeFill(Fill color)Setter for fill settings using an array, an object or a string. PyramidselectMarqueeFill(GradientKey color)Setter for fill settings using an array, an object or a string. PyramidselectMarqueeFill(Array<String> color)Setter for fill settings using an array, an object or a string. PyramidselectMarqueeFill(String color, Number opacity)Fill color with opacity. PyramidselectMarqueeFill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. PyramidselectMarqueeFill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. PyramidselectMarqueeFill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. PyramidselectMarqueeFill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. PyramidselectMarqueeFill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. PyramidselectMarqueeFill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. PyramidselectMarqueeFill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. PyramidselectMarqueeFill(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. PyramidselectMarqueeStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the select marquee stroke. PyramidselectMarqueeStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the select marquee stroke. StateSettingsselected()Getter for selected state settings. Pyramidselected(String settings)Setter for selected state settings. 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. PyramidstartSelectMarquee(Boolean repeat)Starts select marquee drawing. voidstroke()Getter for the pyramid stroke. Pyramidstroke(Stroke value)Setter for the pyramid stroke using a function. Pyramidstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the pyramid stroke. Pyramidstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the pyramid stroke. Pyramidstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the pyramid stroke. Pyramidstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the pyramid stroke. Pyramidstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the pyramid stroke. Pyramidstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the pyramid stroke. Pyramidstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the pyramid stroke. Pyramidstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the pyramid stroke. Pyramidstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the pyramid stroke. Pyramidstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the pyramid stroke. Pyramidstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the pyramid stroke. Pyramidstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the pyramid stroke. Pyramidstroke(String settings)Setter for the pyramid stroke using an object. Titletitle()Getter for the chart title. Pyramidtitle(Boolean settings)Setter for the chart title. Pyramidtitle(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. Tooltiptooltip()Getter for tooltip settings. Pyramidtooltip(String settings)Setter for tooltip settings. Pyramidtooltip(Boolean settings)Setter for tooltip settings. voidtop()Getter for element top bound settings. Pyramidtop(Number top)Setter for element top bound settings. Pyramidtop(String top)Setter for element top bound settings. Pyramidunhover()Removes hover from all chart points. 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(). Pyramidunselect()Deselects all points. voidwidth()Getter for element width settings. Pyramidwidth(Number width)Setter for element width setting. Pyramidwidth(String width)Setter for element width setting. voidzIndex()Getter for the Z-index of the element. PyramidzIndex(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. RectparentBounds()Getter for the parent bounds. PyramidparentBounds(Rect bounds)Setter for the parent bounds using single value. PyramidparentBounds(String bounds)Setter for the parent bounds using single value. PyramidparentBounds(Number bounds)Setter for the parent bounds using single value. PyramidparentBounds(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)Pyramidfill(String value)-
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
-
Pyramid
Pyramid(String jsChart)
-
-
Method Detail
-
instantiate
static Pyramid instantiate()
-
animation
Pyramid 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
Pyramid autoRedraw(Boolean enabled)
Setter for the autoRedraw flag. Flag whether to automatically call chart.draw() on any changes or not.
-
background
Background background()
Getter for the chart background.
-
background
Pyramid background(String settings)
Setter for the chart background.
-
baseWidth
void baseWidth()
Getter for the base width.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bounds
Pyramid bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Pyramid bounds(String x, String y, String width, String height)
Setter for element bounds settings.
-
cancelMarquee
Pyramid cancelMarquee()
Stops current marquee action if any.
-
connectorLength
void connectorLength()
Getter for the outside labels connector length.
-
connectorLength
Pyramid connectorLength(Number length)
Setter for the outside labels connector length.
-
connectorLength
Pyramid connectorLength(String length)
Setter for the outside labels connector length.
-
connectorStroke
void connectorStroke()
Getter for outside labels connectors stroke settings.
-
connectorStroke
Pyramid connectorStroke(Stroke value, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(Stroke value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(String value, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(String value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
connectorStroke
Pyramid connectorStroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for outside labels connectors stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
contextMenu
ContextMenu contextMenu()
Getter for the context menu.
-
contextMenu
Pyramid contextMenu(String settings)
Setter for the context menu.
-
contextMenu
Pyramid contextMenu(Boolean settings)
Setter for the context menu.
-
credits
ChartCredits credits()
Getter for the credits.
-
credits
Pyramid credits(String value)
Setter for the chart credits. {docs:Quick_Start/Credits}Learn more about credits settings.{docs}
-
credits
Pyramid credits(Boolean value)
Setter for the chart credits. {docs:Quick_Start/Credits}Learn more about credits settings.{docs}
-
dispose
void dispose()
Disposes charts.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fill
void fill()
Getter for the pyramid fill.
-
fill
Pyramid fill(Fill fillFunction)
Setter for the pyramid fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Pyramid 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
Pyramid 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
Pyramid fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Pyramid fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Pyramid fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Pyramid fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Pyramid fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Pyramid fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Pyramid 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
Pyramid 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}
-
fullScreen
void fullScreen()
Getter for the fullscreen mode.
-
fullScreen
Pyramid 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.
-
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.
-
globalToLocal
void globalToLocal(Number xCoord, Number yCoord)
Converts the global coordinates to local coordinates. Note: Works only after draw is called.
-
hatchFill
PatternFill hatchFill()
Getter for the hatch fill settings.
-
hatchFill
Pyramid hatchFill(HatchFillType type, String color, Number thickness, Number size)
Setter for the hatch fill settings. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
hatchFill
Pyramid hatchFill(String type, String color, Number thickness, Number size)
Setter for the hatch fill settings. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
hatchFill
Pyramid hatchFill(String hatchFillFunction)
Setter for hatch fill settings using function. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Pyramid hatchFill(PatternFill patternFill)
Setter for hatch fill settings using pattern fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Pyramid hatchFill(HatchFill settings)
Setter for hatch fill settings using an instance. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Pyramid hatchFill(Boolean enabled)
Setter for hatch fill using boolean. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
hatchFillPalette
HatchFills hatchFillPalette()
Getter for hatch fill palette settings.
-
hatchFillPalette
Pyramid hatchFillPalette(Array<HatchFillType> settings)
Setter for hatch fill palette settings.
-
hatchFillPalette
Pyramid hatchFillPalette(String settings)
Setter for hatch fill palette settings.
-
hatchFillPalette
Pyramid hatchFillPalette(HatchFills settings)
Setter for hatch fill palette settings.
-
height
void height()
Getter for element height settings.
-
hovered
StateSettings hovered()
Getter for hovered state settings.
-
id
void id()
Getter for chart id.
-
inMarquee
void inMarquee()
Gets marquee process running value.
-
interactivity
Interactivity interactivity()
Getter for interactivity settings for the chart.
-
interactivity
Pyramid interactivity(String settings)
Setter for interactivity settings for the chart.
-
interactivity
Pyramid interactivity(HoverMode settings)
Setter for interactivity settings for the chart.
-
isFullScreenAvailable
void isFullScreenAvailable()
Whether the fullscreen mode available in the browser or not.
-
labels
LabelsFactory labels()
Getter for the pyramid labels.
-
left
void left()
Getter for element left bound settings.
-
localToGlobal
void localToGlobal(Number xCoord, Number yCoord)
Converts the local coordinates to global coordinates. Note: Works only after draw is called.
-
margin
Pyramid margin(Array<Number> margin)
Setter for the chart margin in pixels using a single complex object.
-
margin
Pyramid margin(Array<String> margin)
Setter for the chart margin in pixels using a single complex object.
-
margin
Pyramid margin(String margin)
Setter for the chart margin in pixels using a single complex object.
-
margin
Pyramid margin(String value1, String value2, String value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(String value1, String value2, String value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(String value1, String value2, Number value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(String value1, String value2, Number value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(String value1, Number value2, String value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(String value1, Number value2, String value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(String value1, Number value2, Number value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(String value1, Number value2, Number value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(Number value1, String value2, String value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(Number value1, String value2, String value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(Number value1, String value2, Number value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(Number value1, String value2, Number value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(Number value1, Number value2, String value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(Number value1, Number value2, String value3, Number value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid margin(Number value1, Number value2, Number value3, String value4)
Setter for the chart margin in pixels using several simple values.
-
margin
Pyramid 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 chart markers palette settings.
-
markerPalette
Pyramid markerPalette(Markers settings)
Setter for the chart markers palette settings.
-
markerPalette
Pyramid markerPalette(String settings)
Setter for the chart markers palette settings.
-
markerPalette
Pyramid markerPalette(MarkerType settings)
Setter for the chart markers palette settings.
-
markerPalette
Pyramid markerPalette(Array<String> settings)
Setter for the chart markers palette settings.
-
markers
MarkersFactory markers()
Getter for data markers.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minWidth
void minWidth()
Getter for the minimum width.
-
noData
NoDataSettings noData()
Getter for noData settings.
-
noData
Pyramid noData(String settings)
Setter for noData settings. {docs:Working_with_Data/No_Data_Label} Learn more about "No data" feature {docs}
-
normal
StateSettings normal()
Getter for normal state settings.
-
overlapMode
void overlapMode()
Getter for overlap mode for labels.
-
overlapMode
Pyramid overlapMode(LabelsOverlapMode settings)
Setter for overlap mode for labels.
-
overlapMode
Pyramid overlapMode(String settings)
Setter for overlap mode for labels.
-
overlapMode
Pyramid overlapMode(Boolean settings)
Setter for overlap mode for labels.
-
padding
Pyramid padding(Array<Number> padding)
Setter for the chart paddings in pixels using a single value.
-
padding
Pyramid padding(Array<String> padding)
Setter for the chart paddings in pixels using a single value.
-
padding
Pyramid padding(String padding)
Setter for the chart paddings in pixels using a single value.
-
padding
Pyramid padding(String value1, String value2, String value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(String value1, String value2, String value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(String value1, String value2, Number value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(String value1, String value2, Number value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(String value1, Number value2, String value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(String value1, Number value2, String value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(String value1, Number value2, Number value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(String value1, Number value2, Number value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(Number value1, String value2, String value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(Number value1, String value2, String value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(Number value1, String value2, Number value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(Number value1, String value2, Number value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(Number value1, Number value2, String value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(Number value1, Number value2, String value3, Number value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid padding(Number value1, Number value2, Number value3, String value4)
Setter for the chart paddings in pixels using several numbers.
-
padding
Pyramid 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 pyramid palette.
-
palette
Pyramid palette(RangeColors settings)
Setter for the pyramid palette.Note: You can use predefined palettes from anychart.palettes.
-
palette
Pyramid palette(DistinctColors settings)
Setter for the pyramid palette.Note: You can use predefined palettes from anychart.palettes.
-
palette
Pyramid palette(String settings)
Setter for the pyramid palette.Note: You can use predefined palettes from anychart.palettes.
-
palette
Pyramid palette(Array<String> settings)
Setter for the pyramid palette.Note: You can use predefined palettes from anychart.palettes.
-
pointsPadding
void pointsPadding()
Getter for the padding between points.
-
pointsPadding
Pyramid pointsPadding(String padding)
Setter for the padding between points.
-
pointsPadding
Pyramid pointsPadding(Number padding)
Setter for the padding between points.
-
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.
-
reversed
void reversed()
Getter for the reversing of the pyramid.
-
right
void right()
Getter for element right bound settings.
-
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.
-
select
Pyramid select(Array<Number> indexes)
Selects points by indexes. Note: Works only after draw is called.
-
selectMarqueeFill
void selectMarqueeFill()
Getter for the select marquee fill.
-
selectMarqueeFill
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid selectMarqueeFill(String color, Number opacity)
Fill color with opacity. Fill as a string or an object.
-
selectMarqueeFill
Pyramid selectMarqueeFill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
Pyramid selectMarqueeFill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
Pyramid selectMarqueeFill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
Pyramid selectMarqueeFill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
Pyramid selectMarqueeFill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
Pyramid selectMarqueeFill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
selectMarqueeFill
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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}
-
selected
StateSettings selected()
Getter for selected state settings.
-
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
Pyramid startSelectMarquee(Boolean repeat)
Starts select marquee drawing. Note: Works only after draw is called.
-
stroke
void stroke()
Getter for the pyramid stroke.
-
stroke
Pyramid stroke(Stroke value)
Setter for the pyramid stroke using a function. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Pyramid stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the pyramid stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
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.
-
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.
-
zIndex
void zIndex()
Getter 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.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Pyramid 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
Pyramid 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
Pyramid 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
Pyramid 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)
-
-
-
-