How To Pass Arguments In Jquery Function C# Web Application?
<p>i am drawing chart using High Chart JS in my web app in which data values are hardcoded as shown below,</p>

<pre><code>function Drawgraph(){
    var chart;
    $(document).ready(function() {
    chart = new Highcharts.Chart({
        chart: {
            renderTo: 'container',
            zoomType: 'x',
            spacingRight: 20
        },
        title: {
            text: 'Power to USD '
        },
        subtitle: {
            text: document.ontouchstart === undefined ?
                'Click and drag in the plot area to zoom in' :
                'Drag your finger over the plot to zoom in'
        },
        xAxis: {
            type: 'datetime',
            maxZoom: 14 * 24 * 3600000, // fourteen days
            title: {
                text: null
            }
        },
        yAxis: {
            title: {
                text: 'Power rate'
            },
            min: 0.6,
            startOnTick: false,
            showFirstLabel: false
        },
        tooltip: {
            shared: true                    
        },
        legend: {
            enabled: false
        },
        plotOptions: {
            area: {
                fillColor: {
                    linearGradient: [0, 0, 0, 300],
                    stops: [
                        [0, Highcharts.theme.colors[0]],
                        [1, 'rgba(2,0,0,0)']
                    ]
                },
                lineWidth: 1,
                marker: {
                    enabled: false,
                    states: {
                        hover: {
                            enabled: true,
                            radius: 5
                        }
                    }
                },
                shadow: false,
                states: {
                    hover: {
                        lineWidth: 1                        
                    }
                }
            }
        },  
        series: [{
            type: 'area',
            name: 'Power to USD',
            pointInterval: 24 * 3600 * 1000,
            pointStart: Date.UTC(2011, 0, 01),
            data: [
                0.8446, 0.8445, 0.8444, 0.8451, 0.8418, 0.8264, 0.8258, 0.8232, 0.8233, 0.8258, 
                0.8283, 0.8278, 0.8256, 0.8292, 0.8239, 0.8239, 0.8245, 0.8265, 0.8261, 0.8269, 
                0.7095
            ]
        }]
    }); 
});
};
</code></pre>

<p>How would i pass values to the data [] ?? from array [] term ...</p>

<p>Hopes for your reply</p>

<p>Regards,</p>
