Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
test [2021/02/23 11:51] vanlindtmarc créée |
test [2021/02/23 12:42] vanlindtmarc |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | < | + | < |
- | { | + | {series: |
- | + | chart: { | |
- | Promise.all([ | + | width: 380, |
- | loadData( | + | type: ' |
- | " | + | }, |
- | ), | + | |
- | loadData( | + | |
- | " | + | |
- | ) | + | |
- | ]).then(function(res) { | + | |
- | const data = res[0]; | + | width: 200 |
- | const schema = res[1]; | + | }, |
- | + | | |
- | const dataStore = new FusionCharts.DataStore(); | + | |
- | const dataSource = { | + | |
- | | + | |
- | | + | |
- | text: " | + | |
- | }, | + | |
- | | + | |
- | text: "USA and Canada" | + | |
- | }, | + | |
- | yaxis: [ | + | |
- | | + | |
- | plot: [ | + | |
- | { | + | |
- | | + | |
- | type: " | + | |
- | }, | + | |
- | { | + | |
- | value: "Bank of Canada", | + | |
- | | + | |
} | } | ||
- | | + | }] |
- | format: { | + | } |
- | suffix: " | + | </ |
- | | + | |
- | title: " | + | |
- | } | + | |
- | | + | |
- | datamarker: [ | + | |
- | { | + | |
- | | + | |
- | time: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | "To curb the high double digit inflation rate, Bank of Canada had to increase he interest rate to over 20%" | + | |
- | }, | + | |
- | { | + | |
- | value: "Bank of Canada", | + | |
- | time: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | " | + | |
- | }, | + | |
- | { | + | |
- | value: "Bank of Canada", | + | |
- | time: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | "The reduced interest rate propelled business investments in Canada." | + | |
- | }, | + | |
- | { | + | |
- | value: "Bank of Canada", | + | |
- | time: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | "To fight inflationary pressure, interest rate reached around 15%" | + | |
- | }, | + | |
- | { | + | |
- | value: " | + | |
- | time: " | + | |
- | identifier: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | "As a part of credit control program, under the leadership of Paul Volcker, the Fed tightened the money supply, allowing the federal fund rates to approach 20 percent." | + | |
- | }, | + | |
- | { | + | |
- | value: " | + | |
- | time: " | + | |
- | identifier: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | "The FED eases off the monetary brakes, allowing interest rates to fall and the economy to begin a strong recovery." | + | |
- | }, | + | |
- | { | + | |
- | value: " | + | |
- | time: " | + | |
- | identifier: " | + | |
- | timeformat: " | + | |
- | tooltext: "The FED is forced to ease rate after the stock market crash." | + | |
- | }, | + | |
- | { | + | |
- | value: " | + | |
- | time: " | + | |
- | identifier: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | " | + | |
- | }, | + | |
- | { | + | |
- | value: " | + | |
- | time: " | + | |
- | identifier: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | "To fight the jobless economy growth the Fed had to reduce the interest rate to 3%." | + | |
- | }, | + | |
- | { | + | |
- | value: " | + | |
- | time: " | + | |
- | identifier: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | " | + | |
- | }, | + | |
- | { | + | |
- | value: " | + | |
- | time: " | + | |
- | identifier: " | + | |
- | timeformat: " | + | |
- | tooltext: "Fed started reducing the Federal Fund Rate." | + | |
- | }, | + | |
- | { | + | |
- | value: " | + | |
- | time: " | + | |
- | identifier: " | + | |
- | timeformat: " | + | |
- | tooltext: | + | |
- | "Fed reduced the interest rates to sub 0.25% to manage the menace of longest economic downturn since World War 2" | + | |
- | } | + | |
- | ] | + | |
- | | + | |
- | | + | |
- | new FusionCharts({ | ||
- | type: " | ||
- | renderAt: " | ||
- | width: " | ||
- | height: " | ||
- | dataSource: dataSource | ||
- | }).render(); | ||
- | }); | ||
- | |||
- | } | ||
- | </ |