# 图表的缩放问题

**URL:** <https://meta.discourse.org/t/scaling-issue-for-charts/282412>\
**Category:** UX\
**Tags:** mermaid\
**Created:** [2023年八月16日 12:02 UTC](https://meta.discourse.org/t/scaling-issue-for-charts/282412 "2023-08-16T12:02:07Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![Ralf\_Stockmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ralf_stockmann/32/505867_2.png) [@Ralf\_Stockmann](https://meta.discourse.org/u/Ralf_Stockmann)\
**Post date:** [2025年二月4日 16:11 UTC](https://meta.discourse.org/t/scaling-issue-for-charts/282412/35 "2025-02-04T16:11:48Z")

</div>

我构建了一个东西。我想在发布之前，也许有人会想试用一下。  
目标是提供一种低门槛且健壮的方法：

1. 分析帖子是否包含 SVG 元素
2. 如果是，则在其旁边显示一个文本链接“缩放”
3. 在一个新的浏览器窗口中打开 SVG，您可以在其中随意缩放、打印等。

[GitHub - rstockm/svg-zoom: Discourse 主题组件，为帖子中的 Mermaid/SVG 元素添加缩放功能](https://github.com/rstockm/svg-zoom)

 ![此图像使用数字双时间线界面说明了“我的工作日”的工作流程时间线，其中包含随时间变化的操作、活动和情绪变化。（由 AI 题注）](https://global.discourse-cdn.com/meta/original/4X/5/0/c/50cccfebf980a6b28a558a2165a1b54b0fba0e03.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/scaling-issue-for-charts/282412)._
