#1528 setXLabel function doesn't work

closed-invalid
Darren Greene
None
5
2005-05-17
2005-05-17
Doriano Cometto
No

PhpWebSite Version: 0.10.1 (phpwebsite-0.10.1-full.tar.gz)

In the file
./mod/stats/class/StatsBarGraph.php on row 31
the function setXLabel doesn't work (do nothing) and I
don't know why.

Discussion

  • Darren Greene
    Darren Greene
    2005-05-17

    Logged In: YES
    user_id=783140

    The setXLabel does work and is used. This is responsible
    for setting the X axis label. If you look in
    graphs/Month.php and graphs/AllMonths.php you will see calls
    to this function and if you change the value then you will
    see a change in the labeling of the graph.

    Darren

     
  • Darren Greene
    Darren Greene
    2005-05-17

    • assigned_to: nobody --> dg49379
    • status: open --> closed-invalid
     
  • Logged In: YES
    user_id=839732

    Ok you are right, now I understood why that function
    apparently do nothing on my (italian speaking) system. The
    problem is in another place: there are english words in code.
    In the file
    graphs/Month.php on row 63
    and in the file
    graphs/AllMonths.php on row 112.
    Thank you.

     
  • Darren Greene
    Darren Greene
    2005-05-17

    Logged In: YES
    user_id=783140

    I have moved the english text in the graphs to the
    conf/stats.php config file so that it will not be mixed with
    the code.

    Darren