Skip to content

Commit 3419167

Browse files
committed
Minor fix
1 parent ca8bd41 commit 3419167

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/app/fusioncharts/ex34/ex34.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@ export class Ex34 {
5454
// Afet that we simply mutated our timeseries datasource by attaching the above
5555
// DataTable into its data property.
5656
this.dataSource.data = fusionTable;
57-
this.dataSource.yAxis = {
58-
plot: 'Interest Rate',
59-
format: {
60-
suffix: '%'
61-
},
62-
title: 'Interest Rate'
63-
};
57+
this.dataSource.yAxis = [
58+
{
59+
plot: 'Interest Rate',
60+
format: {
61+
suffix: '%'
62+
},
63+
title: 'Interest Rate'
64+
}
65+
];
6466
this.dataSource.xAxis = {
6567
plot: 'Time',
6668
timemarker: [

0 commit comments

Comments
 (0)