Tonight I'm working on a tag cloud based upon the number of db entries for terms. I use row variables, add them up for each row, sort in ascending order. Then I display the top ten terms inside a panel with label.Font.Size = value for each one's row. So I get size relevancy to the number of times a term was searched. In the future I will have to come up with a scaling factor because I can't have 567 point text.
I actually had to use a decrement in the for loop because I was "rolling down the stack" to make room for the newest highest searched entries.
Subscribe to:
Post Comments (Atom)
1 comment:
Sure you can do that with a panel?
Post a Comment