Advertisement
kura2yamato

Contoh Js

Apr 16th, 2022
925
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. var label_thread_sungai = [];
  3. var data_thread_pij = [];
  4.  
  5.     const chartData =  [] ;
  6.  
  7.  
  8.     //STEP 3 - Chart Configurations
  9.     const chartConfig = {
  10.         type: 'column3d',
  11.         renderAt: 'chart-container',
  12.         width: '100%',
  13.         height: '400',
  14.         dataFormat: 'json',
  15.         dataSource: {
  16.             // Chart Configuration
  17.             "chart": {
  18.                 "caption": "Countries With Most Oil Reserves [2017-18]",
  19.                 "subCaption": "In MMbbl = One Million barrels",
  20.                 "xAxisName": "Country",
  21.                 "yAxisName": "Reserves (MMbbl)",
  22.                 "numberSuffix": "K",
  23.                 "theme": "fusion",
  24.             },
  25.             // Chart Data
  26.             data: chartData
  27.         }
  28.     };
  29.  
  30.  
  31.     FusionCharts.ready(function() {
  32.         var fusioncharts = new FusionCharts(chartConfig);
  33.         fusioncharts.render();
  34.     });
  35. </script>
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement