/** * Setter for custom items. */ public com.anychart.core.ui.Legend items(com.anychart.core.ui.legend.LegendItemProvider[] itemsList) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".items(%s);", arrayToString(itemsList))); return this; } /**
/** * Setter for items formatter. */ public com.anychart.core.ui.Legend itemsFormatter(com.anychart.core.ui.legend.LegendItemProvider[] formatterFunction) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".itemsFormatter(%s);", arrayToString(formatterFunction))); return this; } /**