code cleanup: move date check
BugFix: use real weight
code cleanup: only calculate span "accuracy" once
only show (max) 2 decimal places of y-value