Dynamic(interactive) pie graph in jsreport
can we use dynamic pie graphs in jsreport? I mean to say suppose we have one button for male and one button for female - when I click on male then graph should show data of male candidates only and vice versa for female.
can we do that?
Do you mean with html output? Of course, you can do anything you want there. The simplest is to just provide all required data to the page and code in js the switches.
Or you can take the approach we described in this tutorial
(playground demo isn't working now, gonna fix it)