diff --git a/chartjs/src/main/java/com/dewakoding/androidchartjs/AndroidChartJSView.kt b/chartjs/src/main/java/com/dewakoding/androidchartjs/AndroidChartJSView.kt index 9562e21..05d5029 100644 --- a/chartjs/src/main/java/com/dewakoding/androidchartjs/AndroidChartJSView.kt +++ b/chartjs/src/main/java/com/dewakoding/androidchartjs/AndroidChartJSView.kt @@ -70,7 +70,7 @@ class AndroidChartJSView @JvmOverloads constructor( var line: String? try { while (reader.readLine().also { line = it } != null) { - stringBuilder.append(line) + stringBuilder.append(line).append("\n") } } catch (e: IOException) { e.printStackTrace()