From Dark and Darker Wiki

No edit summary
(Testing title)
Line 35: Line 35:
     new Chart(document.getElementById('<!--{$uniqueId|escape:'html'}-->'), {
     new Chart(document.getElementById('<!--{$uniqueId|escape:'html'}-->'), {
         type: "line",
         type: "line",
        axisX: {
            gridColor: "orange",
        },
         data: datasets,
         data: datasets,
         options: {
         options: {
             plugins:{
             plugins:{
                 legend: {
                 legend: {
                    title: {
                        text: "Luck's Effect per Luck Grade",
                        display:true
                    },
                     display: false
                     display: false
                 }
                 }
Line 79: Line 80:
         }
         }
     });
     });
</script></includeonly><noinclude>
</script></includeonly><noinclude>{{#widget:TestChart|uniqueId=LuckGraph|datasets={"labels":[0, 50, 100, 150, 200, 250, 300, 350, 400, 450, 500],"datasets":[{"label":"Luck Grade 5","data":[1, 0.9952777384613406, 0.9931949559745359, 0.9920650871875678, 0.9913146604346158, 0.9908598744095304, 0.9905380145769638, 0.9903319527048099, 0.9902161906264793, 0.990116829157925, 0.9900889064632575],"borderColor":"#AD5AFF","backgroundColor":"#AD5AFFBB"},{"label":"Luck Grade 6","data":[1, 1.0409562901295728, 1.059050220737091, 1.068841599202489, 1.0753775855453624, 1.0793127027043983, 1.082114963847391, 1.0838937007227782, 1.08489821682184, 1.0857604179521987, 1.086010944296338],"borderColor":"#F7A22D","backgroundColor":"#F7A22DBB"},{"label":"Luck Grade 8","data":[1, 1.0563969273132003, 1.0810019756579428, 1.0945677602964938, 1.1032822909763158, 1.1087969788026875, 1.112544013446742, 1.1150809500621008, 1.1164588922202936, 1.1176416142169567, 1.117899919639782],"borderColor":"#E3D88C","backgroundColor":"#E3D88CBB"}]}|yAxisLabel=Multiplicative Effect|xAxisLabel=Luck}}</noinclude>
{{#widget:TestChart|datasets={"labels":[0,50,100,150,200,250,300,350,400,450,500],"datasets":[{"data":[1,0.9904710777076902,0.9859958506224066,0.9835003455425018,0.9818867924528302,0.980846568059437,0.9801010739102971,0.979624760994264,0.9792301938898799,0.9846641389847772,0.9789955868387242],"borderColor":"#4A9BD1","backgroundColor":"#4A9BD1BB"},{"data":[1,1.038115689169239,1.0560165975103735,1.0659986178299932,1.0724528301886793,1.0766137277622518,1.0795957043588125,1.0815009560229445,1.083079224440481,1.0613434440608907,1.0840176526451037],"borderColor":"#AD5AFF","backgroundColor":"#AD5AFFBB"}]}|yAxisLabel=Multiplicative Effect|xAxisLabel=Luck}}
</noinclude>

Revision as of 09:54, 16 June 2024

Error in widget TestChart: Unable to load template 'wiki:TestChart'