diff --git a/anychart/src/main/java/com/anychart/core/stock/Plot.java b/anychart/src/main/java/com/anychart/core/stock/Plot.java index c433d031..6a4cd23b 100644 --- a/anychart/src/main/java/com/anychart/core/stock/Plot.java +++ b/anychart/src/main/java/com/anychart/core/stock/Plot.java @@ -1017,6 +1017,12 @@ public com.anychart.core.stock.Plot legend(Boolean value) { return this; } + /** + * + */ + public com.anychart.core.stock.series.Line line(com.anychart.data.Table data) { + return new com.anychart.core.stock.series.Line(String.format(Locale.US, jsBase + ".line(%s)", (data != null) ? data.getJsBase() : null)); + } /** * Getter for the plot line marker. */ @@ -2295,12 +2301,6 @@ public com.anychart.core.stock.Plot parentBounds(Number left, Number top, Number public com.anychart.core.stock.series.Area area(com.anychart.data.TableMapping data) { return new com.anychart.core.stock.series.Area(String.format(Locale.US, jsBase + ".area(%s)", (data != null) ? data.getJsBase() : null)); } - /** - * - */ - public com.anychart.core.stock.series.Line line(com.anychart.data.Table data) { - return new com.anychart.core.stock.series.Line(String.format(Locale.US, jsBase + ".line(%s)", (data != null) ? data.getJsBase() : null)); - } /** * */ diff --git a/anychart/src/main/java/com/anychart/core/stock/Scroller.java b/anychart/src/main/java/com/anychart/core/stock/Scroller.java index 558a8183..878a6412 100644 --- a/anychart/src/main/java/com/anychart/core/stock/Scroller.java +++ b/anychart/src/main/java/com/anychart/core/stock/Scroller.java @@ -806,6 +806,12 @@ public com.anychart.core.stock.indicators.KeltnerChannels keltnerChannels(com.an public com.anychart.core.stock.indicators.KeltnerChannels keltnerChannels(com.anychart.data.TableMapping mapping, Number maPeriod, Number atrPeriod, String maType, Number multiplier, String maSeries) { return new com.anychart.core.stock.indicators.KeltnerChannels(String.format(Locale.US, jsBase + ".keltnerChannels(%s, %s, %s, %s, %s, %s)", (mapping != null) ? mapping.getJsBase() : null, maPeriod, atrPeriod, wrapQuotes(maType), multiplier, wrapQuotes(maSeries))); } + /** + * + */ + public com.anychart.core.stock.scrollerseries.Line line(com.anychart.data.Table data) { + return new com.anychart.core.stock.scrollerseries.Line(String.format(Locale.US, jsBase + ".line(%s)", (data != null) ? data.getJsBase() : null)); + } /** * Creates MACD (Moving Average Convergence Divergence) indicator on the scroller. */ @@ -1842,6 +1848,12 @@ public com.anychart.core.stock.Scroller parentBounds(Number left, Number top, Nu public com.anychart.core.stock.scrollerseries.Area area(com.anychart.data.TableMapping data) { return new com.anychart.core.stock.scrollerseries.Area(String.format(Locale.US, jsBase + ".area(%s)", (data != null) ? data.getJsBase() : null)); } + /** + * + */ + public com.anychart.core.stock.scrollerseries.Line line(com.anychart.data.TableMapping data) { + return new com.anychart.core.stock.scrollerseries.Line(String.format(Locale.US, jsBase + ".line(%s)", (data != null) ? data.getJsBase() : null)); + } /** * */