I'm building a chart that has log scaling on both the horizontal axis and
the vertical axis. It was working for quite some time, but mysteriously
stopped working about 6 weeks ago:
var data = new google.visualization.DataTable();
data.addColumn( 'number', 'SJAmp' );
data.addColumn( 'number',
'1.000V_055C_78aff_0n0cp6p3p5p7p4p3p2p4p3p4p0_1046_1_1_4_14_100_10' );
data.addColumn( 'number', 'Adjusted Jitter' );
data.addColumn( 'number', '15GJTOL spec' );
data.addRow( [1.000000e+6,10.6,10.4049,null] );
data.addRow( [2.000000e+6,3.23,3.0349,null] );
data.addRow( [4.000000e+6,1.23,1.0349,null] );
data.addRow( [6.000000e+6,0.97,0.7749,null] );
data.addRow( [8.000000e+6,0.81,0.6149,null] );
data.addRow( [1.000000e+7,0.65,0.4549,null] );
data.addRow( [2.000000e+7,0.48,0.2849,null] );
data.addRow( [4.000000e+7,0.33,0.1349,null] );
data.addRow( [6.000000e+7,0.31,0.1149,null] );
data.addRow( [8.000000e+7,0.27,0.0749,null] );
data.addRow( [9.000000e+7,0.305,0.1099,null] );
data.addRow( [1000000,null,null,1] );
data.addRow( [8998200,null,null,0.115] );
data.addRow( [80000000,null,null,0.115] );
data.addRow( [100000000,null,null,0.115] );
var options = { title: 'mckinley_xtal :: EDCS879097_vlp ::
nom_07_15p0G_bw_15_chan_17dB 1V JTOL',
curveType: 'none',
lineWidth: 1,
legend:{position: 'right', textStyle: {fontSize:10}},
chartArea: {width:'50%'},
pointSize: 4,
series:{0:{pointSize:4,color:'#0000ff'},1:{pointSize:0,
color:'#0000ff'},2:{ color:'#ff0000', lineWidth:5,pointSize:0}},
vAxis: { title: 'SJ Amp (Uipp)', logScale: true, format: '0.###E+0',
viewWindowMode: 'pretty' },
//hAxis: { title: 'SJ Freq (Hz)', logScale: true, format: '0.###E+0',
viewWindowMode: 'pretty' }
hAxis: { title: 'SJ Freq (Hz)', format: '0.###E+0', viewWindowMode:
'pretty' },
};
var chart = new
google.visualization.ScatterChart(document.getElementById('visualization'));
chart.draw(data, options);
I've put the above code into the visualization playground to try and debug
it; it displays with no problems. If I uncomment the hAxis format option
which enables log scaling, visualization locks up (as well as my web
browser.) Am I doing something wrong?
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.