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 @@ -45,11 +45,7 @@ open class BarDataSet(yVals: MutableList<BarEntry>, label: String) : BarLineScat
*/
private var mStackLabels: MutableList<String> = mutableListOf()

/**
* This method is deprecated.
* Use getFills() instead.
*/
@get:Deprecated("")
@get:Deprecated("Use getFills() instead")
var gradients: MutableList<Fill> = mutableListOf()
protected set

Expand Down
15 changes: 2 additions & 13 deletions chartLib/src/main/kotlin/info/appdev/charting/data/LineDataSet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package info.appdev.charting.data
import android.content.Context
import android.graphics.Color
import android.graphics.DashPathEffect
import androidx.core.content.ContextCompat
import info.appdev.charting.formatter.DefaultFillFormatter
import info.appdev.charting.formatter.IFillFormatter
import info.appdev.charting.interfaces.datasets.ILineDataSet
Expand Down Expand Up @@ -109,18 +110,6 @@ open class LineDataSet(yVals: MutableList<Entry>?, label: String = "") : LineRad
lineDataSet.mLineDataSetMode = mLineDataSetMode
}

@get:Deprecated("Deprecated because of unclarity. Use getCircleRadius instead")
@set:Deprecated("Deprecated because of unclarity. Use getCircleRadius instead")
var circleSize: Float
get() = circleRadius
/**
* sets the size (radius) of the circle shpaed value indicators,
* default size = 4f
*/
set(size) {
circleRadius = size
}

/**
* Enables the line to be drawn in dashed mode, e.g. like this
* "- - - - - -". THIS ONLY WORKS IF HARDWARE-ACCELERATION IS TURNED OFF.
Expand Down Expand Up @@ -275,7 +264,7 @@ open class LineDataSet(yVals: MutableList<Entry>?, label: String = "") : LineRad
clrs.clear()

for (color in colors) {
clrs.add(context.resources.getColor(color))
clrs.add(ContextCompat.getColor(context, color))
}

this.circleColors = clrs
Expand Down
Loading