Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
README.
Browse files Browse the repository at this point in the history
  • Loading branch information
gphat committed Mar 19, 2012
1 parent f2eb93c commit 72bff98
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.mkdn
Expand Up @@ -4,7 +4,7 @@ Chart::Clicker - Powerful, extensible charting.


# VERSION # VERSION


version 2.79 version 2.81


# SYNOPSIS # SYNOPSIS


Expand Down Expand Up @@ -329,8 +329,8 @@ ways.


Passing a name and a scalar will append the scalar data to that series' data. Passing a name and a scalar will append the scalar data to that series' data.


$cc->add_data('Sales', 1234); $cc->add_data('Sales', 1234);
$cc->add_data('Sales', 1235); $cc->add_data('Sales', 1235);


This will result in a Series named 'Sales' with two values. This will result in a Series named 'Sales' with two values.


Expand All @@ -349,9 +349,9 @@ may be mixed with the scalar method.


This allows you to pass both keys and values in all at once. This allows you to pass both keys and values in all at once.


$cc->add_data('Sales', { 2009 => 1234, 2010 => 1235 }); $cc->add_data('Sales', { 2009 => 1234, 2010 => 1235 });
# appends to last call # appends to last call
$cc->add_data('Sales', { 2011 => 1234, 2012 => 1235 }); $cc->add_data('Sales', { 2011 => 1234, 2012 => 1235 });


You may call the hashref version after the scalar or arrayref versions, but you You may call the hashref version after the scalar or arrayref versions, but you
may not add a scalar or arrayref after adding a hashref (as it's not clear what may not add a scalar or arrayref after adding a hashref (as it's not clear what
Expand Down

0 comments on commit 72bff98

Please sign in to comment.