lime-echart
npx skills add https://github.com/partme-ai/full-stack-skills --skill lime-echart
Agent 安装分布
Skill 文档
When to use this skill
Use this skill whenever the user wants to:
- Create ECharts charts in UniApp or UniAppX projects
- Display data visualizations (line charts, bar charts, pie charts, etc.) in H5, mini-programs, or App
- Configure and customize ECharts charts for cross-platform compatibility
- Integrate ECharts into UniApp/UniAppX applications
- Handle chart events and interactions in UniApp/UniAppX
- Optimize chart performance in mobile environments
- Use advanced ECharts features in UniApp/UniAppX
How to use this skill
To use lime-echart in UniApp/UniAppX projects:
-
Install and configure lime-echart:
- Load
examples/getting-started/installation.mdfor installation instructions - Load
examples/getting-started/basic-usage.mdfor basic setup and configuration - Load
examples/getting-started/configuration.mdfor detailed configuration options
- Load
-
Choose the chart type based on the user’s requirements:
- Line chart/æçº¿å¾ â
examples/charts/line-chart.md - Bar chart/æ±ç¶å¾ â
examples/charts/bar-chart.md - Pie chart/é¥¼å¾ â
examples/charts/pie-chart.md - Scatter chart/æ£ç¹å¾ â
examples/charts/scatter-chart.md - Radar chart/é·è¾¾å¾ â
examples/charts/radar-chart.md - Gauge chart/仪表ç â
examples/charts/gauge-chart.md - Funnel chart/æ¼æå¾ â
examples/charts/funnel-chart.md - Heatmap/çåå¾ â
examples/charts/heatmap.md - Tree chart/æ å¾ â
examples/charts/tree-chart.md - Map chart/å°å¾ â
examples/charts/map-chart.md - Candlestick chart/Kçº¿å¾ â
examples/charts/candlestick-chart.md - Boxplot chart/ç®±çº¿å¾ â
examples/charts/boxplot-chart.md
- Line chart/æçº¿å¾ â
-
Load the appropriate example file from the
examples/directory:examples/getting-started/installation.md– Installation and setupexamples/getting-started/basic-usage.md– Basic usage examplesexamples/getting-started/configuration.md– Configuration optionsexamples/charts/line-chart.md– Line chart examplesexamples/charts/bar-chart.md– Bar chart examplesexamples/charts/pie-chart.md– Pie chart examplesexamples/charts/scatter-chart.md– Scatter chart examplesexamples/charts/radar-chart.md– Radar chart examplesexamples/charts/gauge-chart.md– Gauge chart examplesexamples/charts/funnel-chart.md– Funnel chart examplesexamples/charts/heatmap.md– Heatmap examplesexamples/charts/tree-chart.md– Tree chart examplesexamples/charts/map-chart.md– Map chart examplesexamples/charts/candlestick-chart.md– Candlestick chart examplesexamples/charts/boxplot-chart.md– Boxplot chart examplesexamples/advanced/dynamic-data.md– Dynamic data updatesexamples/advanced/event-handling.md– Chart event handlingexamples/advanced/custom-theme.md– Custom theme configurationexamples/advanced/multiple-charts.md– Multiple charts on one pageexamples/advanced/responsive-charts.md– Responsive chart designexamples/advanced/performance-optimization.md– Performance optimization
-
Follow the specific instructions in that example file for syntax, structure, and best practices
-
Reference the API documentation when needed:
api/component-api.md– Component API referenceapi/methods-api.md– Methods API referenceapi/events-api.md– Events API referenceapi/options-api.md– Options API reference
-
Use templates for quick start:
templates/basic-chart.md– Basic chart templatetemplates/advanced-chart.md– Advanced chart templatetemplates/chart-with-data.md– Chart with data binding template
Doc mapping (one-to-one with official documentation)
- See examples and API files â https://ext.dcloud.net.cn/plugin?id=4899
Examples and Templates
This skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).
To use examples:
- Identify the topic from the user’s request
- Load the appropriate example file from the mapping above
- Follow the instructions, syntax, and best practices in that file
- Adapt the code examples to your specific use case
To use templates:
- Reference templates in
templates/directory for common scaffolding - Adapt templates to your specific needs and coding style
API Reference
- Component API:
api/component-api.md– lime-echart component properties and attributes - Methods API:
api/methods-api.md– Available methods for chart manipulation - Events API:
api/events-api.md– Chart events and event handling - Options API:
api/options-api.md– ECharts options configuration reference
Best Practices
- Platform Compatibility: Test charts on all target platforms (H5, mini-programs, App)
- Performance: Use lazy loading for charts and optimize data volume
- Responsive Design: Ensure charts adapt to different screen sizes
- Data Format: Validate and format data before passing to charts
- Error Handling: Implement proper error handling for chart initialization and data loading
- Memory Management: Dispose charts properly when components are destroyed
- Theme Consistency: Use consistent themes across your application
- Accessibility: Consider accessibility when designing charts
Resources
- Official Plugin: https://ext.dcloud.net.cn/plugin?id=4899
- ECharts Official Documentation: https://echarts.apache.org/
- UniApp Documentation: https://uniapp.dcloud.net.cn/
- UniAppX Documentation: https://uniapp.dcloud.net.cn/uni-app-x/
Keywords
lime-echart, echart, echarts, uniapp, uniappx, chart, visualization, line chart, bar chart, pie chart, scatter chart, radar chart, gauge chart, funnel chart, heatmap, tree chart, map chart, candlestick chart, boxplot chart, å¾è¡¨, æçº¿å¾, æ±ç¶å¾, 饼å¾, æ£ç¹å¾, é·è¾¾å¾, 仪表ç, æ¼æå¾, çåå¾, æ å¾, å°å¾, K线å¾, 箱线å¾