Outils pour utilisateurs

Outils du site


test

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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:
-<achart align="right" width=50% +<achart> 
-  { +{series: [4455, 13, 43, 22], 
- +          chart: { 
-Promise.all([ +          width380, 
-  loadData( +          type'pie', 
-    "https://s3.eu-central-1.amazonaws.com/fusion.store/ft/data/annotating-multiple-data-points-data.json" +        }, 
-  ), +        labels['Team A', 'Team B', 'Team C', 'Team D', 'Team E']
-  loadData( +        responsive: [{ 
-    "https://s3.eu-central-1.amazonaws.com/fusion.store/ft/schema/annotating-multiple-data-points-schema.json" +          breakpoint480, 
-  ) +          options: 
-]).then(function(res) { +            chart{ 
-  const data = res[0]; +              width200 
-  const schema = res[1]; +            }, 
- +            legend: 
-  const dataStore = new FusionCharts.DataStore(); +              position'bottom' 
-  const dataSource = { +            }
-    chart: {}, +
-    caption{ +
-      text"Interest Rate Comparison" +
-    }, +
-    subcaption+
-      text: "USA and Canada" +
-    }+
-    yaxis: [ +
-      +
-        plot[ +
-          { +
-            value"Federal Reserve Bank", +
-            type"line" +
-          }, +
-          +
-            value"Bank of Canada", +
-            type: "line"+
           }           }
-        ], +        }] 
-        format: { +        } 
-          suffix: "%" +</achart>
-        }+
-        title: "Interest Rate " +
-      } +
-    ]+
-    datamarker: [ +
-      { +
-        value: "Bank of Canada", +
-        time: "Aug-1981", +
-        timeformat: "%b-%Y", +
-        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: "Jun-2010", +
-        timeformat: "%b-%Y", +
-        tooltext: +
-          "Seeing the balance sheet expand to over $80 Billion after the financial crisis, Bank Of Canada started increasing the interest rates." +
-      }, +
-      { +
-        value: "Bank of Canada", +
-        time: "Nov-1996", +
-        timeformat: "%b-%Y", +
-        tooltext: +
-          "The reduced interest rate propelled business investments in Canada." +
-      }, +
-      { +
-        value: "Bank of Canada", +
-        time: "May-1990", +
-        timeformat: "%b-%Y", +
-        tooltext: +
-          "To fight inflationary pressure, interest rate reached around 15%" +
-      }, +
-      { +
-        value: "Federal Reserve Bank", +
-        time: "Mar-1980", +
-        identifier: "H", +
-        timeformat: "%b-%Y", +
-        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: "Federal Reserve Bank", +
-        time: "Aug-1982", +
-        identifier: "L", +
-        timeformat: "%b-%Y", +
-        tooltext: +
-          "The FED eases off the monetary brakes, allowing interest rates to fall and the economy to begin a strong recovery." +
-      }, +
-      { +
-        value: "Federal Reserve Bank", +
-        time: "Oct-1987", +
-        identifier: "L", +
-        timeformat: "%b-%Y", +
-        tooltext: "The FED is forced to ease rate after the stock market crash." +
-      }, +
-      { +
-        value: "Federal Reserve Bank", +
-        time: "May-1989", +
-        identifier: "H", +
-        timeformat: "%b-%Y", +
-        tooltext: +
-          "Liquidity problem forced the Fed to increase rate to nearly 10%." +
-      }, +
-      { +
-        value: "Federal Reserve Bank", +
-        time: "Sept-1992", +
-        identifier: "L", +
-        timeformat: "%b-%Y", +
-        tooltext: +
-          "To fight the jobless economy growth the Fed had to reduce the interest rate to 3%." +
-      }, +
-      { +
-        value: "Federal Reserve Bank", +
-        time: "Jun-2003", +
-        identifier: "L", +
-        timeformat: "%b-%Y", +
-        tooltext: +
-          "Struggling to revive the economy, the FED cuts it’s benchmark rate to 1%." +
-      }, +
-      { +
-        value: "Federal Reserve Bank", +
-        time: "Sep-2007", +
-        identifier: "L", +
-        timeformat: "%b-%Y", +
-        tooltext: "Fed started reducing the Federal Fund Rate." +
-      }, +
-      { +
-        value: "Federal Reserve Bank", +
-        time: "Dec-2008", +
-        identifier: "L", +
-        timeformat: "%b-%Y", +
-        tooltext: +
-          "Fed reduced the interest rates to sub 0.25% to manage the menace of longest economic downturn since World War 2" +
-      } +
-    ] +
-  }; +
-  dataSource.data = dataStore.createDataTable(data, schema);+
  
-  new FusionCharts({ 
-    type: "timeseries", 
-    renderAt: "chart-container", 
-    width: "100%", 
-    height: "500", 
-    dataSource: dataSource 
-  }).render(); 
-}); 
- 
-  } 
-</achart> 
test.txt · Dernière modification: 2021/02/23 12:57 de vanlindtmarc