sheny-bio/dsh-echarts0

@dsh-external/dsh-echarts

Render strict JSON ```echarts fences as interactive Apache ECharts charts in DSH Web.

AI Analysis

核心用途是将 AI 生成的 ECharts JSON 配置直接渲染为美观的交互式图表。适合需要进行数据可视化展示、分析统计图表的用户。支持跟随系统深浅色主题切换。

Package
@dsh-external/dsh-echarts
Version
0.1.0
License
MIT
Last updated
Aug 18, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sheny-bio/dsh-echarts

配置

插件的默认 patch:

- insert:
    - id: echarts
      name: '@dsh-external/dsh-echarts'
      config:
        theme: auto
        height: 400
        maxTextSize: 200000
        maxOptionNodes: 100000
配置默认值说明
themeautoautolightdarkauto 跟随 DSH Web
height400图表高度,允许 200–1200 CSS pixels
maxTextSize200000单个围栏的 UTF-8 bytes 上限
maxOptionNodes100000单个 option 递归访问的 JSON value 数量上限

Canvas renderer 为当前固定行为。