Skip to content

Commit 6381363

Browse files
committed
added readme.
fixed phpcs error.
1 parent a7c06af commit 6381363

File tree

3 files changed

+75
-23
lines changed

3 files changed

+75
-23
lines changed

classes/Visualizer/Module/Sources.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
// +----------------------------------------------------------------------+
1919
// | Author: Eugene Manuilov <[email protected]> |
2020
// +----------------------------------------------------------------------+
21-
2221
/**
2322
* Sources module class.
2423
*

classes/Visualizer/Render/Library.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private function _renderLibrary() {
8383
foreach ( $this->types as $type => $array ) {
8484
if ( ! is_array( $array ) ) {
8585
// support for old pro
86-
$array = array( 'enabled' => true, 'name' => $array );
86+
$array = array( 'enabled' => true, 'name' => $array );
8787
}
8888
$label = $array['name'];
8989
$link = '<a class=" " href="' . esc_url( add_query_arg( array(
@@ -196,10 +196,10 @@ private function _renderChartBox( $placeholder_id, $chart_id ) {
196196
* Render sidebar.
197197
*/
198198
private function _renderSidebar() {
199-
$checked = apply_filters( 'visualizer_logger_flag', false );
200-
$checked = ( $checked === false ) ? '' : 'checked';
201-
echo '<div id="visualizer-sidebar">';
202199
if ( ! VISUALIZER_PRO ) {
200+
$checked = apply_filters( 'visualizer_logger_flag', false );
201+
$checked = ( $checked === false ) ? '' : 'checked';
202+
echo '<div id="visualizer-sidebar">';
203203
echo '<div class="visualizer-sidebar-box">';
204204
echo '<h3>' . __( 'Gain more editing power', 'visualizer' ) . '</h3><ul>';
205205
echo '<li>' . __( 'Spreadsheet like editor', 'visualizer' ) . '</li>';
@@ -208,16 +208,16 @@ private function _renderSidebar() {
208208
echo '<li>' . __( '3 more chart types', 'visualizer' ) . '</li></ul>';
209209
echo '<a href="' . Visualizer_Plugin::PRO_TEASER_URL . '" target="_blank" class="button button-primary">' . __( 'View more features', 'visualizer' ) . '</a>';
210210
echo '</div>';
211+
echo '<div class="visualizer-sidebar-box visualizer-tracking">';
212+
echo '<label class="visualizer-switch">';
213+
echo '<input type="checkbox" ' . $checked . ' >';
214+
echo '<div class="visualizer-slider visualizer-round"></div>';
215+
echo '</label>';
216+
echo '<span>' . __( 'Enable Tracking', 'visualizer' ) . '<sup>*</sup></span>';
217+
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>';
218+
echo '</div>';
219+
echo '</div>';
211220
}
212-
echo '<div class="visualizer-sidebar-box visualizer-tracking">';
213-
echo '<label class="visualizer-switch">';
214-
echo '<input type="checkbox" ' . $checked . ' >';
215-
echo '<div class="visualizer-slider visualizer-round"></div>';
216-
echo '</label>';
217-
echo '<span>' . __( 'Enable Tracking', 'visualizer' ) . '<sup>*</sup></span>';
218-
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>';
219-
echo '</div>';
220-
echo '</div>';
221221
}
222222

223223
}

readme.txt

Lines changed: 62 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ The plugin uses Google Visualization API to add responsive & animated charts/dia
2020
> * Import data from other charts
2121
> * Easy edit the data using a live editor
2222
> * 3 more chart types ( Combo, Timeline and Table chart )
23+
> * Auto synchronize with your online file.
2324
> * Priority email support from the developer of the plugin
2425
> * Support and updates for 1 year
2526
>
26-
> **[Learn more about Visualizer PRO](http://themeisle.com/plugins/visualizer-charts-and-graphs-pro-addon/)**
27+
> **[Learn more about Visualizer PRO](http://themeisle.com/plugins/visualizer-charts-and-graphs/)**
2728

2829

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

4041
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>
4142

42-
### Knowledge Base ###
4343

44-
1. [How can I create a chart?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-create-a-chart%3F)
45-
1. [How can I edit a chart?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-edit-a-chart%3F)
46-
1. [How can I clone a chart?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-clone-a-chart%3F)
47-
1. [How can I delete a chart?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-delete-a-chart%3F)
48-
1. [How can I highlight a single bar?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-highlight-a-single-bar%3F)
49-
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)
50-
1. [How can I populate data from Google Spreadsheet?](https://github.com/madpixelslabs/visualizer/wiki/How-can-I-populate-data-from-Google-Spreadsheet%3F)
44+
= See how Visualizer can integrate with your website =
45+
46+
* [Create line chart ](https://demo.themeisle.com/visualizer/line-chart/)
47+
* [Create pie chart ](https://demo.themeisle.com/visualizer/pie-chart/)
48+
* [Create bar chart](https://demo.themeisle.com/visualizer/bar-chart/)
49+
* [Create column chart](https://demo.themeisle.com/visualizer/column-chart/)
50+
* [Create area chart](https://demo.themeisle.com/visualizer/area-chart/)
51+
* [Create geo chart](https://demo.themeisle.com/visualizer/geo-chart/)
52+
* [Create table chart](https://demo.themeisle.com/visualizer/table-chart/)
53+
* [Create gauge chart](https://demo.themeisle.com/visualizer/gauge-chart//)
54+
* [Create candlestick chart](https://demo.themeisle.com/visualizer/candlestick-chart/)
55+
* [Create combo chart](https://demo.themeisle.com/visualizer/combo-chart/)
56+
* [Create scatter chart](https://demo.themeisle.com/visualizer/scatter-chart/)
57+
* [Create timeline chart](https://demo.themeisle.com/visualizer/timeline-chart/)
58+
5159

5260
== Installation ==
5361

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

6169
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.
6270

71+
= How can I create a chart? =
72+
73+
http://docs.themeisle.com/article/597-create-chart
74+
75+
= How can I edit a chart? =
76+
77+
http://docs.themeisle.com/article/602-how-can-i-edit-a-chart
78+
79+
= How can I delete a chart? =
80+
81+
http://docs.themeisle.com/article/600-delete-chart
82+
83+
= How can I clone a chart? =
84+
85+
http://docs.themeisle.com/article/598-clone-chart
86+
87+
= How can I highlight a single bar? =
88+
89+
http://docs.themeisle.com/article/603-how-can-i-highlight-a-single-bar
90+
91+
= How can I populate chart series and data dynamically? =
92+
93+
http://docs.themeisle.com/article/605-how-can-i-populate-chart-series-and-data-dynamically
94+
95+
= How can I populate data from Google Spreadsheet? =
96+
97+
http://docs.themeisle.com/article/607-how-can-i-populate-data-from-google-spreadsheet
98+
99+
= How can i import content from another chart? =
100+
101+
http://docs.themeisle.com/article/609-how-can-i-import-content-from-another-chart
102+
103+
= How to export a chart? =
104+
105+
http://docs.themeisle.com/article/608-how-to-export-a-chart
106+
107+
= How can i edit the data manually? =
108+
109+
http://docs.themeisle.com/article/610-how-can-i-edit-the-data-manually
110+
63111
== Screenshots ==
64112

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

71119
== Changelog ==
72120

121+
= 2.0.0 =
122+
* Improved design and layout to support multiple datasources.
123+
* Added new integrations in the Pro version.
124+
* Added opt-in for tracking.
125+
73126
= 1.7.6 =
74127
* Fixed issue when using the same shortcode multiple times on the same page.
75128

0 commit comments

Comments
 (0)