Lime Echart
by partme-ai
Provides comprehensive guidance for Lime ECharts including chart creation, configuration, data visualization, and interactive charts. Use when the user asks about Lime ECharts, needs to create charts, visualize data, or work with ECharts features.
Skill Details
Repository Files
30 files in this skill directory
name: lime-echart description: Provides comprehensive guidance for Lime ECharts including chart creation, configuration, data visualization, and interactive charts. Use when the user asks about Lime ECharts, needs to create charts, visualize data, or work with ECharts features. license: Complete terms in LICENSE.txt
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线图, 箱线图
Related Skills
Xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Analyzing Financial Statements
This skill calculates key financial ratios and metrics from financial statement data for investment analysis
Data Storytelling
Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.
Team Composition Analysis
This skill should be used when the user asks to "plan team structure", "determine hiring needs", "design org chart", "calculate compensation", "plan equity allocation", or requests organizational design and headcount planning for a startup.
Startup Financial Modeling
This skill should be used when the user asks to "create financial projections", "build a financial model", "forecast revenue", "calculate burn rate", "estimate runway", "model cash flow", or requests 3-5 year financial planning for a startup.
Kpi Dashboard Design
Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.
Dbt Transformation Patterns
Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.
Startup Metrics Framework
This skill should be used when the user asks about "key startup metrics", "SaaS metrics", "CAC and LTV", "unit economics", "burn multiple", "rule of 40", "marketplace metrics", or requests guidance on tracking and optimizing business performance metrics.
