Dynamic(interactive) pie graph in jsreport



  • Hello @jan_blaha @bjrmatos

    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?

    Thanks!



  • 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
    https://jsreport.net/learn/live-reports
    (playground demo isn't working now, gonna fix it)


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.