Update templates/index.html
Browse files- 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(-
|
| 99 |
-
var lastSevenDaysBuy = buyPrices.slice(-
|
| 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,
|