Bug: Since the release of May 15, 2013 the page crashes when the logScale from the vAxis object is set to true

15 views
Skip to first unread message

mathew.c...@pildo.com

unread,
May 17, 2013, 10:15:42 AM5/17/13
to google-visua...@googlegroups.com
This used to work before the new release (May 15, 2013). Now, the script does not work properly (crushing the page) if the property logScale from the vAxis object is set to true.
If this property is erased, the chart is generated without any problem, if the logScale is set to true it seems to run out of memory.
I would appreciate if anyone could help me with this. 
Thanks in advance,
Mathew

Sergey Grabkovsky

unread,
May 17, 2013, 10:21:50 AM5/17/13
to google-visua...@googlegroups.com
Could you please post some sample failing code? I'd like to see exactly what cases this fails under, since the basic logScale tests that I'm trying seem to work.

- Sergey


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

mathew.c...@pildo.com

unread,
May 17, 2013, 10:48:00 AM5/17/13
to google-visua...@googlegroups.com
I've also tried this in the code playground and it works, but once implemented this seems to happen. Anyhow it used to work with the previous release.
The code is:
var chart = new google.visualization.LineChart(document.getElementById(id));
chart.draw(data, {width: 840, height: 340, title: title_js, fontName : 'Arial', fontSize: 10,
legend: 'none',
vAxis: {logScale: true, title: '# samples', titleTextStyle: {color: 'black'}, maxValue: max, format:'#E0'},
hAxis: {title: axis_label, titleTextStyle: {color: 'black'}, slantedText: false, maxAlternation: 1}
});
I suppose you need to know the value of data, right? 



On Friday, May 17, 2013 4:21:50 PM UTC+2, Sergey wrote:
Could you please post some sample failing code? I'd like to see exactly what cases this fails under, since the basic logScale tests that I'm trying seem to work.

- Sergey


On Fri, May 17, 2013 at 10:15 AM, <mathew.c...@pildo.com> wrote:
This used to work before the new release (May 15, 2013). Now, the script does not work properly (crushing the page) if the property logScale from the vAxis object is set to true.
If this property is erased, the chart is generated without any problem, if the logScale is set to true it seems to run out of memory.
I would appreciate if anyone could help me with this. 
Thanks in advance,
Mathew

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Sergey Grabkovsky

unread,
May 17, 2013, 10:50:47 AM5/17/13
to google-visua...@googlegroups.com
Yup, the data is the important bit here. Your options seem to work when I try them with my data.

- Sergey


To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages