@datarailsshared/dr_renderer 1.2.438 → 1.2.439
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -4985,7 +4985,11 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
4985
4985
|
|
4986
4986
|
if (is_graph) {
|
4987
4987
|
subopts.renderer = pivotOptions.chartRender;
|
4988
|
-
|
4988
|
+
const chartOptions = subopts.rendererOptions.chartOptions;
|
4989
|
+
const labelOptions = lodash.get(chartOptions, 'label_pie', lodash.get(chartOptions, 'label'));
|
4990
|
+
if (labelOptions) {
|
4991
|
+
labelOptions.useUnitAbbreviation = subopts.rendererOptions.useUnitAbbreviation;
|
4992
|
+
}
|
4989
4993
|
} else {
|
4990
4994
|
var functionToReturn = function (pivotData, opt) {
|
4991
4995
|
opt.widgetId = widget.id;
|