Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Download Counter Chart

Visualization of your downloads based on the Download Counter plugin.


There are several ways to include a chart of your downloads on your site.

Page / Post (Shortcode)

[downloadcounterchart chart_type="pie" chart_width="490" chart_height="190" label_color="000000" label_size="11" sqlcondition="" bar_color="0066CC90" bar_height="-1" bg_color="FFFFFF00"]


  • chart_type - Type of the chart. Valid values: bar_horizontal, pie or pie3d.
  • chart_width - Width of the chart image in px. May be about the 2.5 times size of the height for a pie chart.
  • chart_height - Width of the chart image in px.
  • label_color - Hex color value for labels, optional with additional opacity value (e.g. 50% black = 00000050).
  • label_size - Font size of the labels.
  • sqlcondition - Optional SQL where statement, leave blank for all downloads.
  • bar_height - Bar chart only. You can explicitly set the bar height, but it may result in a chart that does not include all data, if the chart height is not big enough. Recommend to set -1 for auto-sizing.
  • bg_color - Background color. Hex color value, optional with additional opacity value (e.g. transparent = FFFFFF00)


downloadcounterchart_img($chart_type, $chart_width, $chart_height, $label_color = '333333', $label_size = '11', $sqlcondition = '', $bar_color='', $bar_height='', $bg_color='')


see section above


if (function_exists('downloadcounterchart_img') && class_exists('DownloadCounterChartApi')){
    downloadcounterchart_img(DLC_CHART_PIE, 490, 190, '000000', '11', '', '0066CC', '-1', 'FFFFFF00');

Requires: 2.8 or higher
Compatible up to: 2.9.2
Last Updated: 7 years ago
Active Installs: 80+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1