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 partme-ai/full-stack-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
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.