Plugin Directory

Changeset 343299


Ignore:
Timestamp:
02/09/2011 08:54:02 PM (15 years ago)
Author:
frold
Message:

Google Chart color palettes and markers for the bar type - fixes

Location:
runners-log/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • runners-log/trunk/readme.txt

    r343197 r343299  
    71718. Runners Log support the following short codes when you want to use Google Chart
    7272    * `[runners_log_gchart type="pie" format="d" year="2010" month="May" color="224499" width="600" height="300"]`
    73 Type: bar, graph, pie, 3dpie
    74 Format: d="distance", ds="distance sum", ts="time sum",  cs="calories sum", p="pulse average"
    75 Year: 2009, 2010, 2011
    76 Month: Jan, Feb, Marts, April, May, June, July, Aug, Sep, Oct, Nov, Dec
    77 Color: Is the color scheme used eg: "224499" for the html color #224499
    78 Width: The width of the chart: Default: 475 pixel
    79 Height: The height of the chart: Default: 250 pixel
     73
     74    *Type: bar, graph, pie, 3dpie
     75    *Format: d="distance", ds="distance sum", ts="time sum",  cs="calories sum", p="pulse average"
     76    *Year: 2009, 2010, 2011
     77    *Month: Jan, Feb, Marts, April, May, June, July, Aug, Sep, Oct, Nov, Dec
     78    *Color: Is the color scheme used eg: "224499" for the html color #224499
     79    *Width: The width of the chart: Default: 475 pixel
     80    *Height: The height of the chart: Default: 250 pixel
    8081
    8182== Frequently Asked Questions ==
     
    101102Eg: `[runners_log_gchart type="pie" format="d" year="2010" month="May" color="224499" width="600" height="300"]`
    102103
    103 Type: bar, graph, pie, 3dpie
    104 Format: d="distance", ds="distance sum", ts="time sum",  cs="calories sum", p="pulse average"
    105 Year: 2009, 2010, 2011
    106 Month: Jan, Feb, Marts, April, May, June, July, Aug, Sep, Oct, Nov, Dec
    107 Color: Is the color scheme used eg: "224499" for the html color #224499
    108 Width: The width of the chart: Default: 475 pixel
    109 Height: The height of the chart: Default: 250 pixel
     104    *Type: bar, graph, pie, 3dpie
     105    *Format: d="distance", ds="distance sum", ts="time sum",  cs="calories sum", p="pulse average"
     106    *Year: 2009, 2010, 2011
     107    *Month: Jan, Feb, Marts, April, May, June, July, Aug, Sep, Oct, Nov, Dec
     108    *Color: Is the color scheme used eg: "224499" for the html color #224499
     109    *Width: The width of the chart: Default: 475 pixel
     110    *Height: The height of the chart: Default: 250 pixel
    110111   
    111112= Howto use [runners_log] =
     
    141142= Howto use [runners_log_weather] =
    142143If you have enabled weather support the weather is stored while you add your post. To paste in the weather use  `[runners_log_weather]` to have something like:
     144 
    143145    `* Temperature : 3
    144146    * Humidity : 100
     
    359361* FL - Added Google Chart suppport. See Faq and Screenshots
    360362
     363= 2.3 =
     364*FL - Google Chart: Better color palettes
     365*FL - Google Chart: Markers for the type bar
     366*to do add cadance field
     367
    361368== Upgrade Notice ==
    362369
     
    405412= 2.2 =
    406413February 9th 2011
     414
     415= 2.3 =
    407416
    408417== To Do ==
  • runners-log/trunk/runnerslog_gchart.php

    r343174 r343299  
    8787        'width' => '470',
    8888        'height' => '240',
    89         'color' => '224499',
     89        'color' => '623000|C92200|F78F01|5AB56E|B64245|D98962|F6CB6B|6F8069|E3E3D8|72B0B4|007C8F|14435D|270A2B',
    9090    ), $atts));
    9191
     
    384384            $data['chg'] = '14.3,-1,1,1';
    385385            $data['chls'] = '2,4,0';
    386             $data['chm'] = '';
     386            $data['chm'] = 'N,000000,0,-1,11';
    387387        break;
    388388
Note: See TracChangeset for help on using the changeset viewer.