Chartlet

विवरण

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.

Features

  • Multiple Chart Types: Choose between Bar, Line, Pie, and Doughnut charts.
  • 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

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!

Manual Shortcode Example:
[chartlet type=”bar” labels=”Jan,Feb,Mar” data=”10,20,15″ colors=”#3366cc,#dc3912″ title=”Revenue” height=”300″ prefix=”$”]

स्क्रिनसटहरू

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

स्थापना

  1. Upload the chartlet folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to Chartlet Settings to configure your default styles.
  4. Use the Chart Builder to generate a shortcode and paste it into any post or page.

प्रश्नोत्तर

Does this plugin affect site speed?

Hardly! We use a single, minified JS library and only load it when a shortcode is present. No database queries are required to render your charts.

Is it compatible with Block Editor (Gutenberg)?

Yes! Just paste the generated shortcode into a “Shortcode” block. (Advanced Gutenberg support is coming soon in the Pro version!)

Can I use it for free for commercial sites?

Absolutely. Chartlet is licensed under GPLv2, so you can use it on any personal or commercial project.

समीक्षाहरू

यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।

योगदानकर्ता र डेभलपरहरू

“Chartlet” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।

योगदानकर्ताहरू

चेन्जलग

1.0.1

  • Updated bundled Chart.js to 4.5.1.
  • Improved JSON output escaping in renderer.
  • Corrected readme contributors username.

1.0.0

  • Initial release.
  • Bar, Line, Pie, Doughnut support.
  • Visual Shortcode Builder.
  • Local Chart.js integration.