Skip to content

Commit 40f8476

Browse files
committed
Test no legend
1 parent 1130082 commit 40f8476

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ class LineChartActivity : DemoBase(), OnSeekBarChangeListener, OnChartValueSelec
136136

137137
// get the legend (only possible after setting data)
138138
binding.chart1.legend.form = LegendForm.LINE
139+
binding.chart1.legend.isEnabled = false
139140
}
140141

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

0 commit comments

Comments
 (0)