public static Mekko instantiate() { return new Mekko("new anychart.core.mekko.series.mekko()"); }
/** * 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; } /**
/** * */ public com.anychart.data.View data(List<DataEntry> data) { return new com.anychart.data.View(String.format(Locale.US, jsBase + ".data(%s)", arrayToString(data))); } /**
/** * Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.core.mekko.series.Mekko fill(String[] keys, Number angle, Boolean mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".fill(%s, %s, %s, %s);", arrayToStringWrapQuotes(keys), angle, mode, opacity)); 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; } /**
/** * Gets series by its id. */ public com.anychart.core.mekko.series.Mekko getSeries(Number id) { return new com.anychart.core.mekko.series.Mekko(String.format(Locale.US, jsBase + ".getSeries(%s)", id)); } /**
/** * 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; } /**
/** * Getter for the series by its index. */ public com.anychart.core.mekko.series.Mekko getSeriesAt(Number index) { return new com.anychart.core.mekko.series.Mekko(String.format(Locale.US, jsBase + ".getSeriesAt(%s)", index)); } /**
/** * 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; } /**
/** * Gets series by its id. */ public com.anychart.core.mekko.series.Mekko getSeries(String id) { return new com.anychart.core.mekko.series.Mekko(String.format(Locale.US, jsBase + ".getSeries(%s)", wrapQuotes(id))); } /**
/** * 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; } /**
/** * */ public com.anychart.core.mekko.series.Mekko mekko(com.anychart.data.View data) { return new com.anychart.core.mekko.series.Mekko(String.format(Locale.US, jsBase + ".mekko(%s)", (data != null) ? data.getJsBase() : null)); } /**
/** * 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 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; } /**