From 4d2e335ead8de57ec72041ab5b7352a2157a139b Mon Sep 17 00:00:00 2001 From: Katalin Nagy Date: Mon, 7 May 2018 21:10:31 +0300 Subject: [PATCH] Make legendRenderer property public in order to be externally customizable --- Source/Charts/Charts/ChartViewBase.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Charts/Charts/ChartViewBase.swift b/Source/Charts/Charts/ChartViewBase.swift index 0f21234ad1..473ab09c35 100644 --- a/Source/Charts/Charts/ChartViewBase.swift +++ b/Source/Charts/Charts/ChartViewBase.swift @@ -102,7 +102,7 @@ open class ChartViewBase: NSUIView, ChartDataProvider, AnimatorDelegate open var noDataTextAlignment: NSTextAlignment = .left /// The renderer object responsible for rendering / drawing the Legend. - @objc open internal(set) lazy var legendRenderer = LegendRenderer(viewPortHandler: viewPortHandler, legend: legend) + @objc open lazy var legendRenderer = LegendRenderer(viewPortHandler: viewPortHandler, legend: legend) /// object responsible for rendering the data @objc open var renderer: DataRenderer?