Skip to content

Commit

Permalink
added readme.
Browse files Browse the repository at this point in the history
fixed phpcs error.
  • Loading branch information
selul committed Apr 13, 2017
1 parent a7c06af commit 6381363
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 23 deletions.
1 change: 0 additions & 1 deletion classes/Visualizer/Module/Sources.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
// +----------------------------------------------------------------------+
// | Author: Eugene Manuilov <[email protected]> |
// +----------------------------------------------------------------------+

/**
* Sources module class.
*
Expand Down
26 changes: 13 additions & 13 deletions classes/Visualizer/Render/Library.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private function _renderLibrary() {
foreach ( $this->types as $type => $array ) {
if ( ! is_array( $array ) ) {
// support for old pro
$array = array( 'enabled' => true, 'name' => $array );
$array = array( 'enabled' => true, 'name' => $array );
}
$label = $array['name'];
$link = '<a class=" " href="' . esc_url( add_query_arg( array(
Expand Down Expand Up @@ -196,10 +196,10 @@ private function _renderChartBox( $placeholder_id, $chart_id ) {
* Render sidebar.
*/
private function _renderSidebar() {
$checked = apply_filters( 'visualizer_logger_flag', false );
$checked = ( $checked === false ) ? '' : 'checked';
echo '<div id="visualizer-sidebar">';
if ( ! VISUALIZER_PRO ) {
$checked = apply_filters( 'visualizer_logger_flag', false );
$checked = ( $checked === false ) ? '' : 'checked';
echo '<div id="visualizer-sidebar">';
echo '<div class="visualizer-sidebar-box">';
echo '<h3>' . __( 'Gain more editing power', 'visualizer' ) . '</h3><ul>';
echo '<li>' . __( 'Spreadsheet like editor', 'visualizer' ) . '</li>';
Expand All @@ -208,16 +208,16 @@ private function _renderSidebar() {
echo '<li>' . __( '3 more chart types', 'visualizer' ) . '</li></ul>';
echo '<a href="' . Visualizer_Plugin::PRO_TEASER_URL . '" target="_blank" class="button button-primary">' . __( 'View more features', 'visualizer' ) . '</a>';
echo '</div>';
echo '<div class="visualizer-sidebar-box visualizer-tracking">';
echo '<label class="visualizer-switch">';
echo '<input type="checkbox" ' . $checked . ' >';
echo '<div class="visualizer-slider visualizer-round"></div>';
echo '</label>';
echo '<span>' . __( 'Enable Tracking', 'visualizer' ) . '<sup>*</sup></span>';
echo '<p><small><sup>*</sup>' . __( 'Allow Visualizer to anonymously track how this plugin is used and help us make the plugin better. No sensitive data is tracked.', 'visualizer' ) . '</small></p>';
echo '</div>';
echo '</div>';
}
echo '<div class="visualizer-sidebar-box visualizer-tracking">';
echo '<label class="visualizer-switch">';
echo '<input type="checkbox" ' . $checked . ' >';
echo '<div class="visualizer-slider visualizer-round"></div>';
echo '</label>';
echo '<span>' . __( 'Enable Tracking', 'visualizer' ) . '<sup>*</sup></span>';
echo '<p><small><sup>*</sup>' . __( 'Allow Visualizer to anonymously track how this plugin is used and help us make the plugin better. No sensitive data is tracked.', 'visualizer' ) . '</small></p>';
echo '</div>';
echo '</div>';
}

}
71 changes: 62 additions & 9 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ The plugin uses Google Visualization API to add responsive & animated charts/dia
> * Import data from other charts
> * Easy edit the data using a live editor
> * 3 more chart types ( Combo, Timeline and Table chart )
> * Auto synchronize with your online file.
> * Priority email support from the developer of the plugin
> * Support and updates for 1 year
>
> **[Learn more about Visualizer PRO](http://themeisle.com/plugins/visualizer-charts-and-graphs-pro-addon/)**
> **[Learn more about Visualizer PRO](http://themeisle.com/plugins/visualizer-charts-and-graphs/)**


### 9 Chart types + 3 more in the pro version ###
Expand All @@ -39,15 +40,22 @@ Charts are rendered using HTML5/SVG technology to provide cross-browser compatib

The plugins works perfectly with the all <a href="http://justfreethemes.com" rel="nofollow">free</a> or <a href="http://www.codeinwp.com/blog/best-wordpress-themes/" rel="nofollow">premium WordPress themes</a>

### Knowledge Base ###

1. [How can I create a chart?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-create-a-chart%3F)
1. [How can I edit a chart?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-edit-a-chart%3F)
1. [How can I clone a chart?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-clone-a-chart%3F)
1. [How can I delete a chart?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-delete-a-chart%3F)
1. [How can I highlight a single bar?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-highlight-a-single-bar%3F)
1. [How can I populate chart series and data dynamically?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-populate-chart-series-and-data-dynamically%3F)
1. [How can I populate data from Google Spreadsheet?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-populate-data-from-Google-Spreadsheet%3F)
= See how Visualizer can integrate with your website =

* [Create line chart ](https://demo.themeisle.com/visualizer/line-chart/)
* [Create pie chart ](https://demo.themeisle.com/visualizer/pie-chart/)
* [Create bar chart](https://demo.themeisle.com/visualizer/bar-chart/)
* [Create column chart](https://demo.themeisle.com/visualizer/column-chart/)
* [Create area chart](https://demo.themeisle.com/visualizer/area-chart/)
* [Create geo chart](https://demo.themeisle.com/visualizer/geo-chart/)
* [Create table chart](https://demo.themeisle.com/visualizer/table-chart/)
* [Create gauge chart](https://demo.themeisle.com/visualizer/gauge-chart//)
* [Create candlestick chart](https://demo.themeisle.com/visualizer/candlestick-chart/)
* [Create combo chart](https://demo.themeisle.com/visualizer/combo-chart/)
* [Create scatter chart](https://demo.themeisle.com/visualizer/scatter-chart/)
* [Create timeline chart](https://demo.themeisle.com/visualizer/timeline-chart/)


== Installation ==

Expand All @@ -60,6 +68,46 @@ The plugins works perfectly with the all <a href="http://justfreethemes.com" rel

Pay attention that to turn your shortcodes into graphs, your theme has to have `<?php wp_footer(); ?>` call at the bottom of **footer.php** file.

= How can I create a chart? =

http://docs.themeisle.com/article/597-create-chart

= How can I edit a chart? =

http://docs.themeisle.com/article/602-how-can-i-edit-a-chart

= How can I delete a chart? =

http://docs.themeisle.com/article/600-delete-chart

= How can I clone a chart? =

http://docs.themeisle.com/article/598-clone-chart

= How can I highlight a single bar? =

http://docs.themeisle.com/article/603-how-can-i-highlight-a-single-bar

= How can I populate chart series and data dynamically? =

http://docs.themeisle.com/article/605-how-can-i-populate-chart-series-and-data-dynamically

= How can I populate data from Google Spreadsheet? =

http://docs.themeisle.com/article/607-how-can-i-populate-data-from-google-spreadsheet

= How can i import content from another chart? =

http://docs.themeisle.com/article/609-how-can-i-import-content-from-another-chart

= How to export a chart? =

http://docs.themeisle.com/article/608-how-to-export-a-chart

= How can i edit the data manually? =

http://docs.themeisle.com/article/610-how-can-i-edit-the-data-manually

== Screenshots ==

1. Chart type selection
Expand All @@ -70,6 +118,11 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `

== Changelog ==

= 2.0.0 =
* Improved design and layout to support multiple datasources.
* Added new integrations in the Pro version.
* Added opt-in for tracking.

= 1.7.6 =
* Fixed issue when using the same shortcode multiple times on the same page.

Expand Down

0 comments on commit 6381363

Please sign in to comment.