/** * */ public com.anychart.data.Tree data(List<DataEntry> data) { return new com.anychart.data.Tree(String.format(Locale.US, jsBase + ".data(%s)", arrayToString(data))); } /**
/** * */ public com.anychart.data.Tree data(List<DataEntry> data, String fillMethod) { return new com.anychart.data.Tree(String.format(Locale.US, jsBase + ".data(%s, %s)", arrayToString(data), wrapQuotes(fillMethod))); } /**
/** * */ public com.anychart.data.Tree data(List<DataEntry> data, com.anychart.enums.TreeFillingMethod fillMethod) { return new com.anychart.data.Tree(String.format(Locale.US, jsBase + ".data(%s, %s)", arrayToString(data), (fillMethod != null) ? fillMethod.getJsBase() : null)); } /**
/** * Setter for hatch fill palette settings.<br/> <b>Note:</b> Works only with {@link anychart.charts.Sunburst#hatchFill} method. */ public com.anychart.charts.Sunburst hatchFillPalette(com.anychart.graphics.vector.hatchfill.HatchFillType[] settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".hatchFillPalette(%s);", arrayToString(settings))); return this; } /**