plotly

Huge whitespace around plotly chart in bootstrap grid

南笙酒味 提交于 2020-08-27 09:02:14
问题 I have a .Net application in which I am trying to create a graph using bootstrap.js and plotly.js . I have a problem with a huge white-space in my grid when I create a responsive chart. I have figured out that a part of the problem is that size of the plotly svg-container defaults to 450px in height. I have created a fiddle showing the huge white space problem. In my fiddle I have a small commented code block that sets the layout size, but even setting that doesn't really seem to help with

Huge whitespace around plotly chart in bootstrap grid

大憨熊 提交于 2020-08-27 09:02:02
问题 I have a .Net application in which I am trying to create a graph using bootstrap.js and plotly.js . I have a problem with a huge white-space in my grid when I create a responsive chart. I have figured out that a part of the problem is that size of the plotly svg-container defaults to 450px in height. I have created a fiddle showing the huge white space problem. In my fiddle I have a small commented code block that sets the layout size, but even setting that doesn't really seem to help with