Auto scale R Markdown fragment images
up vote
0
down vote
favorite
I included a markdown fragment html page with includeHTML("filename.html") into a shiny dashboard. The image size of the graph in my markdown file is set ti width/ height = 7.
The problem is now, that the image size is fixed in my dashboard box and when I shrink the browser the image do not scale to a smaller size.
Is there a way to do that?
I also tried to embed the whole markdown html document. Then the image scales to optimal size, but the ccs settings of the markdown are crushing the whole dashboard layout.
shiny
New contributor
add a comment |
up vote
0
down vote
favorite
I included a markdown fragment html page with includeHTML("filename.html") into a shiny dashboard. The image size of the graph in my markdown file is set ti width/ height = 7.
The problem is now, that the image size is fixed in my dashboard box and when I shrink the browser the image do not scale to a smaller size.
Is there a way to do that?
I also tried to embed the whole markdown html document. Then the image scales to optimal size, but the ccs settings of the markdown are crushing the whole dashboard layout.
shiny
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I included a markdown fragment html page with includeHTML("filename.html") into a shiny dashboard. The image size of the graph in my markdown file is set ti width/ height = 7.
The problem is now, that the image size is fixed in my dashboard box and when I shrink the browser the image do not scale to a smaller size.
Is there a way to do that?
I also tried to embed the whole markdown html document. Then the image scales to optimal size, but the ccs settings of the markdown are crushing the whole dashboard layout.
shiny
New contributor
I included a markdown fragment html page with includeHTML("filename.html") into a shiny dashboard. The image size of the graph in my markdown file is set ti width/ height = 7.
The problem is now, that the image size is fixed in my dashboard box and when I shrink the browser the image do not scale to a smaller size.
Is there a way to do that?
I also tried to embed the whole markdown html document. Then the image scales to optimal size, but the ccs settings of the markdown are crushing the whole dashboard layout.
shiny
shiny
New contributor
New contributor
New contributor
asked Nov 10 at 13:52
Jakob Tiebel
1
1
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Jakob Tiebel is a new contributor. Be nice, and check out our Code of Conduct.
Jakob Tiebel is a new contributor. Be nice, and check out our Code of Conduct.
Jakob Tiebel is a new contributor. Be nice, and check out our Code of Conduct.
Jakob Tiebel is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53239644%2fauto-scale-r-markdown-fragment-images%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password