cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 Vizframe zero values error

0 Kudos
153

Hi!

I set large amount of data on linechart with timeaxis.

If there is no data for some range of time, I set its values to zero.

But if I do it, I get an error:

'Error: <g> attribute transform: Expected number, "translate(Infinity, 374.56…".'

in file "sap-viz-info-charts.js", line number in formatted file is 40681 (method "p.prototype._drawDataPoint", line "k.setAttribute()...*.

Is it a bug? How can I set date range to zero or maybe do a line break?

View Entire Topic
0 Kudos

I still don't know what the issue was with large amount of data points with zero value, but I resolved it with adding just two data points with zero values at start and end of time range.