1

Topic: lines on schedule FLOT MYSQL

It is necessary to show on one schedule some lines on accordingly several requests MySQL. The data on one request I transfer so:

<script type = "text/javascript">
var wes = <? = $wes?>;
var outrdyfull = <? = $ags?>;
var i;
var arr = new Array ();
len = wes.length;
for (i = 0; i <len; i ++)
{
arr.push ([wes [i], outrdyfull [i]]);
}
for (i = 0; i <len; i ++)
{
arr2.push ([wes [i], outrdyfull [i]]);
}
$(function () {
var stats = arr;
$.plot ("#stats", [stats]);});
</script>
<div id = "stats" style = "width:1000px; height:500px;"> </div>

And how to transfer the data for the second line on the second request? How them to separate from each other?

2

Re: lines on schedule FLOT MYSQL

svil1502;
Send a little  requests sequentially or one but return  at once with all data