LMGaugeViewSwift icon indicating copy to clipboard operation
LMGaugeViewSwift copied to clipboard

Unable to change ringStokeColor

Open vpradeep96 opened this issue 4 years ago • 2 comments

When the value is >= limitValue, I'd love to change the ringstokecolor to red. However, the color is not being changed at all I don't even think ringStokeColor(gaugeView: GaugeView, value: Double) -> UIColor {} is being called anywhere Please help.

vpradeep96 avatar Sep 23 '19 21:09 vpradeep96

You need to add the GaugeViewDelegate protocol to your viewController Then when configuring your gaugeView, add: gaugeView.delegate = self

timyply avatar Feb 18 '20 18:02 timyply

You need to add the GaugeViewDelegate protocol to your viewController Then when configuring your gaugeView, add: gaugeView.delegate = self

thank you 👍

vimperico avatar Nov 08 '20 23:11 vimperico