Skip to content

Commit 71edd39

Browse files
committed
Cosmetic
1 parent 5b0aed7 commit 71edd39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/kotlin/info/appdev/chartexample/LineChartActivity.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ class LineChartActivity : DemoBase(), OnSeekBarChangeListener, OnChartValueSelec
136136
binding.chart1.animateX(1500)
137137

138138
// get the legend (only possible after setting data)
139-
val legend = binding.chart1.legend
140-
legend.form = LegendForm.LINE
139+
binding.chart1.legend.form = LegendForm.LINE
141140
}
142141

143142
override fun onCreateOptionsMenu(menu: Menu): Boolean {

0 commit comments

Comments
 (0)