@dsh-external/dsh-echarts
Render strict JSON ```echarts fences as interactive Apache ECharts charts in DSH Web.
AI 分析
核心用途是将 AI 生成的 ECharts JSON 配置直接渲染为美观的交互式图表。适合需要进行数据可视化展示、分析统计图表的用户。支持跟随系统深浅色主题切换。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sheny-bio/dsh-echartsドキュメント
README 全文を読む ↗配置
插件的默认 patch:
- insert:
- id: echarts
name: '@dsh-external/dsh-echarts'
config:
theme: auto
height: 400
maxTextSize: 200000
maxOptionNodes: 100000
| 配置 | 默认值 | 说明 |
|---|---|---|
theme | auto | auto、light 或 dark;auto 跟随 DSH Web |
height | 400 | 图表高度,允许 200–1200 CSS pixels |
maxTextSize | 200000 | 单个围栏的 UTF-8 bytes 上限 |
maxOptionNodes | 100000 | 单个 option 递归访问的 JSON value 数量上限 |
Canvas renderer 为当前固定行为。