changed x of data point to time interval since 1970
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user