{"id":7328,"date":"2009-11-19T20:09:27","date_gmt":"2009-11-19T20:09:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-downloadcounter-chart\/"},"modified":"2010-04-14T20:32:58","modified_gmt":"2010-04-14T20:32:58","slug":"wp-downloadcounter-chart","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wp-downloadcounter-chart\/","author":5473789,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"1.3","tested":"2.9.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Download Counter Chart","header_author":"Michael Mrotzek","header_description":"","assets_banners_color":"","last_updated":"2010-04-14 20:32:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.mmrotzek.de\/en\/software-development\/wp-downloadcounter-chart","header_author_uri":"http:\/\/www.mmrotzek.de","rating":0,"author_block_rating":0,"active_installs":10,"downloads":5937,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.2":"<p>Update your settings of the downloadcounterchart widget.<\/p>","1.3":"<p>Fixed Bug: When files have been downloaded the same number of times, only one appears (Reported by MasterNoun, Thanks)<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","1.2","1.3"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1566847","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566847","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566847","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566847","resolution":"1","location":"plugin"}},"screenshots":{"1":"Dashboard widget giving a quick overview of your downloads.","2":"Sidebar widget options to configure the rendered chart to your custom needs.","3":"Example widget output on your site.","4":"Pie chart in a post."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4108,869,150,168,162],"plugin_category":[36,43],"plugin_contributors":[91452],"plugin_business_model":[],"class_list":["post-7328","plugin","type-plugin","status-publish","hentry","plugin_tags-charts","plugin_tags-counter","plugin_tags-google","plugin_tags-sidebar","plugin_tags-widget","plugin_category-analytics","plugin_category-customization","plugin_contributors-mmrotzek-1","plugin_committers-mmrotzek-1"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-downloadcounter-chart.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-downloadcounter-chart\/trunk\/screenshot-1.png?rev=1566847","caption":"Dashboard widget giving a quick overview of your downloads."},{"src":"https:\/\/ps.w.org\/wp-downloadcounter-chart\/trunk\/screenshot-2.png?rev=1566847","caption":"Sidebar widget options to configure the rendered chart to your custom needs."},{"src":"https:\/\/ps.w.org\/wp-downloadcounter-chart\/trunk\/screenshot-3.png?rev=1566847","caption":"Example widget output on your site."},{"src":"https:\/\/ps.w.org\/wp-downloadcounter-chart\/trunk\/screenshot-4.png?rev=1566847","caption":"Pie chart in a post."}],"raw_content":"<!--section=description-->\n<p>This plugin adds a <strong>widget<\/strong> to display download statistics based on the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-downloadcounter\/\">Download Counter<\/a> \nplugin on your site. The sidebar widget will show a highly configurable chart based on the \n<a href=\"http:\/\/code.google.com\/apis\/chart\/\">Google Chart API<\/a>. Furthermore it offers a <strong>dashboard widget<\/strong> that summarizes your \ndownloads, to get information quick at a glance.<\/p>\n\n<p>The plugin supports following chart types:<\/p>\n\n<ul>\n<li>Bar (horizontal)<\/li>\n<li>Pie <\/li>\n<li>Pie 3D<\/li>\n<\/ul>\n\n<p>You can include a chart of your downloads on a <strong>page<\/strong> or in a <strong>post<\/strong> using the downloadcounterchart-<strong><em>shortcode<\/em><\/strong>. \nOf course a download chart is includable in your <strong>theme<\/strong>. See <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-downloadcounter-chart\/other_notes\/\">extended documentation<\/a> \nfor detailed explanations for that.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>There are several ways to include a chart of your downloads on your site.<\/p>\n\n<h4>Page \/ Post (Shortcode)<\/h4>\n\n<pre>[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\"]<\/pre>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><em>chart_type<\/em> - Type of the chart. Valid values: <code>bar_horizontal<\/code>, <code>pie<\/code> or <code>pie3d<\/code>.<\/li>\n<li><em>chart_width<\/em> - Width of the chart image in px. May be about the 2.5 times size of the height for a pie chart.<\/li>\n<li><em>chart_height<\/em> - Width of the chart image in px.<\/li>\n<li><em>label_color<\/em> - Hex color value for labels, optional with additional opacity value (e.g. 50% black = 00000050).<\/li>\n<li><em>label_size<\/em> - Font size of the labels.<\/li>\n<li><em>sqlcondition<\/em> - Optional SQL where statement, leave blank for all downloads.<\/li>\n<li><em>bar_height<\/em> - Bar chart only. You can explicitly set the bar height, but it may result in a chart that does not include \nall data, if the chart height is not big enough. Recommend to set <code>-1<\/code> for auto-sizing.<\/li>\n<li><em>bg_color<\/em> - Background color. Hex color value, optional with additional opacity value (e.g. transparent = FFFFFF00)<\/li>\n<\/ul>\n\n<h4>Theme<\/h4>\n\n<pre>downloadcounterchart_img($chart_type, $chart_width, $chart_height, $label_color = '333333', $label_size = '11', $sqlcondition = '', $bar_color='', $bar_height='', $bg_color='')<\/pre>\n\n<p>Parameters:<\/p>\n\n<p>see section above<\/p>\n\n<p>Example:<\/p>\n\n<pre>if (function_exists('downloadcounterchart_img') &amp;&amp; class_exists('DownloadCounterChartApi')){\n    downloadcounterchart_img(DLC_CHART_PIE, 490, 190, '000000', '11', '', '0066CC', '-1', 'FFFFFF00');\n}<\/pre>\n\n<!--section=installation-->\n<p><em>Note: This plugin depends on the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-downloadcounter\/\">Download Counter<\/a> plugin \n(version 1.01), so you may need to install it as well.<\/em><\/p>\n\n<ol>\n<li>Upload <code>wp-downloadcounter-chart.zip<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory and unzip it. You may also use the \ninstall manager of wordpress to get the plugin.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Add the Download Counter Chart widget to a sidebar and edit the options of the widget to your needs. You may simple add the widget to a \nsidebar and click save to setup the widget with default options.<\/li>\n<li>You can enable the Download Counter dashboard widget by activating it in the screen options area of the dashboard page.<\/li>\n<li>For usage in your theme or in a page \/ post see the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-downloadcounter-chart\/other_notes\/\">extended documentation<\/a><\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>none<\/p>\n\n<!--section=changelog-->\n<p>Planned Features:<\/p>\n\n<ol>\n<li>I18N<\/li>\n<\/ol>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Pie and Pie3d chart types<\/li>\n<li>shortcode to include in page\/post<\/li>\n<li>optimized bar height configuration<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>full configurable chart<\/li>\n<li>redesign of dashboard widget<\/li>\n<\/ul>","raw_excerpt":"Visualization of your downloads based on the Download Counter plugin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7328"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mmrotzek-1"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7328"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7328"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7328"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7328"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7328"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}