From 5f4ad72a14609d7f08e166c6bf3b31062403585c Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Tue, 9 Oct 2018 15:20:37 +0100 Subject: [PATCH] Tightened graph curves. --- .../src/main/kotlin/uk/co/neviyn/observationdatabase/Api.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/Api.kt b/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/Api.kt index d7fad27..d241678 100644 --- a/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/Api.kt +++ b/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/Api.kt @@ -54,7 +54,8 @@ data class ChartDataset( val backgroundColor: String, val borderColor: String, val data: List, - val fill: Boolean = false + val fill: Boolean = false, + val lineTension: Double = 0.1 ){ constructor(label: String, color: String, data: List): this(label, color, color, data) } \ No newline at end of file