public class DataLabels extends BaseDataLabels<DataLabels>
PlotOptions.setDataLabels(org.moxieapps.gwt.highcharts.client.labels.DataLabels) method).
Note that PlotOptions can then be applied either to the entire chart (via the
BaseChart.setSeriesPlotOptions(org.moxieapps.gwt.highcharts.client.plotOptions.SeriesPlotOptions)
method), or to a specific data series (via the Series.setPlotOptions(PlotOptions)
method).
Example usage:
chart.setSeriesPlotOptions(
new SeriesPlotOptions()
.setDataLabels(
new DataLabels()
.setEnabled(true)
.setAlign(Labels.Align.CENTER)
.setColor("#CC0000")
)
);
Labels.Align, Labels.VerticalAlign| Constructor and Description |
|---|
DataLabels() |
getFormatter, setBackgroundColor, setBorderColor, setBorderRadius, setBorderWidth, setFormat, setFormatter, setPadding, setShadow, setUseHTMLsetAlign, setColor, setEnabled, setRotation, setStyle, setVerticalAlign, setX, setYgetOptions, setOptionCopyright © 2015. All Rights Reserved.