@@ -41,16 +41,11 @@ class HorizontalBarChartActivity : DemoBase(), OnSeekBarChangeListener, OnChartV
4141
4242 binding.chart1.setOnChartValueSelectedListener(this )
4343 binding.chart1.isLogging = true
44-
45- // chart.setHighlightEnabled(false);
4644 binding.chart1.isDrawBarShadow = false
47-
4845 binding.chart1.isDrawValueAboveBar = true
49-
5046 binding.chart1.description.isEnabled = false
5147
52- // if more than 60 entries are displayed in the chart, no values will be
53- // drawn
48+ // if more than 60 entries are displayed in the chart, no values will be drawn
5449 binding.chart1.setMaxVisibleValueCount(60 )
5550
5651 // scaling can now only be done on x- and y-axis separately
@@ -73,14 +68,14 @@ class HorizontalBarChartActivity : DemoBase(), OnSeekBarChangeListener, OnChartV
7368 yl.isDrawGridLines = true
7469 yl.axisMinimum = 0f // this replaces setStartAtZero(true)
7570
76- // yl.setInverted(true);
71+ // yl.setInverted(true);
7772 val yr = binding.chart1.axisRight
7873 yr.typeface = tfLight
7974 yr.isDrawAxisLine = true
8075 yr.isDrawGridLines = false
8176 yr.axisMinimum = 0f // this replaces setStartAtZero(true)
8277
83- // yr.setInverted(true);
78+ // yr.setInverted(true);
8479 binding.chart1.setFitBars(true )
8580 binding.chart1.animateY(2500 )
8681
0 commit comments