org.moxieapps.gwt.highcharts.client.labels
Class DataLabels
java.lang.Object
org.moxieapps.gwt.highcharts.client.Configurable<T>
org.moxieapps.gwt.highcharts.client.labels.Labels<T>
org.moxieapps.gwt.highcharts.client.labels.BaseDataLabels<DataLabels>
org.moxieapps.gwt.highcharts.client.labels.DataLabels
public class DataLabels
- extends BaseDataLabels<DataLabels>
A simple configurable class that can be used to represent custom data label display options, which
can then be set as the default data label display approach which can then be applied to a PlotOptions
(via the 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")
)
);
- Since:
- 1.0.0
- Author:
- squinn@moxiegroup.com (Shawn Quinn)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataLabels
public DataLabels()
Copyright © 2015. All Rights Reserved.