/** * Setter for element bounds settings. */ public com.anychart.core.mekko.series.Mekko bounds(String x, Number y, String width, String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", wrapQuotes(x), y, wrapQuotes(width), wrapQuotes(height))); return this; } /**
/** * Setter for element bounds settings. */ public com.anychart.core.mekko.series.Mekko bounds(String x, String y, String width, Number height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", wrapQuotes(x), wrapQuotes(y), wrapQuotes(width), height)); return this; } /**
/** * Setter for element bounds settings. */ public com.anychart.core.mekko.series.Mekko bounds(String x, Number y, String width, Number height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", wrapQuotes(x), y, wrapQuotes(width), height)); return this; } /**
/** * Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.core.mekko.series.Mekko stroke(String color, Number thickness, String dashpattern, String lineJoin, com.anychart.graphics.vector.StrokeLineCap lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".stroke(%s, %s, %s, %s, %s);", wrapQuotes(color), thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), (lineCap != null) ? lineCap.getJsBase() : null)); return this; } /**
/** * Setter for element bounds settings. */ public com.anychart.core.mekko.series.Mekko bounds(Number x, String y, Number width, String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", x, wrapQuotes(y), width, wrapQuotes(height))); return this; } /**
/** * Setter for element left bound settings. */ public com.anychart.core.mekko.series.Mekko left(String left) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".left(%s);", wrapQuotes(left))); return this; } /**
/** * Setter for maximum labels. */ public com.anychart.core.mekko.series.Mekko maxLabels(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".maxLabels(%s);", wrapQuotes(settings))); return this; } /**
/** * Prints all elements on related stage. */ public void print(String paperSizeOrOptions, Boolean landscape) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".print(%s, %s);", wrapQuotes(paperSizeOrOptions), landscape)); } /**
/** * Setter for switching of the series type. */ public com.anychart.core.mekko.series.Mekko seriesType(String type) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".seriesType(%s);", wrapQuotes(type))); return this; } /**
/** * Transforms Y value to pixel coordinates. <b>Note:</b> Works only after {@link anychart.charts.Cartesian#draw} is called. */ public void transformY(String value, Number subRangeRatio) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".transformY(%s, %s);", wrapQuotes(value), subRangeRatio)); } /**
/** * Setter for the container. */ public com.anychart.core.mekko.series.Mekko container(String element) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".container(%s);", wrapQuotes(element))); return this; } /**
/** * */ public com.anychart.core.mekko.series.Mekko fill(String value) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".fill(%s);", wrapQuotes(value))); return this; }
/** * Setter for hovered state settings. */ public com.anychart.core.mekko.series.Mekko hovered(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".hovered(%s);", wrapQuotes(settings))); return this; } /**
/** * */ public com.anychart.core.mekko.series.Mekko legendItem(String value) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".legendItem(%s);", wrapQuotes(value))); return this; } /**
/** * Setter for the minimum width. */ public com.anychart.core.mekko.series.Mekko minWidth(String width) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".minWidth(%s);", wrapQuotes(width))); return this; } /**
/** * */ public com.anychart.core.mekko.series.Mekko name(String value) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".name(%s);", wrapQuotes(value))); 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))); } /**
/** * Setter for element top bound settings. */ public com.anychart.core.mekko.series.Mekko top(String top) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".top(%s);", wrapQuotes(top))); return this; } /**
/** * Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.core.mekko.series.Mekko stroke(com.anychart.graphics.vector.ColoredFill color, Number thickness, String dashpattern, String lineJoin, com.anychart.graphics.vector.StrokeLineCap lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".stroke(%s, %s, %s, %s, %s);", (color != null) ? color.getJsBase() : null, thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), (lineCap != null) ? lineCap.getJsBase() : null)); return this; } /**
/** * Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.core.mekko.series.Mekko stroke(com.anychart.graphics.vector.Stroke 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 + ".stroke(%s, %s, %s, %s, %s);", (color != null) ? color.getJsBase() : null, thickness, wrapQuotes(dashpattern), (lineJoin != null) ? lineJoin.getJsBase() : null, (lineCap != null) ? lineCap.getJsBase() : null)); return this; } /**