changed x of data point to time interval since 1970

This commit is contained in:
Michael Simard
2020-06-16 17:49:58 -05:00
parent 72a04f8823
commit 34e4bc6060
2 changed files with 18 additions and 3 deletions

View File

@@ -12,10 +12,10 @@ import Fluent
import Vapor
struct DataPoint : Content {
var x:String
var x:Double
var y:Double
init(x:String, y:Double) {
init(x:Double, y:Double) {
self.x = x
self.y = y
}