IE (8) doesn't display the bars in a bar chart when the last bar has a value of "0".
It works fine when I give it a value of "1".
For instance, when I take the basic example (from the downloaded version) and
modify the last <td> value for Mary to "0" it breaks. It works fine for "1".
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Charting</title>
<link href="css/basic.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../_shared/EnhanceJS/enhance.js"></script>
<script type="text/javascript">
// Run capabilities test
enhance({
loadScripts: [
'js/excanvas.js',
'../_shared/jquery.min.js',
'js/visualize.jQuery.js',
'js/example.js'
],
loadStyles: [
'css/visualize.css',
'css/visualize-dark.css'
]
});
</script>
</head>
<body>
<table >
<caption>2009 Employee Sales by Department</caption>
<thead>
<tr>
<td></td>
<th scope="col">food</th>
<th scope="col">auto</th>
<th scope="col">household</th>
<th scope="col">furniture</th>
<th scope="col">kitchen</th>
<th scope="col">bath</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Mary</th>
<td>190</td>
<td>160</td>
<td>40</td>
<td>120</td>
<td>30</td>
<td>0</td>
</tr>
</tbody>
</table>
</body>
</html>
jQuery 1.4.2
Browser: IE 8
Operating System: Windows Vista
Original issue reported on code.google.com by aaronkre...@gmail.com on 2 Jul 2010 at 6:25
Original issue reported on code.google.com by
aaronkre...@gmail.com
on 2 Jul 2010 at 6:25