i have a CombinedChartView with a custom xAxisRenderer that draw images loaded asynchronously. I need to force my xAxisRenderer to redraw the axis (at least calling renderAxisLine(context: CGContext)) when my images are loaded. So i wonder how to do so ?
It works if a force the entire chart to display with setNeedsDisplay()but it's probably too much as i only need to draw the images from my custom XAxisRenderer.
Charts Environment
Charts version/Branch/Commit Number: 4.1.0
Xcode version: 14.2
Swift version: 5
Platform(s) running Charts: iOS
macOS version running Xcode: 13.2.1
Hello,
i have a
CombinedChartView
with a customxAxisRenderer
that draw images loaded asynchronously. I need to force myxAxisRenderer
to redraw the axis (at least callingrenderAxisLine(context: CGContext)
) when my images are loaded. So i wonder how to do so ?It works if a force the entire chart to display with
setNeedsDisplay()
but it's probably too much as i only need to draw the images from my customXAxisRenderer
.Charts Environment
Charts version/Branch/Commit Number: 4.1.0 Xcode version: 14.2 Swift version: 5 Platform(s) running Charts: iOS macOS version running Xcode: 13.2.1