Skip to content

Commit 4ad4e21

Browse files
committed
Cosmetic
1 parent 3accfae commit 4ad4e21

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)