Skip to content

Commit 6419cd6

Browse files
committed
Deprecation texts
1 parent c18b298 commit 6419cd6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

chartLib/src/main/kotlin/info/appdev/charting/charts/Chart.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>> : ViewGroup, IBaseP
945945
setMarkers(mutableListOf(marker))
946946
}
947947

948-
@Deprecated("")
948+
@Deprecated("Use 'setMarker()' instead")
949949
fun setMarkerView(iMarker: IMarker) {
950950
setMarker(iMarker)
951951
}

chartLib/src/main/kotlin/info/appdev/charting/charts/PieChart.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ open class PieChart : PieRadarChartBase<PieData> {
339339
/**
340340
* This will throw an exception, PieChart has no XAxis object.
341341
*/
342-
@Deprecated("")
342+
@Deprecated("PieChart has no XAxis")
343343
override val xAxis: XAxis
344344
get() = throw RuntimeException("PieChart has no XAxis")
345345

0 commit comments

Comments
 (0)