@datarailsshared/dr_renderer 1.2.392 → 1.2.394

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.2.392",
3
+ "version": "1.2.394",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -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
- const outOfAxisPercentages = axisTotal ? Math.round(value / axisTotal * 100) + '%' : '';
633
- outOfAxisPercentages && percentageArray.push(outOfAxisPercentages);
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) {
@@ -3270,7 +3271,9 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
3270
3271
  chartOptions.plotOptions.column = highchartsRenderer.getDataLabelsOptions(additionOptions, chartOptions.plotOptions.column);
3271
3272
 
3272
3273
  if (opts.drillDownListFunc) {
3273
- chartOptions.plotOptions.series = {};
3274
+ chartOptions.plotOptions.series = {
3275
+ animation: !disableAnimation,
3276
+ };
3274
3277
  chartOptions.plotOptions.series.cursor = 'pointer';
3275
3278
  chartOptions.plotOptions.series.point = {
3276
3279
  events: {