From Dark and Darker Wiki

(Testing Charts)
m (Testing charts)
Line 8: Line 8:
     var data = [BuffDurationModGraph];
     var data = [BuffDurationModGraph];
      
      
     var layout = Layout(
    var ItemEquipSpeedGraph = {
    paper_bgcolor='rgba(0,0,0,0)',
        x: [0.0, 1.0, 2.0, 3.0, 8.0, 9.0, 11.0, 12.0, 14.0, 15.0, 17.0, 19.0, 22.0, 23.0, 27.0, 32.0, 35.0, 38.0, 39.0, 44.0, 50.0, 51.0, 56.0, 63.0, 64.0, 69.0, 70.0, 81.0, 82.0, 93.0, 100.0],
    plot_bgcolor='rgba(0,0,0,0)'
        y: [-0.95, -0.95, -0.91, -0.84, -0.49, -0.42, -0.28, -0.21, -0.07, 0.0, 0.1, 0.2, 0.35, 0.4, 0.6, 0.85, 1.0, 1.06, 1.08, 1.18, 1.3, 1.32, 1.42, 1.56, 1.58, 1.68, 1.7, 1.81, 1.82, 1.93, 2.0],
)
        type: 'scatter'
    };
   
    var data = [ItemEquipSpeedGraph];
     var layout =
  paper_bgcolor:'rgba(0,0,0,0)',
  plot_bgcolor:'rgba(0,0,0,0)'
    };
   
    Plotly.newPlot('ItemEquipSpeedGraph', data, layout);
      
      
     Plotly.newPlot('BuffDurationModGraph', data, layout);
     Plotly.newPlot('BuffDurationModGraph', data, layout);

Revision as of 08:50, 5 January 2023

/* Any JavaScript here will be loaded for all users on every page load. */
    var BuffDurationModGraph = {
        x: [0.0, 1.0, 5.0, 7.0, 11.0, 15.0, 19.0, 20.0, 21.0, 27.0, 30.0, 35.0, 36.0, 38.0, 39.0, 44.0, 50.0, 51.0, 58.0, 59.0, 64.0, 70.0, 71.0, 76.0, 86.0, 87.0, 98.0, 100.0],
        y: [-80.0, -70.0, -30.0, -20.0, -8.0, 0.0, 4.0, 5.0, 6.0, 12.0, 15.0, 20.0, 21.0, 23.0, 24.0, 29.0, 35.0, 35.5, 39.0, 39.5, 42.0, 45.0, 45.5, 48.0, 53.0, 53.5, 59.0, 60.0],
        type: 'scatter'
    };
    
    var data = [BuffDurationModGraph];
    
    var ItemEquipSpeedGraph = {
        x: [0.0, 1.0, 2.0, 3.0, 8.0, 9.0, 11.0, 12.0, 14.0, 15.0, 17.0, 19.0, 22.0, 23.0, 27.0, 32.0, 35.0, 38.0, 39.0, 44.0, 50.0, 51.0, 56.0, 63.0, 64.0, 69.0, 70.0, 81.0, 82.0, 93.0, 100.0],
        y: [-0.95, -0.95, -0.91, -0.84, -0.49, -0.42, -0.28, -0.21, -0.07, 0.0, 0.1, 0.2, 0.35, 0.4, 0.6, 0.85, 1.0, 1.06, 1.08, 1.18, 1.3, 1.32, 1.42, 1.56, 1.58, 1.68, 1.7, 1.81, 1.82, 1.93, 2.0],
        type: 'scatter'
    };
    
    var data = [ItemEquipSpeedGraph];
    var layout = {  
  	paper_bgcolor:'rgba(0,0,0,0)',
  	plot_bgcolor:'rgba(0,0,0,0)'
    };
    
    Plotly.newPlot('ItemEquipSpeedGraph', data, layout);
    
    Plotly.newPlot('BuffDurationModGraph', data, layout);