@dsh-external/dsh-echarts
Render strict JSON ```echarts fences as interactive Apache ECharts charts in DSH Web.
安装
$
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 为当前固定行为。