Skip to content
Merged
Show file tree
Hide file tree
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 @@ -50,6 +50,7 @@ class BarChartActivity : DemoBase(), OnSeekBarChangeListener, OnChartValueSelect
binding.chart1.setOnChartValueSelectedListener(this)
binding.chart1.setRoundedBarRadius(50f)

binding.chart1.setDrawMarkerViews(true)
binding.chart1.isDrawBarShadow = false
binding.chart1.isDrawValueAboveBar = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,6 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>> : ViewGroup, IBaseP
* (use the setMarker(IMarker marker) method to specify a marker)
*/
var isDrawMarkersEnabled: Boolean = true
protected set

/**
* the view that represents the marker
Expand Down Expand Up @@ -984,7 +983,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>> : ViewGroup, IBaseP
val isDrawMarkerViewsEnabled: Boolean
get() = this.isDrawMarkersEnabled

@Deprecated("Use 'isDrawMarkersEnabled' directly")
@Deprecated("Use 'isDrawMarkersEnabled' directly", ReplaceWith("isDrawMarkersEnabled = value"))
fun setDrawMarkerViews(value: Boolean) {
this.isDrawMarkersEnabled = value
}
Expand Down
Loading