-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
It looks like you, almost got there. You already round the dataLabels in plotOptions:
In addition to enabling them you can also define styles by calling setStyle(...)
Here a native example for highcharts: https://jsfiddle.net/p312jw9t/
in ZkCharts his becomes:
plotOptions.getDataLabels().setStyle(Collections.singletonMap("fontSize", "20px"));
or
plotOptions.getDataLabels().setStyle("fontSize: 20px;");
Since it seems too simple to be true:
Did you already try that? Was there a problem/unexpected result?
2 | No.2 Revision |
It looks like you, almost got there. You already round found the dataLabels object in plotOptions:
plotOptions. In addition to enabling them you can also define styles by calling setStyle(...)
.
Here a native example for highcharts: https://jsfiddle.net/p312jw9t/
in ZkCharts his this becomes:
plotOptions.getDataLabels().setStyle(Collections.singletonMap("fontSize", "20px"));
or
plotOptions.getDataLabels().setStyle("fontSize: 20px;");
Since it seems too simple to be true:
Did you already try that? Was there a problem/unexpected result?
3 | No.3 Revision |
It looks like you, almost got there. You already found the dataLabels object in plotOptions. In addition to enabling them you can also define styles by calling setStyle(...)
.
Here a native example for highcharts: https://jsfiddle.net/p312jw9t/
in ZkCharts this becomes:
plotOptions.getDataLabels().setStyle(Collections.singletonMap("fontSize", "20px"));
or
plotOptions.getDataLabels().setStyle("fontSize: 20px;");
Since it seems too simple to be true:
Did you already try that? Was there a problem/unexpected result?