PDA

View Full Version : Graph weirdness



gopher_yarrowzoo
01-16-2005, 12:53 PM
Hi Bok, one for ya - the charts you create on the main D2oL page unless I have my IE window maximised or firefox window practically the same way the right hand graph drops down
Running desktop at 1024 x 768 - hmm minor fix i'm sure, just looked at code and HMM major bug in it
<TR> <IMG=...chart...> <img=...chart...> </TR> < no TD , no chart width / height / border / image info in general (might help) <TD COLSPAN=X>blah</TD>

Just a hint :> me getting to grips with PHP rendering HTML properly lol

Bok
01-16-2005, 01:16 PM
The teamstats.php page you mean ?

Yeah, they are bit messy. In fact I started tidying them up a little on friday. I hope to get more of this done this week and IB is helping with some css tidying/fixing too.

Bok :D

gopher_yarrowzoo
01-17-2005, 05:40 PM
Ok, CSS tidying :bang: < what I think of it, I know all about that decided to reinvent a web page (php generated from a txt file) using DIV instead of 1 table with subtables in side it to make it display nice, got it to work finally, got it to line up finally, got the "toggle" buttons to work, and then finally got the "toggle" to work properly and move the div's up, darn Javascript not taking numbers as numbers lol....

Bok
01-18-2005, 04:37 PM
Originally posted by gopher_yarrowzoo
Hi Bok, one for ya - the charts you create on the main D2oL page unless I have my IE window maximised or firefox window practically the same way the right hand graph drops down
Running desktop at 1024 x 768 - hmm minor fix i'm sure, just looked at code and HMM major bug in it
<TR> <IMG=...chart...> <img=...chart...> </TR> < no TD , no chart width / height / border / image info in general (might help) <TD COLSPAN=X>blah</TD>

Just a hint :> me getting to grips with PHP rendering HTML properly lol

Gopher, I actually did know about the lack of <td>'s but it's a small hack in order for the graphs to appear at the top, otherwise they go to the bottom and the rest of the page goes crazy. I was just too lazy way back when to fix it properly. As for the height / width, these graphs are created by calling a seperate php script which uses chartdirector, I'm not even sure the image scaling would make a difference. One of these days though perhaps... :)

gopher_yarrowzoo
01-19-2005, 04:37 PM
Hmm they go at the bottom if ya include the missing <TD> well sounds like someone didn't do the table right lol hmm sounds like a challange to me lol
We that wasn't much of a challange solved it
look at
Stats page with fix comments in it (http://gopher-yarrowzoo.dyndns.org/users/free-dc/stats_free-dc_org.htm)
Fixed Page - with absolute image refs (http://gopher-yarrowzoo.dyndns.org/users/free-dc/stats_fixed.html)
hope the links work - the server they are on is about 20 ft away from at the other end of the attic lol