Problems using tool tip in multiple Lines
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Problems using tool tip in multiple Lines Expand / Collapse
Author
Message
Posted 4/11/2007 10:49:51 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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&lt;BR&gt;Score: 420&lt;BR&gt;Rank:2'/>")

xmldata.Append("<set label='Mary' value='295' tooltext='Mary Evans&lt;BR&gt;Score: 295&lt;BR&gt;Rank:3'/>")

xmldata.Append("<set label='Tom' value='523' tooltext='Tom Bowler&lt;BR&gt;Score: 523&lt;BR&gt;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

Post #807
Posted 4/13/2007 8:11:16 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956, Visits: 468
Make sure you're using dataURL method and not dataXML method.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #815
Posted 4/13/2007 9:51:32 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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

 

 

 

Post #823
Posted 4/14/2007 1:17:24 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956, Visits: 468
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
Post #825
Posted 5/7/2008 1:20:03 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #6133
Posted 5/12/2008 6:19:23 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956, Visits: 468
If you're using dataXML method, just convert all & to %26

Thanks,
Pallav Nadhani
FusionCharts Team
Post #6196
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 12:11am


Execution: 0.047.