跳到内容

Chartlet

v1.1.0

vlty · 2026年3月23日 上架

The lightest way to create beautiful, responsive charts in WordPress. No database clutter, no heavy libraries — just pure performance.

正在使用
10 以下
评分
暂无
累计下载
1,192
最近更新
2026年4月26日
需要 WordPress 5.9+已测试到 6.9.12PHP 7.4+

贡献者

截图

The Core Web Vitals Report - An example of a Bar Chart showing performance improvements.
The Core Web Vitals Report - An example of a Bar Chart showing performance improvements.
AI Tokens Usage - A sleek, modern Line Chart with custom neon colors.
AI Tokens Usage - A sleek, modern Line Chart with custom neon colors.
Traffic Sources 2026 - A clean Doughnut Chart visualizing modern web traffic.
Traffic Sources 2026 - A clean Doughnut Chart visualizing modern web traffic.
Carbon Footprint - A Pie Chart example showing how to use the suffix feature for percentages.
Carbon Footprint - A Pie Chart example showing how to use the suffix feature for percentages.
The Chartlet Builder - Our intuitive admin interface where you generate your shortcodes in seconds.
The Chartlet Builder - Our intuitive admin interface where you generate your shortcodes in seconds.
Shortcode in Action - How the shortcode looks inside a standard WordPress post before rendering.
Shortcode in Action - How the shortcode looks inside a standard WordPress post before rendering.

Chartlet is a lightweight, performance-focused plugin for creating beautiful, interactive charts and graphs via shortcodes.

Stop bloating your database! Unlike other chart plugins that store every graph as a custom post type, Chartlet stores all configurations directly within the shortcode. This makes your site faster and your data easier to manage.

Using the power of Chart.js (loaded locally for maximum privacy and GDPR compliance), Chartlet allows you to visualize data in seconds. Perfect for data journalism, financial reports, or simply adding a professional touch to your blog posts.

Key Benefits:

  • Zero Database Bloat: No per-chart database entries. Everything lives in your content.
  • Ultra Lightweight: Optimized for Core Web Vitals and speed.
  • GDPR Compliant: No external CDNs. Chart.js is served directly from your server.
  • Intuitive Builder: Create charts visually in your admin settings and get a shortcode instantly.
  • Native Gutenberg Block: Insert charts directly from the block inserter with a live server-side preview.

Features

  • 8 Chart Types: Bar, Line, Pie, Doughnut, Radar, Polar area, Scatter, and Bubble charts.
  • Gutenberg Block: Native chartlet/chart block with real-time server-side preview in the editor.
  • Live Shortcode Builder: Configure labels, data points, colors, and dimensions with a real-time generator.
  • Fully Responsive: Charts automatically scale to fit any screen size (mobile, tablet, desktop).
  • Smart Defaults: Set global brand colors and heights in the settings to keep your charts consistent.
  • Custom Units: Add prefixes (e.g., $) or suffixes (e.g., %) to your data tooltips.
  • Translation Ready: Fully compatible with multilingual sites.

Usage

Gutenberg block: Open the block inserter and search for “Chartlet”. Insert the block, enter data, and the chart preview updates live in the editor.

Shortcode builder: Go to Chartlet Generate. Use the visual builder to:
1. Select your chart type.
2. Input labels and data (separated by ,).
3. Customize colors, title, and height.
4. Add a value suffix (e.g., %) or prefix (e.g., $).
5. Click Generate Shortcode, copy it, and paste it anywhere!

Shortcode examples:

[chartlet type="bar" labels="Jan,Feb,Mar" data="10,20,15" colors="#3366cc,#dc3912" title="Revenue" height="300" prefix="$"]

[chartlet type="scatter" data="1:5, 2:10, 3:8"]

[chartlet type="bubble" data="1:5:3, 2:10:5, 3:8:10"]

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums