/** * */ public com.anychart.core.utils.LegendItemSettings legendItem() { return new com.anychart.core.utils.LegendItemSettings(jsBase + ".legendItem()"); } /**
/** * Setter for icon marker stroke settings. */ public com.anychart.core.utils.LegendItemSettings iconMarkerStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconMarkerStroke(%s, %s, %s, %s, %s);", wrapQuotes(color), thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), wrapQuotes(lineCap))); return this; } /**
/** * Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.core.utils.LegendItemSettings iconFill(String[] keys, Number angle, String mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconFill(%s, %s, %s, %s);", arrayToStringWrapQuotes(keys), angle, wrapQuotes(mode), opacity)); return this; } /**
/** * Linear gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.core.utils.LegendItemSettings iconMarkerFill(String[] keys, Number angle, Boolean mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconMarkerFill(%s, %s, %s, %s);", arrayToStringWrapQuotes(keys), angle, mode, opacity)); return this; } /**
.format("{%name}"); citiesSeries.legendItem().enabled(false);
/** * Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.core.utils.LegendItemSettings iconStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconStroke(%s, %s, %s, %s, %s);", wrapQuotes(color), thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), wrapQuotes(lineCap))); return this; } /**
/** * Linear gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.core.utils.LegendItemSettings iconMarkerFill(String[] keys, Number angle, String mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconMarkerFill(%s, %s, %s, %s);", arrayToStringWrapQuotes(keys), angle, wrapQuotes(mode), opacity)); return this; } /**
/** * Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.core.utils.LegendItemSettings iconFill(String[] color) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconFill(%s);", arrayToStringWrapQuotes(color))); return this; } /**
/** * */ public com.anychart.core.utils.LegendItemSettings legendItem() { return new com.anychart.core.utils.LegendItemSettings(jsBase + ".legendItem()"); } /**
/** * Setter for icon marker stroke settings. */ public com.anychart.core.utils.LegendItemSettings iconMarkerStroke(String color, Number thickness, String dashpattern, String lineJoin, com.anychart.graphics.vector.StrokeLineCap lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconMarkerStroke(%s, %s, %s, %s, %s);", wrapQuotes(color), thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), (lineCap != null) ? lineCap.getJsBase() : null)); return this; } /**
/** * Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.core.utils.LegendItemSettings iconFill(String[] keys, Number angle, Boolean mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconFill(%s, %s, %s, %s);", arrayToStringWrapQuotes(keys), angle, mode, opacity)); return this; } /**
/** * */ public com.anychart.core.utils.LegendItemSettings legendItem() { return new com.anychart.core.utils.LegendItemSettings(jsBase + ".legendItem()"); } /**
/** * Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs} */ public com.anychart.core.utils.LegendItemSettings iconStroke(String color, Number thickness, String dashpattern, String lineJoin, com.anychart.graphics.vector.StrokeLineCap lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconStroke(%s, %s, %s, %s, %s);", wrapQuotes(color), thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), (lineCap != null) ? lineCap.getJsBase() : null)); return this; } /**
/** * Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.core.utils.LegendItemSettings iconFill(String[] keys, Number angle, com.anychart.graphics.vector.Rect mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconFill(%s, %s, %s, %s);", arrayToStringWrapQuotes(keys), angle, (mode != null) ? mode.getJsBase() : null, opacity)); return this; } /**
/** * */ public com.anychart.core.utils.LegendItemSettings legendItem() { return new com.anychart.core.utils.LegendItemSettings(jsBase + ".legendItem()"); } /**
/** * Setter for the text appearance settings. */ public com.anychart.core.utils.LegendItemSettings textSettings(String name, String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".textSettings(%s, %s);", wrapQuotes(name), wrapQuotes(settings))); return this; } /**
/** * Radial gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.core.utils.LegendItemSettings iconFill(String[] keys, Number cx, Number cy, com.anychart.graphics.math.Rect mode, Number opacity, Number fx, Number fy) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconFill(%s, %s, %s, %s, %s, %s, %s);", arrayToStringWrapQuotes(keys), cx, cy, (mode != null) ? mode.getJsBase() : null, opacity, fx, fy)); return this; } /**
/** * */ public com.anychart.core.utils.LegendItemSettings legendItem() { return new com.anychart.core.utils.LegendItemSettings(jsBase + ".legendItem()"); } /**
/** * Setter for icon marker stroke settings. */ public com.anychart.core.utils.LegendItemSettings iconMarkerStroke(String color, Number thickness, String dashpattern, com.anychart.graphics.vector.StrokeLineJoin lineJoin, String lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconMarkerStroke(%s, %s, %s, %s, %s);", wrapQuotes(color), thickness, wrapQuotes(dashpattern), (lineJoin != null) ? lineJoin.getJsBase() : null, wrapQuotes(lineCap))); return this; } /**
/** * Radial gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs} */ public com.anychart.core.utils.LegendItemSettings iconMarkerFill(String[] keys, Number cx, Number cy, com.anychart.graphics.math.Rect mode, Number opacity, Number fx, Number fy) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".iconMarkerFill(%s, %s, %s, %s, %s, %s, %s);", arrayToStringWrapQuotes(keys), cx, cy, (mode != null) ? mode.getJsBase() : null, opacity, fx, fy)); return this; } /**