Skip to content
Merged
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
4 changes: 2 additions & 2 deletions chartLib/src/main/kotlin/info/appdev/charting/charts/Chart.kt
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>> : ViewGroup, IBaseP
/**
* Draws the description text in the bottom right corner of the chart (per default)
*/
protected fun drawDescription(c: Canvas) {
protected fun drawDescription(canvas: Canvas) {
// check if description should be drawn

if (description.isEnabled) {
Expand All @@ -402,7 +402,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>> : ViewGroup, IBaseP
y = position.y
}

c.drawText(description.text!!, x, y, mDescPaint)
canvas.drawText(description.text!!, x, y, mDescPaint)
}
}

Expand Down
Loading