Changeset 370415
- Timestamp:
- 04/08/2011 01:04:44 AM (15 years ago)
- Location:
- easy-chart-builder/trunk
- Files:
-
- 3 edited
-
easy-chart-builder-settings.php (modified) (1 diff)
-
easy-chart-builder.php (modified) (5 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-chart-builder/trunk/easy-chart-builder-settings.php
r352481 r370415 38 38 'help' => 'The default width in pixels for the chart (height). Keep in mind this is only used to construct the aspect ratio. The plugin scales the chart to the space available.' ), 39 39 (object) array( 40 'title' => 'Chart Title', 41 'key' => 'DEF_TITLE', 42 'help' => 'The default title that will appear on top of the chart (title).' ), 43 (object) array( 44 'title' => 'Chart Grid', 45 'key' => 'DEF_GRID', 46 'help' => 'The default setting for showing a grid behind the chart (grid).' ), 47 (object) array( 40 48 'title' => 'Hide Data Table', 41 49 'key' => 'DEF_HIDECHART', 42 50 'style' => 'max-width: 5em', 43 51 'text' => 'Hide the data table', 44 'help' => 'The default option for hiding the data table (hidechartdata).' ), 45 (object) array( 46 'title' => 'Chart Title', 47 'key' => 'DEF_TITLE', 48 'help' => 'The default title that will appear on top of the chart (title).' ), 49 (object) array( 50 'title' => 'Chart Grid', 51 'key' => 'DEF_GRID', 52 'help' => 'The default setting for showing a grid behind the chart (grid).' ), 52 'help' => 'The default option for hiding the data table (hidechartdata).' ), 53 (object) array( 54 'title' => 'Table Always Open', 55 'key' => 'DEF_TABLEALWAYSOPEN', 56 'style' => 'max-width: 5em', 57 'text' => 'Table data is always open (if shown)', 58 'help' => 'The data table will have no show/hide button.' ), 59 (object) array( 60 'title' => 'Data Table Title', 61 'key' => 'DEF_DATATABLE_TITLE', 62 'help' => 'The title that will appear on top of the data table.' ), 53 63 )), 54 64 -
easy-chart-builder/trunk/easy-chart-builder.php
r352791 r370415 2 2 /* 3 3 Plugin Name: Easy Chart Builder 4 Version: 0.9. 74 Version: 0.9.8 5 5 Plugin URI: http://www.dyerware.com/main/easy-chart-builder 6 6 Description: Creates a chart directly in your post or page via shortcut. Manages sizing of chart to support wptouch and other mobile themes. … … 47 47 var $DEF_PRECISION = ""; 48 48 var $DEF_HIDECHART = false; 49 var $DEF_IMAGEALT = "dyerware ";49 var $DEF_IMAGEALT = "dyerware.com"; 50 50 var $DEF_IMAGETITLE = ""; 51 51 var $DEF_COLORS_1 = "0070C0"; … … 62 62 var $DEF_COLORS_12 = "A370CC"; 63 63 var $DEF_GRID = false; 64 var $DEF_DATATABLE_TITLE = "Show/Hide Table Data"; 65 var $DEF_TABLEALWAYSOPEN = false; 64 66 65 67 var $op; … … 157 159 $opnames = array( 158 160 'DEF_TYPE', 'DEF_WIDTH', 'DEF_HEIGHT', 'DEF_TITLE', 'DEF_MARKERCOLOR', 'DEF_CHARTCOLOR', 'DEF_CHARTFADECOLOR', 'DEF_TABLECSS', 'DEF_IMGSTYLE', 'DEF_WATERMARKCOLOR', 'DEF_CURRENCY', 'DEF_PRECISION','DEF_HIDECHART', 'DEF_IMAGEALT', 'DEF_IMAGETITLE', 'DEF_COLORS_1', 159 'DEF_COLORS_2', 'DEF_COLORS_3', 'DEF_COLORS_4', 'DEF_COLORS_5', 'DEF_COLORS_6', 'DEF_COLORS_7', 'DEF_COLORS_8', 'DEF_COLORS_9', 'DEF_COLORS_10', 'DEF_COLORS_11', 'DEF_COLORS_12', 'DEF_GRID', 161 'DEF_COLORS_2', 'DEF_COLORS_3', 'DEF_COLORS_4', 'DEF_COLORS_5', 'DEF_COLORS_6', 'DEF_COLORS_7', 'DEF_COLORS_8', 'DEF_COLORS_9', 'DEF_COLORS_10', 'DEF_COLORS_11', 'DEF_COLORS_12', 'DEF_GRID', 'DEF_DATATABLE_TITLE', 'DEF_TABLEALWAYSOPEN', 160 162 ); 161 163 $this->op = (object) array(); … … 362 364 363 365 if ($chartConfig['hidechartdata'] == false) 364 $dataShow = "<br/><br/><INPUT type='button' value='Show/Hide Table Data' onclick='wpEasyChartToggle(" 365 .$tableDiv 366 .");' style='text-align:center;' align='center' ><br/><div class='easyChartBuilder' id=" 367 .$tableDiv 368 ." style='text-align:center;display:none;' align='center'></div>"; 366 { 367 if ($this->DEF_TABLEALWAYSOPEN == true) 368 { 369 $dataShow = "<div class='easyChartBuilder' id=" 370 .$tableDiv 371 ." style='text-align:center;display:block;' align='center'></div>"; 372 } 373 else 374 { 375 $dataShow = "<br/><br/><INPUT type='button' value='" 376 .$this->DEF_DATATABLE_TITLE 377 ."' onclick='wpEasyChartToggle(" 378 .$tableDiv 379 .");' style='text-align:center;' align='center' ><br/><div class='easyChartBuilder' id=" 380 .$tableDiv 381 ." style='text-align:center;display:none;' align='center'></div>"; 382 } 383 } 369 384 else 370 385 $dataShow = ""; -
easy-chart-builder/trunk/readme.txt
r352791 r370415 5 5 Tags: chart,graph,charts,graphs,line,review,rating,comparison,mobile,shortcode,dyerware 6 6 Requires at least: 2.8 7 Tested up to: 3.1 8 Stable tag: 0.9. 77 Tested up to: 3.1.1 8 Stable tag: 0.9.8 9 9 10 10 This plugin allows you to easily create charts within your blog by use of shortcodes. … … 70 70 71 71 == Upgrade Notice == 72 73 = 0.9.8 = 74 Added admin panel feature to customize the datatable button text 75 Added admin panel feature to always show the datatable (no button to show/hide). 72 76 73 77 = 0.9.7 = … … 113 117 114 118 == Changelog == 119 120 = 0.9.8 = 121 * Added admin panel feature to customize the datatable button text 122 * Added admin panel feature to always show the datatable (no button to show/hide) 115 123 116 124 = 0.9.7 =
Note: See TracChangeset
for help on using the changeset viewer.