In tvOS, I have a LineChartView that displays on the customOverlayViewController of AVPlayerViewController. Over time, data is added to the LineChart & the chart is updated.
What did you expect to happen?
I expected that as the data was updated, that the chart would update as well, no longer showing the previous data as it does using the exact same code in iOS, shown below.
What happened instead?
In tvOS, when new data is added to an existing line chart, the visualization creates a new line chart image that overlaps the previous image. This is true whether the entire dataSet is replaced or if items are added to the dataSet.
I have verified:
there is only only dataSet
that the one dataSet is being appended to & another one is not being created
What did you do?
In tvOS, I have a LineChartView that displays on the
customOverlayViewController
ofAVPlayerViewController
. Over time, data is added to the LineChart & the chart is updated.What did you expect to happen?
I expected that as the data was updated, that the chart would update as well, no longer showing the previous data as it does using the exact same code in iOS, shown below.
What happened instead?
In tvOS, when new data is added to an existing line chart, the visualization creates a new line chart image that overlaps the previous image. This is true whether the entire dataSet is replaced or if items are added to the dataSet. I have verified:
Charts Environment
Charts version/Branch/Commit Number: 4.1.0 Xcode version: 14.3 Swift version: 5.8 Platform(s) running Charts: iOS & tvOS macOS version running Xcode: Ventura 13.3
Demo Project
Not available.