chart
对「chart」做本地可断言计算。输入是文本,不访问网络、磁盘或设备。
浏览器本地运行所有计算都在你的浏览器里完成,数据不会离开本机。
输入
结果
本地计算结果
输入后即可看到结果
这个工具能做什么
- 在本地核对这段文本
- 得到可复制的结果
示例
输入
品类,销量 苹果,3 梨,5
输出
图表类型:line · 画布 240 × 240 · 配色 default 数据:2 行 × 1 个系列(2 个数据点) 图例:销量 SVG 源码: <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240" font-family="system-ui, -apple-system, sans-serif"> <line x1="56" y1="186" x2="212" y2="186" stroke="#9ca3af" stroke-width="0.5" /> <text x="48" y="190" font-size="11" fill="#6b7280" text-anchor="end">0</text> <line x1="56" y1="145.5" x2="212" y2="145.5" stroke="#9ca3af" stroke-width="0.5" /> <text x="48" y="149.5" font-size="11" fill="#6b7280" text-anchor="end">1.25</text> <line x1="56" y1="105" x2="212" y2="105" stroke="#9ca3af" stroke-width="0.5" /> <text x="48" y="109" font-size="11" fill="#6b7280" text-anchor="end">2.5</text> <line x1="56" y1="64.5" x2="212" y2="64.5" stroke="#9ca3af" stroke-width="0.5" /> <text x="48" y="68.5" font-size="11" fill="#6b7280" text-anchor="end">3.75</text> <line x1="56" y1="24" x2="212" y2="24" stroke="#9ca3af" stroke-width="0.5" /> <text x="48" y="28" font-size="11" fill="#6b7280" text-anchor="end">5</text> <polyline points="56,88.8 212,24" fill="none" stroke="#4d6bfe" stroke-width="2" stroke-linejoin="round" /> <circle cx="56" cy="88.8" r="3" fill="#ffffff" stroke="#4d6bfe" stroke-width="2" /> <circle cx="212" cy="24" r="3" fill="#ffffff" stroke="#4d6bfe" stroke-width="2" /> <text x="56" y="204" font-size="11" fill="#6b7280" text-anchor="middle">苹果</text> <text x="212" y="204" font-size="11" fill="#6b7280" text-anchor="middle">梨</text> <line x1="56" y1="186" x2="212" y2="186" stroke="#374151" stroke-width="1" /> </svg>
结果由当前源码真实计算,不联网。
常见问题
会上传输入吗?
不会。计算在本地完成。
空输入会怎样?
页面保持空态;非法参数会提示无法处理。
结果稳定吗?
相同输入得到相同输出。
关键词:chart本地文本offlineunikit