Min size of plotly plot
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- plotly, typescript
- 领域
- frontend
调研方向
从报告中提到的主要 AP 示例和 plotly-plot 布局处理开始。使用 100x100 像素的尺寸复现该问题,然后尝试使用百分比宽度和高度。完成的标准是图表以小于 200x200 的尺寸渲染,并且百分比尺寸得到遵守。
由索引模型根据 Issue 内容生成。
描述
Hi there,
there seems to be no possibility to make plotly-plots smaller than 200x200.
If I set width and height to e.g. 100, the plot collapses to one point.
I think there's no need to post MWE since this issue can be reproduced by just setting height and width in the layout of the main AP example.
On the other hand, if I set width and height to percentages instead of pixels, they are ignored
- 主要语言
- TypeScript
- 星标
- 242
- 派生
- 81
- 平均合并
- 8 小时 48 分钟
- 30 天内合并 PR
- 18
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
plotly/angular-plotly.js 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
plotly/angular-plotly.js#285 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 38/100
plotly/angular-plotly.js#283 ·
-
难度 3/5 1-2 天 新手友好度 35/100
plotly/angular-plotly.js#281 · 8 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
plotly/angular-plotly.js#278 · 2 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 38/100
plotly/angular-plotly.js#276 · 2 条评论 ·