cancel
Showing results for 
Search instead for 
Did you mean: 

Viz Bar chart is not rendering in firefox

0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

saivellanki
Active Contributor
0 Kudos

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.



0 Kudos

Thanks Sai. But Data Label is very important aspect to show the measure value and this issue is only with FireFox and other browser is working well.

Do you have any suggestion?

0 Kudos

Created the snippix to replicate this issue

http://veui5infra.dhcp.wdf.sap.corp:8080/snippix/#33183

Former Member
0 Kudos

Try to create a snippet in jsbin.com . The snippix won't be accessible outside SAP's network.

0 Kudos

Hi,

Thank you for reply.

I Have added in Jsbin https://jsbin.com/cocejo/1/

Thanks,

Srinath K