| 开发者 | scrollchart |
|---|---|
| 更新时间 | 2026年5月26日 02:38 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[scrollchart slug="bell-curve"].No. The plugin works out of the box. Scrollchart.com is a free public library.
Yes. The plugin registers native elements for WPBakery Page Builder and Elementor. Both work alongside the standard block editor and shortcode.
No. Diagrams below the fold defer loading until they scroll into view, and the JavaScript runs only on pages that actually have a diagram. The plugin caches diagram metadata locally so repeat page-loads don't hit the network.
Yes. The block, WPBakery element, and Elementor widget all expose theme, accent colour, custom hex colours, border, and background controls. Set defaults in Settings -> Scrollchart so every embed inherits them automatically.
Yes. Diagrams are responsive (no horizontal scrolling on mobile), respond to system dark-mode preference when theme is set to Auto, and don't rely on any AMP-incompatible techniques.
Visit scrollchart.com, find a diagram you like, and click the embed button. The slug is the kebab-case identifier in the snippet — for example, the slug for the RIR / RPE Scale diagram is rir-rpe-scale.
Yes. Visit scrollchart.com/request-a-diagram. Most custom requests are turned around within 72 hours.
Yes. All of the plugin's JavaScript and CSS ships inside the plugin itself — nothing executable is loaded from a remote server. But to display the live, interactive diagrams, the bundled loader connects to scrollchart.com at runtime for diagram DATA:
scrollchart.com/api/diagram (cached locally on your server so repeat page-views do not hit the network). Only the diagram slug you embedded is sent.scrollchart.com/embed-frame/.scrollchart.com/api/ping. The ping sends the diagram slug and the URL of the page the diagram is embedded on. We use this to show authors where their diagrams are being used and to periodically check that the embed is still live on that page. No cookies are set and no visitor-identifying data (no IP stored long-term, no user agent, no fingerprint) is collected. Note that a page URL can itself contain information placed there by the site (for example a username or token in the path or query string); if that is a concern for a particular page, do not embed a Scrollchart diagram on it.scrollchart.com/api/catalog.json. This is a read-only request; no data about you, your site, or your content is sent. The result is cached on your server for an hour.scrollchart.com/api/generate.php, which returns a generated diagram. This happens only when an editor actively clicks Generate; it never runs for site visitors and never runs on the front end. If you do not use the AI generator, no prompt data is ever sent.All JavaScript ships human-readable except the front-end loader assets/embed.js, which is minified for size. Its full commented source is included in the plugin at assets/source/embed.src.js, and is also published at scrollchart.com/embed-loader-source.txt. Build instructions (a single esbuild minify step, no bundling) are in BUILD.md in the plugin source. Every other script (the editor bundle, the WPBakery and Elementor editor glue, the block editor script) is shipped unminified.
lang attribute and data-lang HTML attribute on the host div. Embeds render labels, axis titles, and source attribution in the chosen language.[scrollchart] in a text element.