Warum wird die x Ache in PHPlot nicht richtig angezeigt

  • PHP

Es gibt 1 Antwort in diesem Thema. Der letzte Beitrag () ist von Marcus Gräfe.

    Warum wird die x Ache in PHPlot nicht richtig angezeigt

    Hallo zusammen


    Ich Arbeite mit phplot was eine Grafik ausgibt.


    Mit


    $data[] = array('', strtotime($row['jetzt']),
    str_replace(',', '.', $row['wert1']), str_replace(',', '.', $row['wert2']),
    str_replace(',', '.', $row['wert3']), str_replace(',', '.', $row['wert4']),
    str_replace(',', '.', $row['wert5']) );


    Übergebe ich die Wert in ein Array.


    Die Grafik wird richtig ausgeben!


    Der Erste Wert im $data Array oben ist jetzt Leer, dann soll phplot den 2 Wert als x Ache Bezeichnung
    neben was auch angereicht wird


    Wenn ich aber im
    ersten Array wird Hallo eingebe wird Hallo und oben die X Ache Bezeichnung
    angezeicht


    Laut PHPlot soll aber nur noch Hallo als x Asche Bezeichnung
    angezeigt werden


    Frage: Warum ist das
    so?





    Danke für die Antwort