1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-3.git synced 2024-11-25 17:34:21 +00:00
bda-3-steffo/data/untitledgoosegame/itad-price.js

34 lines
125 KiB
JavaScript
Raw Permalink Normal View History

2022-11-25 08:23:40 +00:00
Charts.Load().then(function() {
let tooltip = {"valueDecimals":2,"valuePrefix":"","valueSuffix":"\u20ac"};
let max = 20.89;
let chartOverview = (function() {
let setup = (new Charts.Gallery.History.Price())
.setTitle("Price (EUR)");
return (new Charts.Builder(setup, [{"zIndex":4,"name":"Best Price","data":[[1568997494000,11.99],[1570204976000,11.99],[1570205473000,15.99],[1584879779000,15.99],[1599750010000,15.99],[1599752136000,11.99],[1600881686000,11.99],[1600882217000,11.99],[1602083983000,11.99],[1602086643000,12.59],[1602090411000,12.59],[1602090814000,12.59],[1602091275000,15.99],[1602094206000,15.99],[1603153346000,15.99],[1603154286000,15.99],[1603279177000,15.99],[1603565067000,15.99],[1603565068000,15.99],[1604009870000,15.99],[1604386506000,15.99],[1604386507000,15.99],[1606241094000,15.99],[1606241232000,12.59],[1606712810000,12.59],[1606715405000,12.5248],[1606846308000,12.5248],[1606846894000,12.5248],[1606889511000,12.5248],[1606893308000,15.99],[1608660905000,15.99],[1608663478000,12.59],[1609869876000,12.59],[1609872771000,15.99],[1613066680000,15.99],[1613068557000,10.07],[1613412344000,10.07],[1613414108000,15.99],[1616688669000,15.99],[1616691852000,10.07],[1617037551000,10.07],[1617039249000,15.99],[1619957157000,15.99],[1619985101000,15.99],[1620086658000,15.99],[1620087053000,15.99],[1620169348000,15.99],[1620173161000,15.99],[1620234153000,15.99],[1620235565000,15.99],[1620342520000,15.99],[1620345957000,15.99],[1620432393000,15.99],[1620432671000,15.99],[1623827508000,15.99],[1623827758000,12.59],[1624345401000,12.59],[1624346490000,15.99],[1624561940000,15.99],[1624562835000,8.39],[1625771323000,8.39],[1625771552000,15.99],[1627492072000,15.99],[1627492891000,8.39],[1627923866000,8.39],[1627923997000,15.99],[1633021415000,15.99],[1633022388000,8.39],[1633626498000,8.39],[1633627151000,15.99],[1637781994000,15.99],[1637782525000,8.39],[1638385797000,8.39],[1638387895000,15.99],[1640193712000,15.99],[1640197143000,8.39],[1641409642000,8.39],[1641413436000,15.99],[1641539023000,15.99],[1641542754000,8.83],[1642407079000,8.83],[1642407130000,15.99],[1643303355000,15.99],[1643306764000,8.39],[1643915761000,8.39],[1643917865000,15.99],[1644692965000,15.99],[1644696006000,15.99],[1644883382000,15.99],[1644883895000,15.99],[1644967223000,15.99],[1644970663000,15.99],[1645057059000,15.99],[1645057322000,15.99],[1645143699000,15.99],[1645143730000,15.99],[1645225398000,15.99],[1645229199000,15.99],[1645488590000,15.99],[1645488691000,15.99],[1645574861000,15.99],[1645575719000,15.99],[1645747386000,15.99],[1645747574000,15.99],[1645816419000,15.99],[1645818357000,15.99],[1646072530000,15.99],[1646074123000,8.39],[1646075003000,8.39],[1646079703000,8.39],[1646179885000,8.39],[1646179893000,8.39],[1646251634000,8.39],[1646253688000,8.39],[1646352123000,8.39],[1646352371000,8.39],[1646439576000,8.39],[1646439683000,8.39],[1646677030000,8.39],[1646679008000,15.99],[1646697888000,15.99],[1646698566000,15.99],[1646780479000,15.99],[1646785009000,15.99],[1646864506000,15.99],[1646866610000,15.99],[1646958114000,15.99],[1646958386000,15.99],[1647090124000,15.99],[1647091147000,15.99],[1647091148000,15.99],[1647302786000,15.99],[1647907472000,15.99],[1647908503000,15.99],[1647965020000,15.99],[1647966429000,15.99],[1648080189000,15.99],[1648081249000,15.99],[1648130802000,15.99],[1648134622000,7.99],[1648162858000,7.99],[1648166479000,7.99],[1648236063000,7.99],[1648239077000,7.99],[1648512199000,7.99],[1648513312000,7.99],[1648598514000,7.99],[1648599363000,7.99],[1648681818000,7.99],[1648685496000,7.99],[1648768670000,7.99],[1648771885000,7.99],[1648858121000,7.99],[1648858259000,7.99],[1649074796000,7.99],[1649077506000,7.99],[1649117846000,7.99],[1649118407000,7.99],[1649203389000,7.99],[1649203594000,7.99],[1649286130000,7.99],[1649290001000,7.99],[1649315645000,7.99],[1649315899000,7.99],[1649340979000,7.99],[1649348647000,8.39],[1649462789000,8.39],[1649463984000,8.39],[1649697049000,8.39],[1649697568000,15.99],[1649722173000,15.99],[1649722890000,15.99],[1649804990000,15.99],[1649808367000,15.99],[1649892444000,15.99],[1649894821000,15.99],[1649977975000,15.99],[1649981478000,15.99],[1650387791000,15.99],[1650389806000,15.99],[1650478173000,15.99],[1650479481000,15.99],[1650582174000,15.99],[1650585684000,15.99],[16506721070
.setTooltip(tooltip)
.setDefaultValueRange(0, max)
.enableLegend()
.enableRangeSelector();
})();
let chartDetail = (function(){
let setup = (new Charts.Gallery.History.Price())
.useThinLine()
.setTooltipDealFormat()
.setTitle("Price (EUR)");
return (new Charts.Builder(setup, [{"name":"Epic Game Store","data":[[1568997494000,11.99],[1570204976000,11.99],[1570205473000,15.99],[1584879779000,15.99],[1599750010000,15.99],[1599752136000,11.99],[1600881686000,11.99],[1600882217000,11.99],[1602083983000,11.99],[1602086643000,15.99],[1602090411000,15.99],[1602090814000,15.99],[1602091275000,15.99],[1602094206000,15.99],[1603153346000,15.99],[1603154286000,15.99],[1603279177000,15.99],[1603565067000,15.99],[1603565068000,15.99],[1604009870000,15.99],[1604386506000,15.99],[1604386507000,15.99],[1606241094000,15.99],[1606241232000,15.99],[1606712810000,15.99],[1606715405000,15.99],[1606846308000,15.99],[1606846894000,15.99],[1606889511000,15.99],[1606893308000,15.99],[1608660905000,15.99],[1608663478000,15.99],[1609869876000,15.99],[1609872771000,15.99],[1613066680000,15.99],[1613068557000,15.99],[1613412344000,15.99],[1613414108000,15.99],[1616688669000,15.99],[1616691852000,15.99],[1617037551000,15.99],[1617039249000,15.99],[1619957157000,15.99],[1619985101000,15.99],[1620086658000,15.99],[1620087053000,15.99],[1620169348000,15.99],[1620173161000,15.99],[1620234153000,15.99],[1620235565000,15.99],[1620342520000,15.99],[1620345957000,15.99],[1620432393000,15.99],[1620432671000,15.99],[1623827508000,15.99],[1623827758000,15.99],[1624345401000,15.99],[1624346490000,15.99],[1624561940000,15.99],[1624562835000,15.99],[1625771323000,15.99],[1625771552000,15.99],[1627492072000,15.99],[1627492891000,15.99],[1627923866000,15.99],[1627923997000,15.99],[1633021415000,15.99],[1633022388000,15.99],[1633626498000,15.99],[1633627151000,15.99],[1637781994000,15.99],[1637782525000,15.99],[1638385797000,15.99],[1638387895000,15.99],[1640193712000,15.99],[1640197143000,15.99],[1641409642000,15.99],[1641413436000,15.99],[1641539023000,15.99],[1641542754000,15.99],[1642407079000,15.99],[1642407130000,15.99],[1643303355000,15.99],[1643306764000,15.99],[1643915761000,15.99],[1643917865000,15.99],[1644692965000,15.99],[1644696006000,15.99],[1644883382000,15.99],[1644883895000,15.99],[1644967223000,15.99],[1644970663000,15.99],[1645057059000,15.99],[1645057322000,15.99],[1645143699000,15.99],[1645143730000,15.99],[1645225398000,15.99],[1645229199000,15.99],[1645488590000,15.99],[1645488691000,15.99],[1645574861000,15.99],[1645575719000,15.99],[1645747386000,15.99],[1645747574000,15.99],[1645816419000,15.99],[1645818357000,15.99],[1646072530000,15.99],[1646074123000,15.99],[1646075003000,15.99],[1646079703000,15.99],[1646179885000,15.99],[1646179893000,15.99],[1646251634000,15.99],[1646253688000,15.99],[1646352123000,15.99],[1646352371000,15.99],[1646439576000,15.99],[1646439683000,15.99],[1646677030000,15.99],[1646679008000,15.99],[1646697888000,15.99],[1646698566000,15.99],[1646780479000,15.99],[1646785009000,15.99],[1646864506000,15.99],[1646866610000,15.99],[1646958114000,15.99],[1646958386000,15.99],[1647090124000,15.99],[1647091147000,15.99],[1647091148000,15.99],[1647302786000,15.99],[1647907472000,15.99],[1647908503000,15.99],[1647965020000,15.99],[1647966429000,15.99],[1648080189000,15.99],[1648081249000,15.99],[1648130802000,15.99],[1648134622000,7.99],[1648162858000,7.99],[1648166479000,7.99],[1648236063000,7.99],[1648239077000,7.99],[1648512199000,7.99],[1648513312000,7.99],[1648598514000,7.99],[1648599363000,7.99],[1648681818000,7.99],[1648685496000,7.99],[1648768670000,7.99],[1648771885000,7.99],[1648858121000,7.99],[1648858259000,7.99],[1649074796000,7.99],[1649077506000,7.99],[1649117846000,7.99],[1649118407000,7.99],[1649203389000,7.99],[1649203594000,7.99],[1649286130000,7.99],[1649290001000,7.99],[1649315645000,7.99],[1649315899000,7.99],[1649340979000,7.99],[1649348647000,15.99],[1649462789000,15.99],[1649463984000,15.99],[1649697049000,15.99],[1649697568000,15.99],[1649722173000,15.99],[1649722890000,15.99],[1649804990000,15.99],[1649808367000,15.99],[1649892444000,15.99],[1649894821000,15.99],[1649977975000,15.99],[1649981478000,15.99],[1650387791000,15.99],[1650389806000,15.99],[1650478173000,15.99],[1650479481000,15.99],[1650582174000,15.99],[1650585684000,15.
.setTooltip(tooltip)
.setDefaultValueRange(0, max)
.enableRangeSelector();
})();
(new Charts.Tabs("cp", "chart-price"))
.add("overview", chartOverview)
.add("detail", chartDetail)
.load();
});