Open KOSURUUDAYSAIKUMAR opened 2 days ago
Hi @KOSURUUDAYSAIKUMAR,
Could you please clarify what issue you’re experiencing? Is it related to the Highcharts library? Any additional details would help us understand how to assist you.
Hi, In Logout Scenario - I cleared all the Application Library support folder which stores our app information and Temporary files such as Local media and High chart framework. When User Sign In Scenario (Without Relaunch the app) - High chart is not visible, I wrote the code as HighChart.draw() and HighChart.update(options, true) and HIChartView.preload() --- Attached Screen shot for stored default framework in temporary app folder.
func clearTemporaryDirectory() throws { let tempURL = URL(fileURLWithPath: NSTemporaryDirectory(), isDirectory: true) try FileManager.default.contentsOfDirectory(at: tempURL, includingPropertiesForKeys: nil) .forEach { fileURL in do { try FileManager.default.removeItem(at: fileURL) print("Deleted file: (fileURL.lastPathComponent)", #function) } catch { print("Error deleting file: (fileURL.lastPathComponent), error: (error)") } } } --- This code is used - When user logout - Delete all stored files locally. ---Deleted file: BlobRegistryFiles-aKP1n4rx Deleted file: BlobRegistryFiles-vt3e9dFB Deleted file: com.highcharts.charts.bundle Deleted file: WebKit
Code: func configurePieChart() { let options = HIOptions()
// let chromeDataLabels = HIDataLabels() // dataLabels.enabled = true // True - Arrow with Text // False - Only color chromeData.dataLabels = [dataLabels]