Skip to content

Commit bd3e613

Browse files
committed
Updated the demos
1 parent 16356a5 commit bd3e613

34 files changed

+193
-177
lines changed

demos/demosources/ex1/index.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<fc-chart
2-
fc-width="600"
3-
fc-height="400"
4-
fc-type="column2d"
5-
fc-datasource="{{myDataSource}}"
6-
fc-chart-click="chartClicked"
7-
></fc-chart>
1+
<fusioncharts
2+
width="600"
3+
height="400"
4+
type="column2d"
5+
datasource="{{myDataSource}}"
6+
></fusioncharts>

demos/demosources/ex1/src.ejs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ $scope.myDataSource = {
2828
}]
2929
};
3030
<% } else if(src==="html") { %>
31-
<fc-chart
32-
fc-width="600"
33-
fc-height="400"
34-
fc-type="column2d"
35-
fc-datasource="{{myDataSource}}"
36-
fc-chart-click="chartClicked"
37-
></fc-chart>
31+
<fusioncharts
32+
width="600"
33+
height="400"
34+
type="column2d"
35+
datasource="{{myDataSource}}"
36+
></fusioncharts>
3837
<% } %>

demos/demosources/ex2/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<fc-chart
2-
fc-width="600"
3-
fc-height="400"
4-
fc-type="pie3d",
5-
fc-datasource="{{myDataSource}}"
6-
></fc-chart>
1+
<fusioncharts
2+
width="600"
3+
height="400"
4+
type="pie3d",
5+
datasource="{{myDataSource}}"
6+
></fusioncharts>

demos/demosources/ex2/src.ejs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ $scope.myDataSource = {
3333
]
3434
}
3535
<% } else if(src==="html") { %>
36-
<fc-chart
37-
fc-width="600"
38-
fc-height="400"
39-
fc-type="pie3d",
40-
fc-datasource="{{myDataSource}}"
41-
></fc-chart>
36+
<fusioncharts
37+
width="600"
38+
height="400"
39+
type="pie3d",
40+
datasource="{{myDataSource}}"
41+
></fusioncharts>
4242
<% } %>

demos/demosources/ex3/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div fc-chart
2-
fc-width="600"
3-
fc-height="400"
4-
fc-type="mscombi2d",
5-
fc-datasource="{{dataSource}}"
1+
<div fusioncharts
2+
width="600"
3+
height="400"
4+
type="mscombi2d",
5+
datasource="{{dataSource}}"
66
></div>

demos/demosources/ex3/src.ejs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@
181181
]
182182
}
183183
<% } else if(src==="html") { %>
184-
<div fc-chart
185-
fc-width="600"
186-
fc-height="400"
187-
fc-type="mscombi2d",
188-
fc-datasource="{{dataSource}}"
184+
<div fusioncharts
185+
width="600"
186+
height="400"
187+
type="mscombi2d",
188+
datasource="{{dataSource}}"
189189
></div>
190190
<% } %>

demos/demosources/ex4/index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<fc-chart
2-
fc-width="300"
3-
fc-height="200"
4-
fc-type="column2d",
5-
fc-datasource="{{dataSource}}"
6-
></fc-chart>
7-
<div fc-chart
8-
fc-width="300"
9-
fc-height="200"
10-
fc-type="column2d",
11-
fc-datasource="{{dataSource}}"
1+
<fusioncharts
2+
width="300"
3+
height="200"
4+
type="column2d",
5+
datasource="{{dataSource}}"
6+
></fusioncharts>
7+
<div fusioncharts
8+
width="300"
9+
height="200"
10+
type="column2d",
11+
datasource="{{dataSource}}"
1212
></div>

demos/demosources/ex4/src.ejs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ $scope.dataSource = {
2828
}]
2929
};
3030
<% } else if(src==="html") { %>
31-
<fc-chart
32-
fc-width="300"
33-
fc-height="200"
34-
fc-type="column2d",
35-
fc-datasource="{{dataSource}}"
36-
></fc-chart>
37-
<div fc-chart
38-
fc-width="300"
39-
fc-height="200"
40-
fc-type="column2d",
41-
fc-datasource="{{dataSource}}"
31+
<fusioncharts
32+
width="300"
33+
height="200"
34+
type="column2d",
35+
datasource="{{dataSource}}"
36+
></fusioncharts>
37+
<div fusioncharts
38+
width="300"
39+
height="200"
40+
type="column2d",
41+
datasource="{{dataSource}}"
4242
></div>
4343
<% } %>

demos/demosources/ex5/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<fc-chart fc-data-format="jsonurl" fc-datasource="data/data.json" fc-type="column2d" fc-width="600" fc-height="400"></fc-chart>
1+
<fusioncharts dataformat="jsonurl" datasource="data/data.json" type="column2d" width="600" height="400"></fusioncharts>

demos/demosources/ex5/src.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<% if(src=== "js") { %>
22
33
<% } else if(src==="html") { %>
4-
<fc-chart fc-data-format="jsonurl" fc-datasource="data/data.json" fc-type="column2d" fc-width="600" fc-height="400"></fc-chart>
4+
<fusioncharts dataformat="jsonurl" datasource="data/data.json" type="column2d" width="600" height="400"></fusioncharts>
55
<% } %>

0 commit comments

Comments
 (0)