|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/13/2007 9:47:15 AM
Posts: 2,
Visits: 8
|
|
| Hi guys, you know i'm trying to use the tool tip with multiple lines, specificly i'm having problmes when i try to use the <> characters, in the fusion chart v3 documentacions, i have the following code: xmldata.Append( "<chart>")xmldata.Append( "<set label='John' value='420' tooltext='John Miller<BR>Score: 420<BR>Rank:2'/>")xmldata.Append( "<set label='Mary' value='295' tooltext='Mary Evans<BR>Score: 295<BR>Rank:3'/>")xmldata.Append( "<set label='Tom' value='523' tooltext='Tom Bowler<BR>Score: 523<BR>Rank:1'/>")xmldata.Append( "<styles>")xmldata.Append( "<definition>")xmldata.Append( "<style name='myHTMLFont' type='font' isHTML='1' />")xmldata.Append( "</definition>")xmldata.Append( "<application>")xmldata.Append( "<apply toObject='TOOLTIP' styles='myHTMLFont' />")xmldata.Append( "</application>")xmldata.Append( "</styles>")xmldata.Append( "</chart>")as you can see, i'm using the same code of the documentacion, homewever, when i render the chart, a message of invalid XML data appears, Any Help will be appreciated
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001,
Visits: 474
|
|
Make sure you're using dataURL method and not dataXML method.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/13/2007 9:47:15 AM
Posts: 2,
Visits: 8
|
|
| I'm using the following code: Return "" & InfoSoftGlobal.InfoSoftGlobal.FusionCharts.RenderChartHTML("Images\Column3D.swf", "", xmldata.ToString, "EstatusMes", "700", "400", False)the xmldata object contains the xml code. is this correct? or how can i use the DataUrl Method, can you give an example? thanks a lot for your support
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001,
Visits: 474
|
|
Here, you're using dataXML method. Please see our documentation at www.fusioncharts.com/docs > Guide for Web Developers > FusionCharts and ASP.NET to learn about dataURL method.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/12/2008 2:27:00 PM
Posts: 2,
Visits: 9
|
|
Is there no way to use setDataXML and still get a multiple line tool-tip? I have to say that this seems kind of a bad design if you can't. Especially when using ASP.NET because you can't call a webservice with parameters through setDataURL, you have to use a regular ASPX page that returns XML which is very cumbersome.
Please let me know if there is any way around this. I have been very happy with your products up to this point, but if I can't do a multi line tool-tip with setDataXML I might need to look at other solutions.
Thanks,
JC Grubbs
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001,
Visits: 474
|
|
If you're using dataXML method, just convert all & to %26
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|