Open rmaranhao opened 4 years ago
Hi @rmaranhao , thanks for opening the PR!
rendererOptions
is not available in the API reference, which is why it causes an error.
For plot size, I believe it is controlled on the JS side of react-pivottable
. It might be possible to modify the stylesheet (see this comment) but you will likely need to modify the react source code (see contributing FAQ for details). Here's the piece of code that controls the width/height.
You will likely need to specify a plotlyOptions
prop from the Renderer
component being created in the previous link. See this line
Hi. I am integrating PivotTable with other components in the same screen. I have already included a scrollable DIV as suggested in #7 but I would really like to be able to specify the size of the plots. Due to the nature of my data I get very large plots that would be much better if rendered in a smaller format.
The code would be something like this: