/** * Setter for the chart paddings in pixels using several numbers. */ public com.anychart.charts.Stock padding(String value1, Number value2, String value3, String value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s);", wrapQuotes(value1), value2, wrapQuotes(value3), wrapQuotes(value4))); return this; } /**
/** * Setter for the chart paddings in pixels using several numbers. */ public com.anychart.charts.Stock padding(String value1, String value2, Number value3, Number value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s);", wrapQuotes(value1), wrapQuotes(value2), value3, value4)); return this; } /**
/** * Setter for the chart paddings in pixels using several numbers. */ public com.anychart.charts.Stock padding(Number value1, String value2, Number value3, String value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s);", value1, wrapQuotes(value2), value3, wrapQuotes(value4))); return this; } /**
/** * Setter for the chart paddings in pixels using several numbers. */ public com.anychart.charts.Stock padding(Number value1, Number value2, String value3, String value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s);", value1, value2, wrapQuotes(value3), wrapQuotes(value4))); return this; } /**
/** * Saves the current chart as PDF image. */ public void saveAsPdf(String paperSizeOrWidthOrOptions, Boolean landscape, Number x, Number y, String filename) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".saveAsPdf(%s, %s, %s, %s, %s);", wrapQuotes(paperSizeOrWidthOrOptions), landscape, x, y, wrapQuotes(filename))); } /**
/** * Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.charts.Stock selectMarqueeStroke(com.anychart.graphics.vector.ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".selectMarqueeStroke(%s, %s, %s, %s, %s);", (color != null) ? color.getJsBase() : null, thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), wrapQuotes(lineCap))); return this; } /**
/** * Setter for the chart credits. {docs:Quick_Start/Credits}Learn more about credits settings.{docs} */ public com.anychart.charts.Stock credits(String value) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".credits(%s);", wrapQuotes(value))); return this; } /**
/** * Getter for a statistical value by the key. */ public void getStat(String key) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".getStat(%s);", wrapQuotes(key))); } /**
/** * Setter for element left bound settings. */ public com.anychart.charts.Stock left(String left) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".left(%s);", wrapQuotes(left))); return this; } /**
/** * Setter for the chart margin in pixels using several simple values. */ public com.anychart.charts.Stock margin(String value1, Number value2, Number value3, Number value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".margin(%s, %s, %s, %s);", wrapQuotes(value1), value2, value3, value4)); return this; } /**
/** * Setter for the maximum height. */ public com.anychart.charts.Stock maxHeight(String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".maxHeight(%s);", wrapQuotes(height))); return this; } /**
/** * Setter for the minimum width. */ public com.anychart.charts.Stock minWidth(String width) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".minWidth(%s);", wrapQuotes(width))); return this; } /**
/** * Setter for the chart paddings in pixels using several numbers. */ public com.anychart.charts.Stock padding(Number value1, String value2, Number value3, Number value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s);", value1, wrapQuotes(value2), value3, value4)); return this; } /**
/** * Removes all listeners from an object. You can also optionally remove listeners of some particular type. */ public void removeAllListeners(String type) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".removeAllListeners(%s);", wrapQuotes(type))); } /**
/** * Returns SVG string with paper size and landscape. */ public void toSvg(String paperSize, Boolean landscape) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".toSvg(%s, %s);", wrapQuotes(paperSize), landscape)); } /**
/** * Setter for crosshair settings.<br/> The plot crosshair settings have a higher priority than the chart crosshair settings. */ public com.anychart.charts.Stock crosshair(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".crosshair(%s);", wrapQuotes(settings))); return this; } /**
/** * Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.charts.Stock selectMarqueeStroke(com.anychart.graphics.vector.Stroke color, Number thickness, String dashpattern, String lineJoin, com.anychart.graphics.vector.StrokeLineCap lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".selectMarqueeStroke(%s, %s, %s, %s, %s);", (color != null) ? color.getJsBase() : null, thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), (lineCap != null) ? lineCap.getJsBase() : null)); return this; } /**
/** * Setter for the zoom marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.charts.Stock zoomMarqueeStroke(com.anychart.graphics.vector.Stroke color, Number thickness, String dashpattern, com.anychart.graphics.vector.StrokeLineJoin lineJoin, String lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".zoomMarqueeStroke(%s, %s, %s, %s, %s);", (color != null) ? color.getJsBase() : null, thickness, wrapQuotes(dashpattern), (lineJoin != null) ? lineJoin.getJsBase() : null, wrapQuotes(lineCap))); return this; } /**
/** * Setter for the zoom marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.charts.Stock zoomMarqueeStroke(com.anychart.graphics.vector.ColoredFill color, Number thickness, String dashpattern, com.anychart.graphics.vector.StrokeLineJoin lineJoin, String lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".zoomMarqueeStroke(%s, %s, %s, %s, %s);", (color != null) ? color.getJsBase() : null, thickness, wrapQuotes(dashpattern), (lineJoin != null) ? lineJoin.getJsBase() : null, wrapQuotes(lineCap))); return this; } /**
/** * Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.charts.Stock zoomMarqueeFill(com.anychart.graphics.vector.GradientKey keys, Number angle, String mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".zoomMarqueeFill(%s, %s, %s, %s);", (keys != null) ? keys.getJsBase() : null, angle, wrapQuotes(mode), opacity)); return this; } /**