Saturday, December 26, 2009

Sortable tables and log Y scale

The tables shown on the info page are now sortable - click on the column header to sort, and click on it again to sort in descending order. The "nearby stations" table doesn't sort nicely, though, since it's actually two tables embedded in a single table, and it's sorted as if it was a single table of content. I'll have to figure out something for it.

I've also changed the igate / digipeater receiver performance graph to use a logarithmic Y scale, so that distances with smaller amount of activity are more visible.

Merry Christmas!

5 comments:

Unknown said...

Hey, the new log scale on the digi performance graph is great. Small values don't get lost in the noise now!

I was playing with the new sorting capabilities, and think I found a little issue. The "stations near" graph initially gets rendered in ascending distance order. However, if you click on the header to sort by distance, it looks kind of like it is trying to sort alphabetically, rather than numerically... ie. 1.0km is lower than 230m which is also lower than 68m, but 95km is higher. It also goes a little wonky from left to right when it has an out of order distance to the left. It's not quite alpha sorting totally. Have a poke at it, and you'll see what's happening.

Thanks for making the site better and better every day! 8)

Oba JA7UDE said...

The sorting function is cool! Thanks for the nice addition. Let me report that the sorting on the grid locators seems not working correctly. Good day!

73
Oba
JA7UDE

Hessu said...

VE6SRV: Yup, the distance sorting isn't working very well, I'll have to provide numeric raw values for the sorting code instead of letting it figure out what kind of sort to do on the rather mixed-format column.

Oba: The grid locator sort seems to work to me, it's an alphabetical sort. How exactly is it broken?

Oba JA7UDE said...

Sorry, it was my misunderstanding. Since the column titles says "longest," I thought it would sort the rows by distance, like (rx=>tx).

73
Oba
JA7UDE

Hessu said...

Oba: Ok. Maybe I should make it sort by the distance, then, while fixing the sort using the next (distance) column.