tags:

views:

31

answers:

1

How can compare with flot 2 differents date range and one line appears above the other, because now i have one line and then the other after the first one.

Thank you.

A: 

Any soltutions yet ? I`m also looking for a solution to compare 2 Ranges within a singla Graph ..

Alex
yes, you have to assign one rage to xaxis and the other to x2axias
developer
$data[0]=array('data'=>$sql['main'],'label'=>t('Main'));
developer
$data[]=array('data'=>$sql['compare'],'xaxis' => 2,'label'=>t('Compare'));
developer
$output =theme('flot_graph', array(), $data,$options);
developer