|
|
|
Junior Member
      
Group: Forum Members
Last Login: 11/13/2008 5:00:28 PM
Posts: 19,
Visits: 44
|
|
[font=Courier New]I am setting up a map to post results from American Presidential Primaries and caucuses.
I have a Fusion Map and a basic xml file configured and running. The data that I would like to include in the marker section something that would look like this:
(the just stands for "tab space")
Candidate Votes Percent Delegates Winner?
Clinton 100 55.0 10 X
Obama 50 25.0 5 X
Edwards 50 25.0 5 X
I have seen examples of multi-line data that appeared to have line breaks but I do not see in the documentation how to insert a line break -- or line ender.
Also, is there an xml equivalent here for the "tab" character? I would like these to format up as tabular matter.
Thanks in advance for your help.
Keith Morse
Denver, Colorado
[font=Courier New][font=Courier New][/font][/font][/font][left][/left][/font]
Keith Morse
denverpost.com
Keith Morse
denverpost.com
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 1:19:54 AM
Posts: 870,
Visits: 1,386
|
|
| hi, In the Office Localtion Example from Maps Gallery you can get the XML that shows how to use multiline in marker tooltips. Apply the same to marker labels.The idea is set the font style's property isHTML='1' and use this font style to markerlabels and use <BR> (i.e. HTML <BR> for line break in markerlabels. For tabs please use 	
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 11/13/2008 5:00:28 PM
Posts: 19,
Visits: 44
|
|
I was trying to put tabular matter inside a tooltip, but have had little success. If I use the
Just as an experiment, I set up my tabular matter inside a conventional HTML page, then pasted it into my tooltip (after making the proper entity translations) and I got no line break from the |
Here is the HTML I am trying to replicate inside the tooltip:
b>Democrats table>table width="100%"> tr> td align="left">Candidate /td> td align="right">Votes/td> td align="right">% /td> td align="right">Delegates /td> /tr>
tr> td align="left">Clinton /td> td align="right">100 /td> td align="right">50.0 /td> td align="right">10 /td> /tr>
/table>
I think my HTML is valid. Am I missing something something in the Fusion Maps process here?
Thanks in advance,
Keith Morse
Keith Morse
denverpost.com
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 1:19:54 AM
Posts: 870,
Visits: 1,386
|
|
hi,
Check the attached XML out in a work map.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 3/7/2008 8:03:03 AM
Posts: 14,
Visits: 41
|
|
| Hi, the example above only shows line breaks not tabular output... I suppose the table tag is not supported...? At least I can not get it to work neither in a marker nor in a tooltip... Greetings, Mahoutsoukai
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 11/13/2008 5:00:28 PM
Posts: 19,
Visits: 44
|
|
Sudipto,
I will try this xml code insert.
Thank you.
Keith Morse
Denver Pos t
Keith Morse
denverpost.com
|
|
|
|