atsuga commited on
Commit
6c76b90
·
verified ·
1 Parent(s): 89a96d1

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -2
templates/index.html CHANGED
@@ -95,8 +95,8 @@
95
  // Fungsi untuk mengambil data dari grafik dan mengirimkan ke Flask
96
  function getDataFromChart() {
97
  // Ambil harga jual dan beli 7 hari terakhir
98
- var lastSevenDaysSell = sellPrices.slice(-7);
99
- var lastSevenDaysBuy = buyPrices.slice(-7);
100
 
101
  return {
102
  sell_features: lastSevenDaysSell,
 
95
  // Fungsi untuk mengambil data dari grafik dan mengirimkan ke Flask
96
  function getDataFromChart() {
97
  // Ambil harga jual dan beli 7 hari terakhir
98
+ var lastSevenDaysSell = sellPrices.slice(-8);
99
+ var lastSevenDaysBuy = buyPrices.slice(-8);
100
 
101
  return {
102
  sell_features: lastSevenDaysSell,