Plugin Directory

Changeset 741285


Ignore:
Timestamp:
07/15/2013 08:45:36 PM (13 years ago)
Author:
randyjensen
Message:

charts now responsive when window resized

Location:
rj-quickcharts/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • rj-quickcharts/trunk/README.txt

    r740035 r741285  
    77Requires at least: 3.0
    88Tested up to: 3.5.2
    9 Stable tag: 0.5.2
     9Stable tag: 0.5.3
    1010
    1111Create incredible HTML5/JavaScript charts right inside WordPress with a few clicks.
     
    3232== Frequently Asked Questions ==
    3333
     34= Floating Point Numbers Not Being Saved =
     35* Try deleting the plugin and re-installing it. Your chart data will not be deleted.
     36
    3437= In the Works =
    3538* Localization
     
    4750
    4851== Changelog ==
     52
     53= 0.5.3 =
     54* Charts now resize automatically when window is resized if theme is reponsive
     55* More styling fixes to work with more themes
    4956
    5057= 0.5.2 =
  • rj-quickcharts/trunk/css/jquery.jqplot.css

    r732243 r741285  
    284284    color: white;
    285285}
     286
     287.jqplot-target table,
     288.jqplot-target .content table,
     289.jqplot-table-legend {
     290    min-width: inherit!important;
     291}
     292
     293.jqplot-table-legend:hover,
     294.jqplot-table-legend td:hover {
     295    background: none!important;
     296}
     297
     298.jqplot-table-legend tbody tr:hover th.jqplot-table-legend-swatch,
     299.jqplot-table-legend tbody tr:hover th.jqplot-table-legend-label,
     300.jqplot-table-legend tbody tr:hover td.jqplot-table-legend-swatch,
     301.jqplot-table-legend tbody tr:hover td.jqplot-table-legend-label {
     302    background: none!important;
     303}
  • rj-quickcharts/trunk/css/jquery.jqplot.min.css

    r732243 r741285  
    1 .jqplot-target{position:relative;color:#666;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:1em}.jqplot-axis{font-size:.75em}.jqplot-xaxis{margin-top:10px}.jqplot-x2axis{margin-bottom:10px}.jqplot-yaxis{margin-right:10px}.jqplot-y2axis,.jqplot-y3axis,.jqplot-y4axis,.jqplot-y5axis,.jqplot-y6axis,.jqplot-y7axis,.jqplot-y8axis,.jqplot-y9axis,.jqplot-yMidAxis{margin-left:10px;margin-right:10px}.jqplot-axis-tick,.jqplot-xaxis-tick,.jqplot-yaxis-tick,.jqplot-x2axis-tick,.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick,.jqplot-yMidAxis-tick{position:absolute;white-space:pre}.jqplot-xaxis-tick{top:0;left:15px;vertical-align:top}.jqplot-x2axis-tick{bottom:0;left:15px;vertical-align:bottom}.jqplot-yaxis-tick{right:0;top:15px;text-align:right}.jqplot-yaxis-tick.jqplot-breakTick{right:-20px;margin-right:0;padding:1px 5px;z-index:2;font-size:1.5em}.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick{left:0;top:15px;text-align:left}.jqplot-yMidAxis-tick{text-align:center;white-space:nowrap}.jqplot-xaxis-label{margin-top:10px;font-size:11pt;position:absolute}.jqplot-x2axis-label{margin-bottom:10px;font-size:11pt;position:absolute}.jqplot-yaxis-label{margin-right:10px;font-size:11pt;position:absolute}.jqplot-yMidAxis-label{font-size:11pt;position:absolute}.jqplot-y2axis-label,.jqplot-y3axis-label,.jqplot-y4axis-label,.jqplot-y5axis-label,.jqplot-y6axis-label,.jqplot-y7axis-label,.jqplot-y8axis-label,.jqplot-y9axis-label{font-size:11pt;margin-left:10px;position:absolute}.jqplot-meterGauge-tick{font-size:.75em;color:#999}.jqplot-meterGauge-label{font-size:1em;color:#999}table.jqplot-table-legend{margin-top:12px;margin-bottom:12px;margin-left:12px;margin-right:7px}table.jqplot-table-legend,table.jqplot-cursor-legend{background-color:rgba(255,255,255,.6);border:0;position:absolute;font-size:.75em}td.jqplot-table-legend{vertical-align:middle}td.jqplot-seriesToggle:hover,td.jqplot-seriesToggle:active{cursor:pointer}.jqplot-table-legend .jqplot-series-hidden{text-decoration:line-through}div.jqplot-table-legend-swatch-outline{border:1px solid #ccc}div.jqplot-table-legend-swatch{width:0;height:0;border-top-width:5px;border-bottom-width:5px;border-left-width:6px;border-right-width:6px;border-top-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-style:solid}.jqplot-table-legend-label{padding-right:5px}.jqplot-title{top:0;left:0;padding-bottom:3px;font-size:1.2em;margin-bottom:5px}table.jqplot-cursor-tooltip{border:1px solid #ccc;font-size:.75em}.jqplot-cursor-tooltip{border:1px solid #ccc;font-size:.75em;white-space:nowrap;background:rgba(208,208,208,.5);padding:1px}.jqplot-highlighter-tooltip,.jqplot-canvasOverlay-tooltip{border:1px solid #ccc;font-size:13px;white-space:nowrap;background:#fff;padding:0 6px;border-radius:3px}.jqplot-point-label{font-size:.75em;z-index:2}td.jqplot-cursor-legend-swatch{vertical-align:middle;text-align:center}div.jqplot-cursor-legend-swatch{width:1.2em;height:.7em}.jqplot-error{text-align:center}.jqplot-error-message{position:relative;top:46%;display:inline-block}div.jqplot-bubble-label{font-size:.8em;padding-left:2px;padding-right:2px;color:rgb(20%,20%,20%)}div.jqplot-bubble-label.jqplot-bubble-label-highlight{background:rgba(90%,90%,90%,.7)}div.jqplot-noData-container{text-align:center;background-color:rgba(96%,96%,96%,.3)}table.jqplot-table-legend,table.jqplot-table-legend{border-bottom:0;margin:0;width:auto}.jqplot-table-legend td,.jqplot-table-legend td{border:0!important;padding:6px 10px 6px 0!important}.jqplot-highlighter-tooltip,.jqplot-canvasOverlay-tooltip{padding:3px 6px;z-index:999}.jqplot-pie-series.jqplot-data-label{color:#fff}
     1.jqplot-target{position:relative;color:#666;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:1em}.jqplot-axis{font-size:.75em}.jqplot-xaxis{margin-top:10px}.jqplot-x2axis{margin-bottom:10px}.jqplot-yaxis{margin-right:10px}.jqplot-y2axis,.jqplot-y3axis,.jqplot-y4axis,.jqplot-y5axis,.jqplot-y6axis,.jqplot-y7axis,.jqplot-y8axis,.jqplot-y9axis,.jqplot-yMidAxis{margin-left:10px;margin-right:10px}.jqplot-axis-tick,.jqplot-xaxis-tick,.jqplot-yaxis-tick,.jqplot-x2axis-tick,.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick,.jqplot-yMidAxis-tick{position:absolute;white-space:pre}.jqplot-xaxis-tick{top:0;left:15px;vertical-align:top}.jqplot-x2axis-tick{bottom:0;left:15px;vertical-align:bottom}.jqplot-yaxis-tick{right:0;top:15px;text-align:right}.jqplot-yaxis-tick.jqplot-breakTick{right:-20px;margin-right:0;padding:1px 5px;z-index:2;font-size:1.5em}.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick{left:0;top:15px;text-align:left}.jqplot-yMidAxis-tick{text-align:center;white-space:nowrap}.jqplot-xaxis-label{margin-top:10px;font-size:11pt;position:absolute}.jqplot-x2axis-label{margin-bottom:10px;font-size:11pt;position:absolute}.jqplot-yaxis-label{margin-right:10px;font-size:11pt;position:absolute}.jqplot-yMidAxis-label{font-size:11pt;position:absolute}.jqplot-y2axis-label,.jqplot-y3axis-label,.jqplot-y4axis-label,.jqplot-y5axis-label,.jqplot-y6axis-label,.jqplot-y7axis-label,.jqplot-y8axis-label,.jqplot-y9axis-label{font-size:11pt;margin-left:10px;position:absolute}.jqplot-meterGauge-tick{font-size:.75em;color:#999}.jqplot-meterGauge-label{font-size:1em;color:#999}table.jqplot-table-legend{margin-top:12px;margin-bottom:12px;margin-left:12px;margin-right:7px}table.jqplot-table-legend,table.jqplot-cursor-legend{background-color:rgba(255,255,255,.6);border:0;position:absolute;font-size:.75em}td.jqplot-table-legend{vertical-align:middle}td.jqplot-seriesToggle:hover,td.jqplot-seriesToggle:active{cursor:pointer}.jqplot-table-legend .jqplot-series-hidden{text-decoration:line-through}div.jqplot-table-legend-swatch-outline{border:1px solid #ccc}div.jqplot-table-legend-swatch{width:0;height:0;border-top-width:5px;border-bottom-width:5px;border-left-width:6px;border-right-width:6px;border-top-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-style:solid}.jqplot-table-legend-label{padding-right:5px}.jqplot-title{top:0;left:0;padding-bottom:3px;font-size:1.2em;margin-bottom:5px}table.jqplot-cursor-tooltip{border:1px solid #ccc;font-size:.75em}.jqplot-cursor-tooltip{border:1px solid #ccc;font-size:.75em;white-space:nowrap;background:rgba(208,208,208,.5);padding:1px}.jqplot-highlighter-tooltip,.jqplot-canvasOverlay-tooltip{border:1px solid #ccc;font-size:13px;white-space:nowrap;background:#fff;padding:0 6px;border-radius:3px}.jqplot-point-label{font-size:.75em;z-index:2}td.jqplot-cursor-legend-swatch{vertical-align:middle;text-align:center}div.jqplot-cursor-legend-swatch{width:1.2em;height:.7em}.jqplot-error{text-align:center}.jqplot-error-message{position:relative;top:46%;display:inline-block}div.jqplot-bubble-label{font-size:.8em;padding-left:2px;padding-right:2px;color:rgb(20%,20%,20%)}div.jqplot-bubble-label.jqplot-bubble-label-highlight{background:rgba(90%,90%,90%,.7)}div.jqplot-noData-container{text-align:center;background-color:rgba(96%,96%,96%,.3)}table.jqplot-table-legend,table.jqplot-table-legend{border-bottom:0;margin:0;width:auto}.jqplot-table-legend td,.jqplot-table-legend td{border:0!important;padding:6px 10px 6px 0!important}.jqplot-highlighter-tooltip,.jqplot-canvasOverlay-tooltip{padding:3px 6px;z-index:999}.jqplot-pie-series.jqplot-data-label{color:#fff}.jqplot-target table,.jqplot-target .content table,.jqplot-table-legend{min-width:inherit!important}.jqplot-table-legend:hover,.jqplot-table-legend td:hover{background:none!important}.jqplot-table-legend tbody tr:hover th.jqplot-table-legend-swatch,.jqplot-table-legend tbody tr:hover th.jqplot-table-legend-label,.jqplot-table-legend tbody tr:hover td.jqplot-table-legend-swatch,.jqplot-table-legend tbody tr:hover td.jqplot-table-legend-label{background:none!important}
  • rj-quickcharts/trunk/rj_charts.php

    r740035 r741285  
    44Plugin URI: http://www.randyjensen.com
    55Description: Easily create charts for your WordPress site. Line charts, bar charts and pie charts currently supported.
    6 Version: 0.5.2
     6Version: 0.5.3
    77Author: Randy Jensen
    88Author URI: http://www.randyjensen.com
     
    1515    global $table_name;
    1616
    17     $rjqc_db_version = '0.5.2';
     17    $rjqc_db_version = '0.5.3';
    1818    $table_name = $wpdb->prefix . 'rj_quickcharts';
    1919
  • rj-quickcharts/trunk/shortcode/init.php

    r738987 r741285  
    130130                                    }";
    131131
    132                 $return_string .= "chart = jQuery.jqplot('rjqc_container_$id', $series, {
     132                $return_string .= "chart_$id = jQuery.jqplot('rjqc_container_$id', $series, {
    133133                                    seriesDefaults: {
    134134                                        renderer: r,
     
    224224                                    jQuery('.jqplot-highlighter-tooltip').html('' + data[1] + '$tooltipSuffix');
    225225                                });
     226                                $(window).resize(function() {
     227                                    chart_$id.replot( { resetAxes: true } );
     228                                });
    226229                                ";
    227230
Note: See TracChangeset for help on using the changeset viewer.