Hi pkz,

For the custom summary function:

Please see the example here: codepen – it implements a custom summary function which sums 2* value of the data
I have left some comments to make it easier to understand how it works and how to modify it.
Though since this is not an official feature and more of a workaround, there might be some edge cases I have missed where bugs happen.


And for the Charting:

Thanks for noting that! I updated the code with a fix here – codepen
Also added some comments to make some of the functions clearer.

For example, here is the result when you select Country + Income + Expenses

You can also visit the smart-chart demos page to see some of the possible chart types and customization for the chart.


Best regards,
Ivan Peevski

Smart UI Team