Agent skill

lime-echart

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.

Stars 254
Forks 41

Install this agent skill to your Project

npx add-skill https://github.com/partme-ai/full-stack-skills/tree/main/skills/chart-skills/lime-echart

SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Create ECharts charts (line, bar, pie, scatter, radar, gauge, etc.) in UniApp or UniAppX
  • Display data visualizations in H5, mini-programs, or native App
  • Handle chart events, dynamic data updates, or custom themes in UniApp
  • Optimize chart performance for mobile environments

How to use this skill

Workflow

  1. Install lime-echart - Load examples/getting-started/installation.md
  2. Choose chart type - Match the requirement to the chart type below
  3. Load the example file - Each chart type has a dedicated example in examples/charts/
  4. Customize - Adjust options, theme, and data binding per the API docs

Quick-Start Example: Line Chart in UniApp

vue
<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 Type Reference

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 Reference

  • api/component-api.md - Component properties and attributes
  • api/methods-api.md - Chart manipulation methods
  • api/events-api.md - Event handling (click, hover, zoom)
  • api/options-api.md - Full ECharts options reference

Best Practices

  1. Dispose on unmount - Call chart.dispose() in onUnload to prevent memory leaks
  2. Lazy load charts - Initialize charts only when they scroll into view
  3. Test cross-platform - Verify on H5, WeChat mini-program, and native App
  4. Optimize data volume - Downsample large datasets before rendering on mobile
  5. Use CSS sizing - Set chart container dimensions via CSS, not inline styles

Resources

Keywords

lime-echart, echarts, uniapp, uniappx, chart, visualization, 图表, 折线图, 柱状图, 饼图, data visualization, mobile chart

Expand your agent's capabilities with these related and highly-rated skills.

partme-ai/full-stack-skills

ocrmypdf-batch

OCRmyPDF batch processing skill — process multiple PDFs, Docker automation, shell scripting, and CI/CD integration. Use when the user needs to OCR many PDFs, set up automated OCR pipelines, or integrate OCR into workflows.

254 41
Explore
partme-ai/full-stack-skills

ocrmypdf-optimize

OCRmyPDF optimization skill — compress PDFs, configure PDF/A output, JBIG2 encoding, and lossless optimization. Use when the user needs to reduce PDF file size, create archival PDF/A files, or optimize OCR output.

254 41
Explore
partme-ai/full-stack-skills

ocrmypdf-image

OCRmyPDF image processing skill — deskew, rotate, clean, despeckle, remove border from scanned documents. Use when the user needs to improve scanned PDF quality, fix skewed pages, remove noise, or clean up scanned documents before OCR.

254 41
Explore
partme-ai/full-stack-skills

ocrmypdf-api

OCRmyPDF Python API and plugin skill — use OCRmyPDF programmatically from Python, integrate with applications, and extend with plugins (EasyOCR, PaddleOCR, AppleOCR). Use when the user needs to call OCRmyPDF from Python code, build OCR pipelines, or use alternative OCR engines.

254 41
Explore
partme-ai/full-stack-skills

ocrmypdf

OCRmyPDF core skill — add searchable OCR text layer to scanned PDFs, convert images to searchable PDFs, support 100+ languages via Tesseract. Use when the user needs to OCR a PDF, make a scanned PDF searchable, or extract text from scanned documents.

254 41
Explore
partme-ai/full-stack-skills

svelte

Guides Svelte and SvelteKit development including reactive components, stores, transitions, lifecycle hooks, SSR, file-based routing, and deployment. Use when the user needs to build Svelte components, create SvelteKit applications, implement reactivity patterns, or configure Svelte with Vite.

254 41
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results