/** * Setter for element bounds settings. */ public com.anychart.core.scatter.series.Base bounds(String x, String y, String width, String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", wrapQuotes(x), wrapQuotes(y), wrapQuotes(width), wrapQuotes(height))); return this; } /**
/** * Setter for element bounds settings. */ public com.anychart.core.scatter.series.Base 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.scatter.series.Base bounds(String x, String y, Number width, Number height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", wrapQuotes(x), wrapQuotes(y), width, height)); return this; } /**
/** * */ public com.anychart.core.scatter.series.Base labels(String value) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".labels(%s);", wrapQuotes(value))); 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 element top bound settings. */ public com.anychart.core.scatter.series.Base top(String top) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".top(%s);", wrapQuotes(top))); return this; } /**
/** * Transforms X value to pixel coordinates. <b>Note:</b> Works only after {@link anychart.charts.Scatter#draw} is called. */ public void transformX(String xValue) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".transformX(%s);", wrapQuotes(xValue))); } /**
/** * Setter for the series Y-scale. */ public com.anychart.core.scatter.series.Base yScale(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".yScale(%s);", wrapQuotes(settings))); return this; } /**
/** * Setter for series data markers. */ public com.anychart.core.scatter.series.Base markers(String value) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".markers(%s);", wrapQuotes(value))); return this; } /**
/** * Setter for element bounds settings. */ public com.anychart.core.scatter.series.Base 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 left bound settings. */ public com.anychart.core.scatter.series.Base left(String left) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".left(%s);", wrapQuotes(left))); return this; } /**
/** * Setter for the maximum width. */ public com.anychart.core.scatter.series.Base maxWidth(String width) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".maxWidth(%s);", wrapQuotes(width))); return this; } /**
/** * Setter for the minimum height. */ public com.anychart.core.scatter.series.Base minHeight(String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".minHeight(%s);", wrapQuotes(height))); return this; } /**
/** * Allows to select points of the series. To select multiple points, press 'ctrl' and click on them. */ public com.anychart.core.scatter.series.Base selectionMode(String value) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".selectionMode(%s);", wrapQuotes(value))); return this; } /**
/** * Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). */ public void unlistenByKey(String key) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".unlistenByKey(%s);", wrapQuotes(key))); } /**
/** * Setter for the color scale. */ public com.anychart.core.scatter.series.Base colorScale(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".colorScale(%s);", wrapQuotes(settings))); return this; } /**
/** * Setter for the maximum height. */ public com.anychart.core.scatter.series.Base maxHeight(String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".maxHeight(%s);", wrapQuotes(height))); return this; } /**
/** * Setter for selected state settings. */ public com.anychart.core.scatter.series.Base selected(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".selected(%s);", wrapQuotes(settings))); return this; } /**
/** * */ public com.anychart.core.scatter.series.Base tooltip(String value) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".tooltip(%s);", wrapQuotes(value))); return this; } /**
/** * */ public com.anychart.data.View data(List<DataEntry> data, String fillMethod) { return new com.anychart.data.View(String.format(Locale.US, jsBase + ".data(%s, %s)", arrayToString(data), wrapQuotes(fillMethod))); } /**