Linux 软件免费装
Banner图

SQL Chart Builder

开发者 elvinhaci
更新时间 2026年7月5日 00:59
捐献地址: 去捐款
PHP版本: 5.0.0 及以上
WordPress版本: 7.0.1
版权: GPLv2 or later
版权网址: 版权信息

标签

sql visualizer charts mysql sql chart

下载

3.0.0 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 1.0.2 2.3.5 2.2.2 2.3.8 1.0.3 2.3.6 2.3.7 2.3.7.1 2.3.7.2

详情介绍:

The plugin creates beautiful charts based on your SQL queries, then you can use those charts in any part of your website. You can use both native wp and non-wp mysql tables in your queries. 11 chart types: Pie, Doughnut, Polar Area, Radar, Line, Area, Stepped Line, Bar, Horizontal Bar, Stacked Bar, Scatter What's new in 3.0 How to use
  1. Go to Dashboard → My SQL Charts → Add New and give any name to your report.
  2. Pick a chart type — read the short guide shown under the type cards, or click "Use this example" to start from a working query.
  3. Build your SQL query with the toolbar buttons and autocomplete (real table and column names are suggested), then map the X and Y columns.
  4. You can use multiple SQL queries too — just split them with the ";" sign to get comparison charts. You can also pass shortcode arguments into the query: with "select * from wp_posts where ID>{arg1}" the shortcode [gvn_schart_2 id="2" arg1="11"] passes the value in.
  5. After Publish/Update you will see the shortcode below the builder. Use it anywhere on your website: pages, posts, widgets, or the "My SQL Charts" Gutenberg block.
  6. Check "Show table-view data below the graph" to also render the data as a styled table.
  7. In the Input Filters tab, add filters by clicking "+ Add filter" — each one becomes an input (with a datepicker for date types) above the chart at the front-end.
Chart type mini-guide Input filters (dynamic variables) Use the visual rows in the Input Filters tab, or the raw format: variable_name~default_value~variable_label~variable_type | variable_name~default_value~variable_label~variable_type Example: with the filters "limit_tag~10~Count~number | post_date_tag~2010-07-05~Date Published~date" you can use "select * from wp_posts where post_date<{post_date_tag} limit {limit_tag}" as the SQL code — the plugin renders the corresponding inputs above the chart automatically. Supported built-in dynamic tags: {current_user_id}, {current_user_login}, {current_user_email}, {current_user_display_name}. Caching Use [gvn_schart_2_cached id="1" expire="3600"] to cache the rendered chart in a transient. Add &force_sql_cache_reload=1 to the URL to bypass it once (e.g. right after upgrading). 站点 https://guaven.com/my-sql-charts/ 程序文档 https://guaven.com/my-sql-charts/#docs Bug Submission and Forum Support Contact Page Please Vote if you liked our plugin Your votes really help us. Thanks.

安装:

  1. Upload 'guaven_sqlcharts.zip' to the '/wp-content/plugins/' directory
  2. Unzip it.
  3. Go to Dashboard/Plugins and Activate the plugin.
  4. Go to "Dashboard/My SQL Charts" to create new charts. Guides are built into the chart builder.

屏幕截图:

  • Screenshot 2
  • Screenshot 3
  • Screenshot 4
  • Screenshot 5

常见问题:

Will my old charts keep working after updating to 3.0?

Yes. 3.0 reads exactly the same settings as 2.x, so every existing chart and shortcode keeps working. Charts using the long-deprecated Google Chart types are automatically mapped to the equivalent modern chart types. If you use the cached shortcode, add &force_sql_cache_reload=1 to the URL once after upgrading to refresh the cache.

Does the plugin load anything from third-party CDNs?

No. Chart.js v4 and all other assets ship inside the plugin.

Can non-admins edit charts?

No, chart management requires the manage_options capability, and only SELECT queries are allowed.

更新日志:

3.0.0 2.3.8 2.3.7 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.2 2.2.1 2.2.0 2.1.2 2.1.1 2.1.0 2.0.4 Now you can add custom arguments to the SQL query. 2.0.0 1.0.0 1.0.2 1.0.5