Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import com.github.mikephil.charting.animation.Easing
import com.github.mikephil.charting.components.Legend.LegendForm
import com.github.mikephil.charting.components.LimitLine
import com.github.mikephil.charting.components.LimitLine.LimitLabelPosition
import com.github.mikephil.charting.components.XAxis
import com.github.mikephil.charting.data.Entry
import com.github.mikephil.charting.data.LineDataSet
import com.github.mikephil.charting.highlight.Highlight
Expand Down Expand Up @@ -48,6 +49,8 @@ class LineChartActivity1 : DemoBase(), OnSeekBarChangeListener, OnChartValueSele

// disable description text
binding.chart1.description.isEnabled = false
binding.chart1.legend.isEnabled = false
binding.chart1.xAxis.position = XAxis.XAxisPosition.BOTTOM

// enable touch gestures
binding.chart1.setTouchEnabled(true)
Expand Down
Loading