Skip to content

Commit 83d4ed5

Browse files
committed
Fix #473, typo in documentation for dynamic charts
1 parent 56bcafb commit 83d4ed5

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

examples/charts.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ <h3>Files to download</h3>
118118
<p>
119119
The easiest is to download with <strong>npm</strong>:
120120
<pre>npm install angular-chart.js --save</pre>
121-
Alternatively files can be <a href="https://github.com/jtblin/angular-chart.js">downloaded from Github</a> or via bower.
121+
Alternatively files can be <a href="https://github.com/jtblin/angular-chart.js">downloaded from Github</a> or via PolarArea.
122122
See <a href="https://github.com/jtblin/angular-chart.js">readme</a> for more information.
123123
</p>
124124
<p>Whichever method you choose the good news is that the overall size is very small:
@@ -577,11 +577,11 @@ <h1>Directives</h1>
577577
function ($scope) {
578578
$scope.labels = ["Download Sales", "In-Store Sales", "Mail-Order Sales", "Tele Sales", "Corporate Sales"];
579579
$scope.data = [300, 500, 100, 40, 120];
580-
$scope.type = 'PolarArea';
580+
$scope.type = 'polarArea';
581581

582582
$scope.toggle = function () {
583-
$scope.type = $scope.type === 'PolarArea' ?
584-
'Pie' : 'PolarArea';
583+
$scope.type = $scope.type === 'polarArea' ?
584+
'pie' : 'polarArea';
585585
};
586586
});
587587
</code></pre>

examples/charts.template.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ <h3>Files to download</h3>
118118
<p>
119119
The easiest is to download with <strong>npm</strong>:
120120
<pre>npm install angular-chart.js --save</pre>
121-
Alternatively files can be <a href="https://github.com/jtblin/angular-chart.js">downloaded from Github</a> or via bower.
121+
Alternatively files can be <a href="https://github.com/jtblin/angular-chart.js">downloaded from Github</a> or via PolarArea.
122122
See <a href="https://github.com/jtblin/angular-chart.js">readme</a> for more information.
123123
</p>
124124
<p>Whichever method you choose the good news is that the overall size is very small:
@@ -562,7 +562,7 @@ <h1>Directives</h1>
562562
<div class="settings">
563563
<code>.chart-base</code>
564564
<ul>
565-
<li><code>chart-type</code>: chart type e.g. Bar, PolarArea, etc. or other plugins</li>
565+
<li><code>chart-type</code>: chart type e.g. bar, polarArea, etc. or other plugins</li>
566566
<li>other options according to chart type</li>
567567
</ul>
568568
</div>
@@ -577,11 +577,11 @@ <h1>Directives</h1>
577577
function ($scope) {
578578
$scope.labels = ["Download Sales", "In-Store Sales", "Mail-Order Sales", "Tele Sales", "Corporate Sales"];
579579
$scope.data = [300, 500, 100, 40, 120];
580-
$scope.type = 'PolarArea';
580+
$scope.type = 'polarArea';
581581

582582
$scope.toggle = function () {
583-
$scope.type = $scope.type === 'PolarArea' ?
584-
'Pie' : 'PolarArea';
583+
$scope.type = $scope.type === 'polarArea' ?
584+
'pie' : 'polarArea';
585585
};
586586
});
587587
</code></pre>

0 commit comments

Comments
 (0)