Skip to content

Commit

Permalink
One more fix for the support of the option to drilldown in column and…
Browse files Browse the repository at this point in the history
… bar charts
  • Loading branch information
smartziou committed Jun 19, 2024
1 parent d597007 commit f6bab33
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ private HighChartsJsonResponse HCDoubleGroupByDrilldown(SupportedChartTypes char

String yValue = XValueToYValueMapping.get(xValue);
Number value = parseValue(yValue);
drillDownSliceValuesArray.add(new DataObject(xValue, value));

if (yValue != null)
drillDownSliceValuesArray.add(new DataObject(xValue, value));
if (value != null) {
pieSliceSum += value.floatValue();
}
Expand Down Expand Up @@ -248,6 +250,7 @@ private HighChartsJsonResponse HCDoubleGroupByNoDrilldown(SupportedChartTypes ch
if (XValueToYValueMapping.containsKey(xValue)) {

String yValue = XValueToYValueMapping.get(xValue);

yValuesArray.add(parseValue(yValue));

} else
Expand Down

0 comments on commit f6bab33

Please sign in to comment.