schulle877

Links For Categories Behaves Different

Recommended Posts

Hi!

I'm using the most current version of FC, 3.2 in combination with the php classes.

There is a strange behaviour of "StackedColumn3D" vs. "StackedBar3D".

There is a bool called $bLinks which switches if category labels should be linked. This only works with the combination of defining a style and encoding a url. (Previous post: See this)

Following code WORKS for StackedBar3D:

$FC_wst_verlauf = new FusionCharts("StackedBar3D",$iWidth,$iHeight); // stacked chart
if ($bLinks){
   $FC_wst_verlauf->defineStyle("CategoryLabelStyle","font","isHTML=1;Underline=0;color=0434B1;");
   $FC_wst_verlauf->applyStyle("DataLabels","CategoryLabelStyle");
}
...
       if ($bLinks) {
           $link = urlencode("example.php?reporttype=list&filter_month=".$month["month"]);
           $link = "<a href="".$link."">".$month["month"]."</a>";
       } else $link = $month["month"];
...

looking like the first attachment

 

I want this to work for StackedColumn3D, so same code, different swf file DOESN'T WORK, looking like the second attachment.

 

May there be an error in the swf-file?

 

Thanks.

 

Sven Schulze

post-9748-045857400 1300745141_thumb.png

post-9748-021014400 1300745148_thumb.png

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Could you please send us the Generated XML code to look into the issue?

 

Awaiting for your reply.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now