pkdevbox / milkchart

Automatically exported from code.google.com/p/milkchart
0 stars 0 forks source link

Not working 25-2-12 #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've used this:

<script type="text/javascript" src="mootools.js"></script>
<script type="text/javascript" src="MilkChart_src.js"></script>

<script type="text/javascript">

        window.addEvent('domready', function() {
        alert("hello");
    var chart = new MilkChart.Column("chart");
    })
</script>

<!-- Table structure -->
<table id="chart">
    <thead>
        <tr>
            <th>Column A</th><th>Column B</th><th>Column C</th><th>Column D</th>
        </tr>
    </thead>
    <tbody>
        <tr><td>8.3</td><td>70</td><td>10.3</td><td>100</td></tr>
        <tr><td>8.6</td><td>65</td><td>10.3</td><td>125</td></tr>
        <tr><td>8.8</td><td>63</td><td>10.2</td><td>106</td></tr>
        <tr><td>10.5</td><td>72</td><td>16.4</td><td>162</td></tr>
        <tr><td>11.1</td><td>80</td><td>22.6</td><td>89</td></tr>

    </tbody>
    <tfoot>
        <tr>
            <td>Row 1</td><td>Row 2</td><td>Row 3</td><td>Row 4</td><td>Row 5</td>
        </tr>
    </tfoot>
</table>

What is the expected output? What do you see instead?

I expected a graph

What version of the product are you using? On what operating system?

Using 1.4 with FF10.0.2

and I'm getting only the table.  I'm using the above as test only.  I had the 
system working fine but I hadn't looked in a while and when I went back to it 
it wasn't working.  After fidling for an hour I switched to the above test code 
and still couldn't get it to work.  Am I doing something stupid or has FF 
introduced something I don't know of?

Original issue reported on code.google.com by alan....@gmail.com on 25 Feb 2012 at 3:12

GoogleCodeExporter commented 9 years ago
Does firebug say anything?  Also are you using the version from the forge? 
http://mootools.net/forge/p/milkchart

Original comment by theivi...@gmail.com on 25 Feb 2012 at 10:30