Matt Sowers

Question On Data Labels

Recommended Posts

Okay, so we're using FC3, and I had a question on what "Limited HTML" in the data labels means

 

Okay, so specifically the problem is this (And apologies for any spacing problems, apparently the keyboard is being obstructionist)

 

Our site runs on a lot of javascript calls (it's all legacy, none of us are happy about it really), and we use the link= option in the FC xml to make some of those calls

 

Now, some of our data is widly varied, so in charts where you've got large bars, there's also gonna be some exceptionally small bars (such as values of 10 and 10000)

 

We've been having complaints about the small bars being unclickable due to their size, and it was posited that we add a link to the data label to overcome that

 

Well, adding a link to the datalabel is giving us "invalid data" errors even with the isHTML flag set in the style area.

 

Upon doing some reading, we've found that label has Limited HTML

 

What are the limits of HTML for data labels?

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Could you please confirm whether you are using Flash or JavaScript chart?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Could you please confirm whether you are using Flash or JavaScript chart?

 

Awaiting for your response.

 

 

We're using the Flash Chart

 

--Matt

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Please find the sample multi series chart XML code attached for your reference to add link to data labels.

 

Looking forward to your feedback.

CategoryLink.xml

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for your response.

 

Please find the sample multi series chart XML code attached for your reference to add link to data labels.

 

Looking forward to your feedback.

 

 

Ah, I see the problem. We need another layer of quotes :/ label="< href='Javascript:stuff("123")'"

 

Yeah.. That's not gonna work. Fun.

Share this post


Link to post
Share on other sites

Ah, I see the problem. We need another layer of quotes :/ label="< href='Javascript:stuff("123")'"

 

Yeah.. That's not gonna work. Fun.

 

<set link="JavaScript: isJavaScriptCall=true;loggedOut_fakeOut = true;graph_drilldown(16,'0','15','',11,2,1,0,null,600064,1,'dynlayer_16624','9631')" value="0" tooltext="27MAY{br}Click To View" label="<a href="JavaScript: isJavaScriptCall=true;loggedOut_fakeOut = true;graph_drilldown(170,'0','12','',11,2,1,0,null,600064,1,'dynlayer_10','170_1314199631')">27MAY2010</a>" />

 

 

Ugly, but I think the problem is coming into the nested quotes.

 

Thanks tho.

 

--Matt

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