skills/chart-skills/lime-echart/SKILL.md
Integrates Apache ECharts into UniApp and UniAppX projects for cross-platform data visualization (H5, mini-programs, native App). Supports line, bar, pie, scatter, radar, gauge, funnel, heatmap, and more chart types. Use when the user needs to create ECharts charts in UniApp/UniAppX or configure interactive data visualizations for mobile and web.
npx skillsauth add teachingai/agent-skills lime-echartInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever the user wants to:
examples/getting-started/installation.mdexamples/charts/<template>
<view class="chart-container">
<l-echart ref="chartRef" @bindinit="onInit" />
</view>
</template>
<script>
import * as echarts from '@nicefan/lime-echart/echarts';
export default {
methods: {
onInit(chart) {
chart.setOption({
xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'] },
yAxis: { type: 'value' },
series: [{
type: 'line',
data: [120, 200, 150, 80, 270],
smooth: true,
lineStyle: { color: '#5470c6' }
}]
});
}
}
};
</script>
<style>
.chart-container { width: 100%; height: 300px; }
</style>
| Chart | File | Use Case |
|-------|------|----------|
| Line | examples/charts/line-chart.md | Trends over time |
| Bar | examples/charts/bar-chart.md | Category comparison |
| Pie | examples/charts/pie-chart.md | Proportions |
| Scatter | examples/charts/scatter-chart.md | Correlation |
| Radar | examples/charts/radar-chart.md | Multi-dimension comparison |
| Gauge | examples/charts/gauge-chart.md | Single metric display |
api/component-api.md - Component properties and attributesapi/methods-api.md - Chart manipulation methodsapi/events-api.md - Event handling (click, hover, zoom)api/options-api.md - Full ECharts options referencechart.dispose() in onUnload to prevent memory leakslime-echart, echarts, uniapp, uniappx, chart, visualization, 图表, 折线图, 柱状图, 饼图, data visualization, mobile chart
development
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
tools
Provides comprehensive guidance for Flask framework including routing, templates, forms, database integration, extensions, and deployment. Use when the user asks about Flask, needs to create web applications, implement routes, or build Python web services.
development
Provides comprehensive guidance for FastAPI framework including routing, request validation, dependency injection, async operations, OpenAPI documentation, and database integration. Use when the user asks about FastAPI, needs to create REST APIs, or build high-performance Python web services.
development
Provides comprehensive guidance for Django framework including models, views, templates, forms, admin, REST framework, and deployment. Use when the user asks about Django, needs to create web applications, implement models and views, or build Django REST APIs.