mirror of
https://github.com/elisspace/FxLifeSheet.git
synced 2026-08-29 15:44:00 +00:00
Restore frontend.html functionality
This commit is contained in:
@@ -94,7 +94,8 @@ class API
|
||||
structured = {}
|
||||
flat.each do |row|
|
||||
next if row[:avg_value].nil? # some rows can be nil
|
||||
next if row[:other_key].include?("swarmLocation") || row[:other_key].include?("locationL") || ["weight"].include?(row[:other_key])
|
||||
next if row[:other_key].start_with?("swarmCheckinCoordinatesL")
|
||||
next if row[:other_key].start_with?("locationL") # Telegram locations
|
||||
next if denylisted_other_keys.include?(row[:other_key])
|
||||
|
||||
structured[row[:other_key]] ||= {}
|
||||
|
||||
@@ -205,7 +205,7 @@ function updateBucketByOption() {
|
||||
allBucketData[0]["y"] = dataToRender.map(({ diff }) => diff);
|
||||
console.log(allBucketData)
|
||||
|
||||
bucketLayout["title"] = `${bucket} being ${bucket1} had the following effects on that day in %`
|
||||
bucketLayout["title"] = `${bucket} being ${bucket1} compared to ${bucket2} had the following effects on that day in %`
|
||||
Plotly.redraw('bucketGraph');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user