on 09-12-2015 10:07 AM
Hi,
SAP UI5 viz bar chart is not rendering in Firefox if the user performs the below operation
1. if the data model is switching between empty JSON and data JSON
2. Switching between setVisble(false) and setVisible(true) in bar chart object
To Simulate this issue, i have created the single HTML file loads SAP VIZ BAR chart and to test this
1. Add this attached file into SAP UI5 project (rename .txt to .html)
2. Run this file using any web server
3. Hit "Load Chart" button to load sample viz chart
4. Hit "Clear Chart" to make the model empty
5. Again Hit "Load Chart" and observe the only axis renders not the bars (If not reproducible please hit "Clear Chart" 2 or 3 times and hit "Load Chart"
Please help me to resolve this issue and let me know if i miss something in this file.
[FireFox browser version 37.0.1 and SAP UI5 version :1.30.0]
Thanks in Advance
Srinath
Hi Srinath,
In Mozilla, first time it works, second time it doesn't. In console, it says NS_ERROR_FAILURE.
And I click on the error, it gives me this -
There seems to be some issue with your dataLabel aggregation. If I pass empty for dataLabel:{} it works.
Please run this in Mozilla - Plunker - BarChartTest
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Created the snippix to replicate this issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.