Plugin Directory

Changeset 370415


Ignore:
Timestamp:
04/08/2011 01:04:44 AM (15 years ago)
Author:
dugbug
Message:

2.9.8 checkin

Location:
easy-chart-builder/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • easy-chart-builder/trunk/easy-chart-builder-settings.php

    r352481 r370415  
    3838                '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.' ),
    3939            (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(
    4048                'title' => 'Hide Data Table',
    4149                'key' => 'DEF_HIDECHART',
    4250                'style' => 'max-width: 5em',
    4351                '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.' ),
    5363        )),         
    5464       
  • easy-chart-builder/trunk/easy-chart-builder.php

    r352791 r370415  
    22/*
    33Plugin Name: Easy Chart Builder
    4 Version: 0.9.7
     4Version: 0.9.8
    55Plugin URI: http://www.dyerware.com/main/easy-chart-builder
    66Description: Creates a chart directly in your post or page via shortcut.  Manages sizing of chart to support wptouch and other mobile themes.
     
    4747    var $DEF_PRECISION = "";
    4848    var $DEF_HIDECHART = false;
    49     var $DEF_IMAGEALT = "dyerware";
     49    var $DEF_IMAGEALT = "dyerware.com";
    5050    var $DEF_IMAGETITLE = "";
    5151    var $DEF_COLORS_1 = "0070C0";
     
    6262    var $DEF_COLORS_12 = "A370CC";
    6363    var $DEF_GRID = false;
     64    var $DEF_DATATABLE_TITLE = "Show/Hide Table Data";
     65    var $DEF_TABLEALWAYSOPEN = false;
    6466   
    6567    var $op;
     
    157159        $opnames = array(
    158160            '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',
    160162        );
    161163        $this->op = (object) array();
     
    362364                       
    363365        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        }
    369384        else
    370385           $dataShow = "";
  • easy-chart-builder/trunk/readme.txt

    r352791 r370415  
    55Tags: chart,graph,charts,graphs,line,review,rating,comparison,mobile,shortcode,dyerware
    66Requires at least: 2.8
    7 Tested up to: 3.1
    8 Stable tag: 0.9.7
     7Tested up to: 3.1.1
     8Stable tag: 0.9.8
    99
    1010This plugin allows you to easily create charts within your blog by use of shortcodes.
     
    7070
    7171== Upgrade Notice ==
     72
     73= 0.9.8 =
     74Added admin panel feature to customize the datatable button text
     75Added admin panel feature to always show the datatable (no button to show/hide).
    7276
    7377= 0.9.7 =
     
    113117
    114118== 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)
    115123
    116124= 0.9.7 =
Note: See TracChangeset for help on using the changeset viewer.