JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Pivot/grouping + charting question › Reply To: Pivot/grouping + charting question
January 24, 2023 at 4:31 pm
#104296
Participant
Hi pkz,
- At the moment, we support multiple different summaries only for the smart-grid component.
- To achieve this, you could use the onCellRender() callback function. The function is called before each cell render and you can use it to perform the custom calculations and set them as value. Here is a simple example, which changes the value of the ‘USA Income’ summary: codepen
- The button is inactive since the div.switchContainer is standing on top of it. If you change it’s position, the button will be active
- At the moment, the pivot designer only supports the categorical filter, however this is a great suggestion, and we will consider adding such option in a future release!
- Yes, it’s possible – the createChart() function simply passes the table data to the smart-chart component. You can create a custom function, which will pass only the selected data – please have a look at the example here codepen
We also have a similar demo on our site here: https://www.htmlelements.com/demos/pivottable/integration-with-chart/
Best regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/