jquery chart example to work with dynamic values
<p>I want to use this jqchart bt i dont know how to pass values to this function from my servlet,which in turn will receive the values from request or session.Can anybody tell me how can i make this function to have dynamic values?Thanx in advance.   </p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
    &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
    &lt;head&gt;
        &lt;title&gt;HTML5 Chart jQuery Plugin - Multiple Axes &lt;/title&gt;
        &lt;link rel="stylesheet" type="text/css" href="../css/jquery.jqChart.css" /&gt;
        &lt;script src="../js/jquery-1.5.1.min.js" type="text/javascript"&gt;&lt;/script&gt;
        &lt;script src="../js/jquery.jqChart.min.js" type="text/javascript"&gt;&lt;/script&gt;
        &lt;!--[if IE]&gt;&lt;script lang="javascript" type="text/javascript" src="../js/excanvas.js"&gt;&lt;/script&gt;&lt;![endif]--&gt;
        &lt;script lang="javascript" type="text/javascript"&gt;
            $(document).ready(function () {
                $('#jqChart').jqChart({
                    title: { text: 'Multiple Axes' },
                    axes: [
                             {
                                 name: 'y1',
                                 location: 'left'
                             },
                             {
                                 name: 'y2',
                                 location: 'right',
                                 strokeStyle: '#FCB441',
                                 majorGridLines: { strokeStyle: '#FCB441' },
                                 majorTickMarks: { strokeStyle: '#FCB441' }
                             }
                          ],
                    series: [
                                {
                                    type: 'column',
                                    axisY: 'y1',
                                    data: [['a', 1], ['b', 4], ['c', 3], ['d', 5], ['e', 2], ['f', 1]]
                                },
                                {
                                    type: 'line',
                                    axisY: 'y2',
                                    data: [['a', 40], ['b', 60], ['c', 62], ['d', 52], ['e', 70], ['f', 75]]
                                }
                            ]
                });
            });
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;div&gt;
            &lt;div id="jqChart" style="width: 500px; height: 300px;" /&gt;
        &lt;/div&gt;
    &lt;/body&gt;
    &lt;/html&gt;
</code></pre>
