public static Line instantiate() { return new Line("new anychart.core.scatter.series.line()"); }
/** * */ 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))); } /**
/** * Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.core.scatter.series.Line stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".stroke(%s, %s, %s, %s, %s);", wrapQuotes(color), thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), wrapQuotes(lineCap))); 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))); } /**
}; LinearGradientStroke linearGradientStroke = new LinearGradientStroke(0d, null, gradientKey, null, null, true, 1d, 2d); scatterSeriesLine.stroke(linearGradientStroke, 3d, null, (String) null, (String) null);
/** * Setter for element bounds settings. */ public com.anychart.core.scatter.series.Line 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; } /**
/** * */ public com.anychart.data.View data(List<DataEntry> data, com.anychart.enums.TreeFillingMethod fillMethod) { return new com.anychart.data.View(String.format(Locale.US, jsBase + ".data(%s, %s)", arrayToString(data), (fillMethod != null) ? fillMethod.getJsBase() : null)); } /**
/** * Setter for element bounds settings. */ public com.anychart.core.scatter.series.Line 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; } /**
/** * */ public com.anychart.core.scatter.series.Line line(com.anychart.data.View data) { return new com.anychart.core.scatter.series.Line(String.format(Locale.US, jsBase + ".line(%s)", (data != null) ? data.getJsBase() : null)); } /**
/** * Setter for element bounds settings. */ public com.anychart.core.scatter.series.Line 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.core.scatter.series.Line line(List<DataEntry> data) { return new com.anychart.core.scatter.series.Line(String.format(Locale.US, jsBase + ".line(%s)", arrayToString(data))); } /**
/** * Setter for element bounds settings. */ public com.anychart.core.scatter.series.Line bounds(Number x, String y, String width, String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", x, wrapQuotes(y), wrapQuotes(width), wrapQuotes(height))); return this; } /**
/** * Setter for element bounds settings. */ public com.anychart.core.scatter.series.Line bounds(String x, String y, Number width, String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", wrapQuotes(x), wrapQuotes(y), width, wrapQuotes(height))); return this; } /**
/** * Setter for element bounds settings. */ public com.anychart.core.scatter.series.Line 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 element bounds settings. */ public com.anychart.core.scatter.series.Line bounds(Number x, String y, String width, Number height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", x, wrapQuotes(y), wrapQuotes(width), height)); return this; } /**
/** * */ public com.anychart.core.scatter.series.Line meta(String key, String value) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".meta(%s, %s);", wrapQuotes(key), wrapQuotes(value))); return this; } /**
/** * Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.core.scatter.series.Line stroke(com.anychart.graphics.vector.Stroke color, Number thickness, String dashpattern, String lineJoin, String 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), wrapQuotes(lineCap))); return this; } /**
/** * Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.core.scatter.series.Line stroke(com.anychart.graphics.vector.ColoredFill color, Number thickness, String dashpattern, String lineJoin, String 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), wrapQuotes(lineCap))); return this; } /**
/** * Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.core.scatter.series.Line 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.scatter.series.Line bounds(Number x, Number y, String width, String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", x, y, wrapQuotes(width), wrapQuotes(height))); return this; } /**