Plugin Directory

Changeset 737222


Ignore:
Timestamp:
07/07/2013 03:40:18 AM (13 years ago)
Author:
randyjensen
Message:

fixed bug in new colors array

Location:
rj-quickcharts/trunk
Files:
3 edited

Legend:

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

    r737219 r737222  
    77Requires at least: 3.0
    88Tested up to: 3.5.2
    9 Stable tag: 0.4.3
     9Stable tag: 0.5.0
    1010
    1111Create incredible HTML5/JavaScript charts right inside WordPress with a few clicks.
     
    4040== Changelog ==
    4141
     42= 0.5.0 =
     43* Ability to set custom colors for bar charts, line charts and pie charts
     44
    4245= 0.4.3 =
    4346* Ability to set the chart height
  • rj-quickcharts/trunk/admin/rjqc-admin-new.php

    r737219 r737222  
    2626    $opts           = json_decode($chart[0]->opts);
    2727    $chart_height   = $opts->height;
    28     $series_colors  = $opts->seriesColors;
     28    if ($opts->seriesColors) {
     29        $series_colors = $opts->seriesColors;
     30    }
    2931
    3032    echo '<input id="rjqc-chart-id" type="hidden" value="'.$id.'" />';
     
    7274                </label>
    7375                <div class="cf"></div>
    74                 <!--<p id="change-chart-colors">Change Chart Colors?</p>
     76                <p id="change-chart-colors">Change Chart Colors?</p>
    7577                <div id="change-chart-colors-area">
    7678                    <label>1. <input type="text" class="chart-color" id="chart-color-1" data-color="1" value="'.$series_colors[0].'" /></label>
     
    8486                    <label>9. <input type="text" class="chart-color" id="chart-color-9" data-color="9" value="'.$series_colors[8].'" /></label>
    8587                    <label>10. <input type="text" class="chart-color" id="chart-color-10" data-color="10" value="'.$series_colors[9].'" /></label>
    86                 </div>-->
     88                </div>
    8789            </form>
    8890            <div class="cf"></div>
  • rj-quickcharts/trunk/rj_charts.php

    r737219 r737222  
    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.4.3
     6Version: 0.5.0
    77Author: Randy Jensen
    88Author URI: http://www.randyjensen.com
     
    1515    global $table_name;
    1616
    17     $rjqc_db_version = '0.4.3';
     17    $rjqc_db_version = '0.5.0';
    1818    $table_name = $wpdb->prefix . 'rj_quickcharts';
    1919
Note: See TracChangeset for help on using the changeset viewer.