var sumJSON="["+ яснон1+","+ ясон2+"]"
или
var flot_options = {
series: {
lines: { show: true },
points: { show: true }
},
xaxis:{
mode: "time",
timeformat: "%d",
ticks: 31,
minTickSize: [1, "day"],
min: (new Date(prev_date)).getTime() + 14400000,
max: (new Date(cur_date)).getTime() + 14400000,
},
grid: {
borderWidth: 0
}
};
var chart1_flot_options = {
grid: {
borderWidth: 2
}
};
flot_options[chart1_flot_options]=chart1_flot_options;
......