From 63e17cab486f11a092d82eb90af1f17462fa6ebf Mon Sep 17 00:00:00 2001 From: Daniel Cohen Gindi Date: Wed, 22 Feb 2017 17:28:29 +0200 Subject: [PATCH] Consider _yAxis.isDrawLimitLinesBehindDataEnabled for radar chart --- Source/Charts/Charts/RadarChartView.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/Charts/Charts/RadarChartView.swift b/Source/Charts/Charts/RadarChartView.swift index fedb76d022..84cf460ce1 100644 --- a/Source/Charts/Charts/RadarChartView.swift +++ b/Source/Charts/Charts/RadarChartView.swift @@ -132,7 +132,12 @@ open class RadarChartView: PieRadarChartViewBase { renderer!.drawHighlighted(context: context, indices: _indicesToHighlight) } - + + if _yAxis.isEnabled && !_yAxis.isDrawLimitLinesBehindDataEnabled + { + _yAxisRenderer.renderLimitLines(context: context) + } + _yAxisRenderer.renderAxisLabels(context: context) renderer!.drawValues(context: context)