FusionCharts Forum: HoverText and Newline??? - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

HoverText and Newline??? Why is this so hard to do?

#1 User is offline   errodr 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 19
  • Joined: 13-February 07

Posted 12 May 2009 - 09:32 AM

I am using the PHP Class with FusionCharts version: 3.0.4



My question is this: how do I add a line break in the hovertext?





$FC->addChartData($bs_array[$i] - $af_array[$i],"hoverText=Line1Line2");




I need a line break between line1 and line2 in the hovertext above.



How is this done??
0

Other Replies To This Topic

#2 User is offline   Rahul Kumar 

  • Supreme Being
  • Group: Moderators
  • Posts: 1034
  • Joined: 18-March 08

Posted 12 May 2009 - 11:42 PM

Hi,

Could you please try using 
 between two line and try again.

Example:
$FC->addChartData($bs_array[$i] - $af_array[$i],"hoverText=Line1
Line2");

Regards,
Rahul Kumar
Software Engineer

A byte of magic.

 
0

Other Replies To This Topic

#3 User is offline   errodr 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 19
  • Joined: 13-February 07

Posted 13 May 2009 - 08:51 AM

When I try putting between the lines what I get is:



Line 1 ampersand pound sign 10



and no line break.



What else can I try? Nothing seems to work.



I have tried several things.
0

Other Replies To This Topic

#4 User is offline   Rahul Kumar 

  • Supreme Being
  • Group: Moderators
  • Posts: 1034
  • Joined: 18-March 08

Posted 14 May 2009 - 03:57 AM

Hi,
 
Could you please change your Parameter delimiter to , (comma) first & then try using 
 to break text into a new line?
 
Example:
 
 $FC->setParamDelimiter (",");
 
 $FC->addChartData($bs_array[$i] - $af_array[$i],"hoverText=Line1
Line2");
 
Because the default delimiter is ";" and we need to change it to a different character to work with 
.

Regards,
Rahul Kumar
Software Engineer

A byte of magic.

 
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic