Skip to content
lime-echart logo

Lime Echart

lime-echart

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.md

Full skill instructions

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:

  1. Install and configure lime-echart:

    • Load examples/​getting-started/​installation.md for installation instructions
    • Load examples/​getting-started/​basic-usage.md for basic setup and configuration
    • Load examples/​getting-started/​configuration.md for detailed configuration options
  2. 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
  3. Load the appropriate example file from the examples/ directory:

    • examples/​getting-started/​installation.md - Installation and setup
    • examples/​getting-started/​basic-usage.md - Basic usage examples
    • examples/​getting-started/​configuration.md - Configuration options
    • examples/​charts/​line-chart.md - Line chart examples
    • examples/​charts/​bar-chart.md - Bar chart examples
    • examples/​charts/​pie-chart.md - Pie chart examples
    • examples/​charts/​scatter-chart.md - Scatter chart examples
    • examples/​charts/​radar-chart.md - Radar chart examples
    • examples/​charts/​gauge-chart.md - Gauge chart examples
    • examples/​charts/​funnel-chart.md - Funnel chart examples
    • examples/​charts/​heatmap.md - Heatmap examples
    • examples/​charts/​tree-chart.md - Tree chart examples
    • examples/​charts/​map-chart.md - Map chart examples
    • examples/​charts/​candlestick-chart.md - Candlestick chart examples
    • examples/​charts/​boxplot-chart.md - Boxplot chart examples
    • examples/​advanced/​dynamic-data.md - Dynamic data updates
    • examples/​advanced/​event-handling.md - Chart event handling
    • examples/​advanced/​custom-theme.md - Custom theme configuration
    • examples/​advanced/​multiple-charts.md - Multiple charts on one page
    • examples/​advanced/​responsive-charts.md - Responsive chart design
    • examples/​advanced/​performance-optimization.md - Performance optimization
  4. Follow the specific instructions in that example file for syntax, structure, and best practices

  5. Reference the API documentation when needed:

    • api/​component-api.md - Component API reference
    • api/​methods-api.md - Methods API reference
    • api/​events-api.md - Events API reference
    • api/​options-api.md - Options API reference
  6. Use templates for quick start:

    • templates/​basic-chart.md - Basic chart template
    • templates/​advanced-chart.md - Advanced chart template
    • templates/​chart-with-data.md - Chart with data binding template

Doc mapping (one-to-one with official documentation)

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

  1. Platform Compatibility: Test charts on all target platforms (H5, mini-programs, App)
  2. Performance: Use lazy loading for charts and optimize data volume
  3. Responsive Design: Ensure charts adapt to different screen sizes
  4. Data Format: Validate and format data before passing to charts
  5. Error Handling: Implement proper error handling for chart initialization and data loading
  6. Memory Management: Dispose charts properly when components are destroyed
  7. Theme Consistency: Use consistent themes across your application
  8. Accessibility: Consider accessibility when designing charts

Resources

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线图, 箱线图

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View