Comments (5)
@panlanfeng not sure what you mean: width in general changes the width of the widget.
On the other hand rpivotTable size is not "easily" confined to a particular size: it depends on the number of categories you have on columns or rows.
And, just to clarify, the way to change the width of a line chart would changing css (if you really want to get into that...).
from rpivottable.
How to set the width paramter?
My code is:
iris %>%
tbl_df %>%
filter( Sepal.Width > 3 ) %>%
rpivotTable(rows="Sepal.Length", cols="Sepal.Width", width="40%", rendererName="Scatter Chart")
and this doesn't change the width.
I am using it together with knitr
. The chart can go out of screen. If change css, which file should I work on? Can you give a hint? I am not very familiar with css. Thanks!
from rpivottable.
@panlanfeng I understand your issue better and I'm not sure that I have a solution for you.
See here for a way to create a scrolling capability for rpivotTable within a precisely sized window (in the example shinydashboard). Not sure if it will work with knitr (but please let me know if it does!).
from rpivottable.
I was putting rpivotTable
function within knitr
chunk directly and the table was too large.
After I change to shinyApp(ui = ui, server = server)
approach as the example, it works well.
Not yet tried to add scrolling capability. I will report the result here if I do.
from rpivottable.
I will close this for now. @panlanfeng Let me know if you want me to re-open it.
from rpivottable.
Related Issues (20)
- Using pivotTable from static html HOT 1
- factor levels order is not retained HOT 7
- aggregate name: identity HOT 7
- reduce area of metadata in output table HOT 3
- append style to rpivotTable css styles HOT 2
- Easier extendibility of rpivotTable() for custom S3 classes
- Support Excel Date Slice? HOT 1
- rpivotTable doesn't display anything HOT 1
- Question: Is there a way to sort table by values displayed in current column selection?
- My question is, How to colorize "Heatmap", creating a function with "ifelse ()"?????
- Plotting multiple rpivotTable with for loop in html r-markdown
- Compatibility with Bootstrap 4? HOT 1
- Top row missing (where remaining pivot variables sit)
- Drop down arrows problem with crosstalk v.1.1.1.
- rpivotTable is not working together with shinyjqui
- Drop down lists open in wrong position HOT 9
- Can't sort the Total column in the Pivot Table
- Sort rows in locale with characters not found in English
- Is this Package still being maintained?
- How to Make rpivottable Work in Jupyter Notebook? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpivottable.