Changeset 756990
- Timestamp:
- 08/16/2013 04:07:25 AM (13 years ago)
- Location:
- rj-quickcharts/trunk
- Files:
-
- 6 edited
-
README.txt (modified) (4 diffs)
-
admin/rjqc-admin-new.php (modified) (6 diffs)
-
ajax/ajax.js (modified) (1 diff)
-
js/main.js (modified) (1 diff)
-
main.css (modified) (1 diff)
-
rj_charts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rj-quickcharts/trunk/README.txt
r754586 r756990 7 7 Requires at least: 3.0 8 8 Tested up to: 3.5.2 9 Stable tag: 0.5. 69 Stable tag: 0.5.7 10 10 11 11 Build Complex, Powerful HTML5 Bar Charts, Line Charts and Pie Charts in Just Minutes. No Programming Knowledge Required! … … 38 38 * Tooltips hover on chart data with custom suffix 39 39 * Working preview of chart as you build it 40 * Take screenshots of your chart and save as .png to use in presentations or slideshows! 40 41 41 42 = License = … … 62 63 * Localization 63 64 * Ability to disable X and Y axis labels 65 * Allow bar chart to run horizontally 64 66 65 67 = Feature Requests? = … … 74 76 75 77 == Changelog == 78 79 = 0.5.7 = 80 * You can now take screenshots of your chart right from the admin screen. Drag the chart area handle to change the width of your chart for the screenshot and just click 'Screenshot Chart'. Easy! 76 81 77 82 = 0.5.6 = -
rj-quickcharts/trunk/admin/rjqc-admin-new.php
r754586 r756990 118 118 </div> 119 119 </div> 120 <div id="rjqc-chart-resize-info"></div> 120 121 '; 121 122 … … 126 127 <div class="get-shortcode rjqc-button button">Save Chart</div> 127 128 <div class="save-message"></div> 128 < !--<div id="screenshot" class="rjqc-button button">Save Image</div>-->129 <div id="screenshot" class="rjqc-button button">Screenshot Chart</div> 129 130 <div class="cf"></div> 130 131 </div> … … 422 423 chartHeight = jQuery(this).val(); 423 424 if (chartHeight === '') { 424 jQuery('#rjqc-chart').height('300px'); 425 } else { 426 jQuery('#rjqc-chart').height(chartHeight+'px'); 427 } 425 chartHeight = '300' 426 } 427 428 jQuery('#rjqc-chart').height(chartHeight+'px'); 429 430 $('#rjqc-chart-resize').resizable({ 431 minHeight: parseInt(chartHeight)+60, 432 maxHeight: parseInt(chartHeight)+60, 433 minWidth: 400, 434 }); 435 428 436 chart.replot(); 429 437 }); … … 432 440 if (<? echo $legend ?> === 0) { 433 441 setTimeout(function(){ 434 jQuery('.jqplot-table-legend'). hide();442 jQuery('.jqplot-table-legend').remove(); 435 443 }, 150); 436 444 } … … 472 480 473 481 // Handle ability to resize chart 474 /*var handleResizer = function() { 475 rjqc.buildChart(chartOpts, theYData, series); 482 var handleResizer = function() { 483 jQuery('#rjqc-chart-resize-info') 484 .css({ 485 'padding':'5px 0 0 5px', 486 'color':'#e42217' 487 }) 488 .text('* Please note that resizing the chart is only for \ 489 taking screenshots and will not reflect the acutal \ 490 size of the chart in your posts.'); 491 rjqc.buildOutQuickchartLive(jQuery('#chart-type select').val(), chart, chartOpts); 476 492 } 477 493 $('#rjqc-chart-resize').resizable({ 478 minHeight: 360, 494 minHeight: parseInt(<?= $chart_height ?>)+60, 495 maxHeight: parseInt(<?= $chart_height ?>)+60, 479 496 minWidth: 400, 480 497 }); … … 483 500 // Handle screenshot button 484 501 $('#screenshot').click(function() { 502 jQuery('#rjqc-chart-resize-info') 503 .css({ 504 'padding':'5px 0 0 5px', 505 'color':'#e42217' 506 }) 507 .text('* Change the size of the chart for your screenshot \ 508 with the draggable handle above.'); 485 509 var imgData = $('#rjqc-chart').jqplotToImageStr({}); 486 510 var imgElem = $('<img/>').attr('src',imgData); 487 511 window.open(imgData); 488 }); */512 }); 489 513 })(jQuery); 490 514 </script> -
rj-quickcharts/trunk/ajax/ajax.js
r740035 r756990 152 152 cache: false, 153 153 success: function (response) { 154 $('.save-message').html('Chart Saved!'). delay(3000).queue(function() {154 $('.save-message').html('Chart Saved!').stop().delay(4000).queue(function() { 155 155 $(this).html(''); 156 156 }); -
rj-quickcharts/trunk/js/main.js
r737214 r756990 322 322 // Handle legend hiding on the client 323 323 if(chartLegend === false) { 324 jQuery('.jqplot-table-legend'). hide();324 jQuery('.jqplot-table-legend').remove(); 325 325 } else { 326 326 jQuery('.jqplot-table-legend').show(); -
rj-quickcharts/trunk/main.css
r754586 r756990 87 87 88 88 .save-message { 89 padding: 3px 0 0 90px; 89 float: left; 90 padding: 3px 0 0 10px; 90 91 } 91 92 -
rj-quickcharts/trunk/rj_charts.php
r754586 r756990 4 4 Plugin URI: http://www.randyjensen.com 5 5 Description: Easily create charts for your WordPress site. Line charts, bar charts and pie charts currently supported. 6 Version: 0.5. 66 Version: 0.5.7 7 7 Author: Randy Jensen 8 8 Author URI: http://www.randyjensen.com … … 15 15 global $table_name; 16 16 17 $rjqc_db_version = '0.5. 6';17 $rjqc_db_version = '0.5.7'; 18 18 $table_name = $wpdb->prefix . 'rj_quickcharts'; 19 19
Note: See TracChangeset
for help on using the changeset viewer.