Permalink
Browse files

Merge pull request #1299 from ukleinek/master

fix a few trivial typos concerning "separation" and "command"
  • Loading branch information...
nschonni committed Apr 29, 2014
2 parents 453b017 + 3108772 commit 958e5fd43c6dff4bab3e1fd5cb6109df5c1e8003
Showing with 2 additions and 2 deletions.
  1. +1 −1 API.md
  2. +1 −1 examples/series-pie/index.html
View
2 API.md
@@ -143,7 +143,7 @@ the plot, see below.
The rest of the options are all documented below as they are the same
as the default options passed in via the options parameter in the plot
-commmand. When you specify them for a specific data series, they will
+command. When you specify them for a specific data series, they will
override the default options for the plot for that data series.
Here's a complete example of a simple data specification:
@@ -800,7 +800,7 @@ <h2>Changes/Features</h2>
<li>Merged original pie modifications by Sergey Nosenko into the latest SVN version <i>(as of May 15th, 2009)</i> so that it will work with ie8.</li>
<li>Pie graph will now be centered in the canvas unless moved because of the legend or manually via the options. Additionally it prevents the pie from being moved beyond the edge of the canvas.</li>
<li>Modified the code related to the labelFormatter option to apply flot's legend labelFormatter first. This is so that the labels will be consistent, but still provide extra formatting for the positioned labels (such as adding the percentage value).</li>
- <li>Positioned labels now have their backgrounds applied as a seperate element (much like the legend background) so that the opacity value can be set independently from the label itself (foreground). Additionally, the background color defaults to that of the matching slice.</li>
+ <li>Positioned labels now have their backgrounds applied as a separate element (much like the legend background) so that the opacity value can be set independently from the label itself (foreground). Additionally, the background color defaults to that of the matching slice.</li>
<li>As long as the labelOffset and radiusLimit are not set to hard values, the pie will be shrunk if the labels will extend outside the edge of the canvas</li>
<li>Added new options "radiusLimitFactor" and "radiusLimit" which limits how large the (visual) radius of the pie is in relation to the full radius (as calculated from the canvas dimensions) or a hard-pixel value (respectively). This allows for pushing the labels "outside" the pie.</li>
<li>Added a new option "labelHidePercent" that does not show the positioned labels of slices smaller than the specified percentage. This is to help prevent a bunch of overlapping labels from small slices.</li>

0 comments on commit 958e5fd

Please sign in to comment.