# Echarts Typescript Support

> Sub-skill of echarts: TypeScript Support.

- Skill: `vamseeachanta/echarts-typescript-support` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/echarts-typescript-support`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/echarts-typescript-support/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/echarts-typescript-support

---


# TypeScript Support

## TypeScript Support


```typescript
import * as echarts from 'echarts';

type EChartsOption = echarts.EChartsOption;

const option: EChartsOption = {
  title: {
    text: 'TypeScript Example'
  },
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
      data: [120, 200, 150, 80, 70, 110, 130],
      type: 'line'
    }
  ]
};

const chartDom = document.getElementById('main')!;
const myChart = echarts.init(chartDom);
myChart.setOption(option);
```

