Tag cloud in WPF
Asked Answered
F

2

1

Anyone knows how to create one? I know this question has been asked before but there was no answer and the provided link was a dead end.

EDIT

The project I found but couldn't make it work is this: http://alanle.com/wp-content/uploads/2009/12/WPFTagCloud.zip

The errors I get are

  1. “Assembly must be specified for XAML files that are not part of a project. Reopen this XAML file after adding it to a project, close this file and reopen it using the project it is associated with, or modify the clr-namespace to include the name of the assembly.”
  2. “The type ‘local:CountToFontSizeConverter’ was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.”

If someone can run it and knows how to fix it that would be great. Thanks

Filibeg answered 20/4, 2011 at 19:24 Comment(1)
Aaah, tag clouds. So pretty. So pointless.Phillis
O
2

Take a look at this blog post.

After looking at the code in this blog post (just close the authenticate box that pops up) it looks correct. The basic idea is to bind the font size as well as the text, and calculate the font size based on the number of occurrences.

Ostracize answered 20/4, 2011 at 19:28 Comment(2)
(XIII's link is bad, thus my bad)Phillis
2018: Link is dead.Memo
I
1

A simple bing search came up with this: Building a WPF Tag Cloud.

Issy answered 20/4, 2011 at 19:28 Comment(3)
Indeed. It just took me more time to have markdown properly made up :-).Issy
That's the link I mentioned that was a dead end. I found the code but it doesn't work.Filibeg
?? you didn't specify any link in your original question. If it doesn't work simply create a new thread and specify what's not working for you.Issy

© 2022 - 2024 — McMap. All rights reserved.