/** * Setter for the chart paddings in pixels using several numbers. */ public com.anychart.charts.TagCloud padding(String value1, String value2, String value3, String value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s);", wrapQuotes(value1), wrapQuotes(value2), wrapQuotes(value3), wrapQuotes(value4))); return this; } /**
/** * Setter for the chart margin in pixels using several simple values. */ public com.anychart.charts.TagCloud margin(String value1, Number value2, String value3, String value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".margin(%s, %s, %s, %s);", wrapQuotes(value1), value2, wrapQuotes(value3), wrapQuotes(value4))); return this; } /**
/** * Setter for the chart label. */ public com.anychart.charts.TagCloud label(String index, String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".label(%s, %s);", wrapQuotes(index), wrapQuotes(settings))); return this; } /**
/** * Setter for the chart paddings in pixels using several numbers. */ public com.anychart.charts.TagCloud padding(String value1, Number value2, Number value3, String value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s);", wrapQuotes(value1), value2, value3, wrapQuotes(value4))); return this; } /**
/** * Saves the current chart as PNG image. */ public void saveAsPng(String width, Number height, Number quality, String filename) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".saveAsPng(%s, %s, %s, %s);", wrapQuotes(width), height, quality, wrapQuotes(filename))); } /**
/** * Saves the current chart as SVG image. */ public void saveAsSvg(String paperSize, Boolean landscape, String filename) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".saveAsSvg(%s, %s, %s);", wrapQuotes(paperSize), landscape, wrapQuotes(filename))); } /**
/** * Opens LinkedIn sharing dialog. */ public void shareWithLinkedIn(String captionOrOptions, String description) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".shareWithLinkedIn(%s, %s);", wrapQuotes(captionOrOptions), wrapQuotes(description))); } /**
/** * Setter for the select marquee stroke. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.charts.TagCloud selectMarqueeStroke(String 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);", wrapQuotes(color), thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), (lineCap != null) ? lineCap.getJsBase() : null)); return this; } /**
/** * Setter for element bottom bound settings. */ public com.anychart.charts.TagCloud bottom(String bottom) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bottom(%s);", wrapQuotes(bottom))); return this; } /**
/** * Setter for element bounds settings. */ public com.anychart.charts.TagCloud bounds(Number x, Number y, Number width, String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", x, y, width, wrapQuotes(height))); return this; } /**
/** * Setter for element bounds settings. */ public com.anychart.charts.TagCloud bounds(String x, Number y, Number width, Number height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", wrapQuotes(x), y, width, height)); return this; } /**
/** * Setter for chart id. */ public com.anychart.charts.TagCloud id(String id) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".id(%s);", wrapQuotes(id))); return this; } /**
/** * Setter for the maximum height. */ public com.anychart.charts.TagCloud maxHeight(String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".maxHeight(%s);", wrapQuotes(height))); return this; } /**
/** * Setter for the maximum width. */ public com.anychart.charts.TagCloud maxWidth(String width) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".maxWidth(%s);", wrapQuotes(width))); return this; } /**
/** * Setter for noData settings.<br/> {docs:Working_with_Data/No_Data_Label} Learn more about "No data" feature {docs} */ public com.anychart.charts.TagCloud noData(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".noData(%s);", wrapQuotes(settings))); return this; } /**
/** * Setter for normal state settings. */ public com.anychart.charts.TagCloud normal(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".normal(%s);", wrapQuotes(settings))); return this; } /**
/** * Setter for the chart paddings in pixels using a single value. */ public com.anychart.charts.TagCloud padding(String padding) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".padding(%s);", wrapQuotes(padding))); return this; } /**
/** * Setter for the chart paddings in pixels using several numbers. */ public com.anychart.charts.TagCloud padding(String value1, Number value2, Number value3, Number value4) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s);", wrapQuotes(value1), value2, value3, value4)); return this; } /**
/** * Setter for selected state settings. */ public com.anychart.charts.TagCloud selected(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".selected(%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.TagCloud selectMarqueeStroke(String color, Number thickness, String dashpattern, com.anychart.graphics.vector.StrokeLineJoin lineJoin, com.anychart.graphics.vector.StrokeLineCap lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".selectMarqueeStroke(%s, %s, %s, %s, %s);", wrapQuotes(color), thickness, wrapQuotes(dashpattern), (lineJoin != null) ? lineJoin.getJsBase() : null, (lineCap != null) ? lineCap.getJsBase() : null)); return this; } /**