WKWebView: Legends of graphs/ Graph content of xlsx documents are not displaying properly

Originator:svaishnav
Number:rdar://7439982 Date Originated:Nov 11, 2019
Status:Open Resolved:Open
Product:iOS Product Version:iOS 12, 13
Classification:Unexpected Behaviour Reproducible:Always
 
WKWebView: Legends of graphs/ Graph content of xlsx documents are not displaying properly

Which area are you seeing an issue with?
WebKit

What type of feedback are you reporting?
Incorrect/Unexpected Behavior

Description
Please describe the issue and what steps we can take to reproduce it:

Precondition:
- .xlsx file having some spreadsheets with some graphical content. see attached sample files.

Steps:
- Load xlsx file in WKWebView using 
     NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url]; //url represents a filesystem fileURL
     [self.wkWebView loadRequest:request];

Actual Behavior:
- When the file data is loaded on WKWebView, legends/ annotations in graphical content doesn't display correct details. i.e. it is not displaying correct graph values

Expected Behavior:
- Excel file should display all graphs and contents properly using WKWebView.
- Graphs are showing perfectly in MS Excel app.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!