Skip to content

Commit

Permalink
gh page attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
tbruyelle committed Mar 28, 2024
1 parent 742a8d4 commit cc5e602
Showing 1 changed file with 99 additions and 0 deletions.
99 changes: 99 additions & 0 deletions www/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Awesome go-echarts</title>
<script src="https://go-echarts.github.io/go-echarts-assets/assets/echarts.min.js"></script>
</head>

<body>
<div class="container">
<div class="item" id="gtVwFVcAHtwE" style="width:900px;height:500px;"></div>
</div>

<script type="text/javascript">
"use strict";
let goecharts_gtVwFVcAHtwE = echarts.init(document.getElementById('gtVwFVcAHtwE'), "white");
let option_gtVwFVcAHtwE = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":true,"type":"","right":"right","orient":"vertical"},"series":[{"name":"$ATOM","type":"bar","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"name":"Yes","value":20.54301663630368},{"name":"No","value":16.19418428928094},{"name":"NWV","value":3.402465582404092},{"name":"Abstain","value":10.407337535341306},{"name":"DNV","value":19.500897226216676},{"name":"Unstaked","value":29.9520987304533}]},{"name":"$ATONE Yes x1.0 / No x9.0","type":"bar","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"name":"Yes","value":6.571054770807528},{"name":"No","value":49.4951720380361},{"name":"NWV","value":11.112095000952698},{"name":"Abstain","value":5.847212004076597},{"name":"DNV","value":10.767510545709744},{"name":"Unstaked","value":16.206955640417334}]}],"title":{"text":"Votes distribution"},"tooltip":{"show":true,"formatter":function(params){ return params.value.toFixed(2)+'%'}},"xAxis":[{"data":["Yes","No","NWV","Abstain","DNV","Unstaked"]}],"yAxis":[{}]}
;

let action_gtVwFVcAHtwE = {"areas":{},"type":""}
;

goecharts_gtVwFVcAHtwE.setOption(option_gtVwFVcAHtwE);
goecharts_gtVwFVcAHtwE.dispatchAction(action_gtVwFVcAHtwE);
</script>

<style>
.container {margin-top:30px; display: flex;justify-content: center;align-items: center;}
.item {margin: auto;}
</style>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Awesome go-echarts</title>
<script src="https://go-echarts.github.io/go-echarts-assets/assets/echarts.min.js"></script>
</head>

<body>
<div class="container">
<div class="item" id="gQWyXXUnbAAo" style="width:900px;height:500px;"></div>
</div>

<script type="text/javascript">
"use strict";
let goecharts_gQWyXXUnbAAo = echarts.init(document.getElementById('gQWyXXUnbAAo'), "white");
let option_gQWyXXUnbAAo = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":false,"type":""},"series":[{"name":"pie","type":"pie","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"name":"Yes","value":20.54301663630368,"itemStyle":{"color":"#ff6f69"}},{"name":"No","value":16.19418428928094,"itemStyle":{"color":"#96ceb4"}},{"name":"NWV","value":3.402465582404092,"itemStyle":{"color":"#87b9a2"}},{"name":"Abstain","value":10.407337535341306,"itemStyle":{"color":"#ffcc5c"}},{"name":"DNV","value":19.500897226216676,"itemStyle":{"color":"#ffeead"}},{"name":"Unstaked","value":29.9520987304533,"itemStyle":{"color":"#fff8de"}}],"label":{"show":true,"formatter":function(params){ return params.name+': '+params.value.toFixed(2)+'%'}}}],"title":{"text":"$ATOM distribution"},"tooltip":{"show":true,"formatter":function(params){ return params.name+': '+params.value.toFixed(2)+'%'}}}
;

let action_gQWyXXUnbAAo = {"areas":{},"type":""}
;

goecharts_gQWyXXUnbAAo.setOption(option_gQWyXXUnbAAo);
goecharts_gQWyXXUnbAAo.dispatchAction(action_gQWyXXUnbAAo);
</script>

<style>
.container {margin-top:30px; display: flex;justify-content: center;align-items: center;}
.item {margin: auto;}
</style>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Awesome go-echarts</title>
<script src="https://go-echarts.github.io/go-echarts-assets/assets/echarts.min.js"></script>
</head>

<body>
<div class="container">
<div class="item" id="BYyUpHZTUkEM" style="width:900px;height:500px;"></div>
</div>

<script type="text/javascript">
"use strict";
let goecharts_BYyUpHZTUkEM = echarts.init(document.getElementById('BYyUpHZTUkEM'), "white");
let option_BYyUpHZTUkEM = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":false,"type":""},"series":[{"name":"pie","type":"pie","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"name":"Yes","value":6.571054770807528,"itemStyle":{"color":"#ff6f69"}},{"name":"No","value":49.4951720380361,"itemStyle":{"color":"#96ceb4"}},{"name":"NWV","value":11.112095000952698,"itemStyle":{"color":"#87b9a2"}},{"name":"Abstain","value":5.847212004076597,"itemStyle":{"color":"#ffcc5c"}},{"name":"DNV","value":10.767510545709744,"itemStyle":{"color":"#ffeead"}},{"name":"Unstaked","value":16.206955640417334,"itemStyle":{"color":"#fff8de"}}],"label":{"show":true,"formatter":function(params){ return params.name+': '+params.value.toFixed(2)+'%'}}}],"title":{"text":"$ATONE distribution Yes x1.0 / No x9.0"},"tooltip":{"show":true,"formatter":function(params){ return params.name+': '+params.value.toFixed(2)+'%'}}}
;

let action_BYyUpHZTUkEM = {"areas":{},"type":""}
;

goecharts_BYyUpHZTUkEM.setOption(option_BYyUpHZTUkEM);
goecharts_BYyUpHZTUkEM.dispatchAction(action_BYyUpHZTUkEM);
</script>

<style>
.container {margin-top:30px; display: flex;justify-content: center;align-items: center;}
.item {margin: auto;}
</style>
</body>
</html>

0 comments on commit cc5e602

Please sign in to comment.