@datarailsshared/dr_renderer 1.2.392 → 1.2.393
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
@@ -629,8 +629,9 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
629
629
|
|
630
630
|
if (!is_drill_down_pie && labelOptions.show_out_of_x_axis) {
|
631
631
|
const axisTotal = pivotData.getAggregator([], cols).value();
|
632
|
-
|
633
|
-
|
632
|
+
if (value && axisTotal) {
|
633
|
+
percentageArray.push(Math.round(value / axisTotal * 100) + '%');
|
634
|
+
}
|
634
635
|
}
|
635
636
|
|
636
637
|
if (labelOptions.show_out_of_data_series) {
|