Skip to content

Commit fb5e3a3

Browse files
committed
Legend test
1 parent 53dec75 commit fb5e3a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class LineChartActivity : DemoBase(), OnSeekBarChangeListener, OnChartValueSelec
3737
super.onCreate(savedInstanceState)
3838
binding = ActivityLinechartBinding.inflate(layoutInflater)
3939
setContentView(binding.root)
40-
40+
4141
binding.seekBarX.setOnSeekBarChangeListener(this)
4242
binding.seekBarY.max = 180
4343
binding.seekBarY.setOnSeekBarChangeListener(this)
@@ -47,6 +47,7 @@ class LineChartActivity : DemoBase(), OnSeekBarChangeListener, OnChartValueSelec
4747

4848
// disable description text
4949
binding.chart1.description.isEnabled = false
50+
binding.chart1.legend?.isEnabled = false
5051

5152
// enable touch gestures
5253
binding.chart1.setTouchEnabled(true)

0 commit comments

Comments
 (0)