Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Realtime streaming dataset pb with historical data & report

Hi everyone

I'm facing issue with my streaming dataset.

My dataset "analyse historic data" is on.

 

Therefor my dataset is told hybrid

 

My dashboard is working great with 60 min data.

 

BUT MY REPORT do not contain any data.

 

What am I doing wrong ?

 

Thanks for your help.

  • Anonymous's avatar
    Anonymous
    6 years ago

    Ok guys,

     

    I got my soluce.

    The json pushed data MUST be inclosed between [ and ] .

    So just update my php scipt like this :

    $arr = array(array('ca' => $ca_total, 'commandes' => $com_total,'date' => date('Y-m-d'), 'heure' => date('H:i:s'), 'ts' => date('Y-m-d H:i:s'), 'panier' => $panier_total));

    $json = json_encode($arr);

     

    That made the trick.

     

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Ok guys,

     

    I got my soluce.

    The json pushed data MUST be inclosed between [ and ] .

    So just update my php scipt like this :

    $arr = array(array('ca' => $ca_total, 'commandes' => $com_total,'date' => date('Y-m-d'), 'heure' => date('H:i:s'), 'ts' => date('Y-m-d H:i:s'), 'panier' => $panier_total));

    $json = json_encode($arr);

     

    That made the trick.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      It does not make the trick however, my reports works, but my dashboard becomes crazy...

       

       

      • vbourbeau's avatar
        vbourbeau
        Icon for Resolver II rankResolver II

        I have the same problem do you find the solution?