plotly / react-pivottable

React-based drag'n'drop pivot table with Plotly.js charts
https://react-pivottable.js.org/
MIT License
972 stars 248 forks source link

added ability to hide row and col totals (using props) #134

Closed edwinqiu93 closed 3 years ago

edwinqiu93 commented 3 years ago

Hi,

I added the ability for the user to add in rowTotals and colTotals props in order to hide/unhide row & column totals. Default props are set to true. pvtGrandTotal is also only visible if both rowTotals & colTotals props are set to true.

Let me know if this works. Thanks!