Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6873847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:07:15+00:00 2026-05-27T04:07:15+00:00

I am invoking a javascript function for drilling down the chart. I tried using

  • 0

I am invoking a javascript function for drilling down the chart.
I tried using both methods specified:

1) <set label='USA' value='235' link="j-myJS-empid"/>.

2) <set label='S. Korea' value='86' link="JavaScript:myJS('empid');"/>

the first try gives me error that the resource – /myapp/mychart/j-myJS-empid is unavailable.
The second one just doesnot display the chart , says invalid XML data.

I am using grails-groovy (java based) to develop my application.
I am using the dataXML method to generate the charts like this

<OBJECT style="z-index: -100" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" align="center" name="Column3D" width="440" height="350"
 codebase="http:/download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="Column3D">
 <param name="movie" value="/gra/swf/FCF_Column3D.swf" />
 <param name="FlashVars" value="&dataXML=${dataXML}" />
 <param name="quality" value="high" />
  <param name="wmode" value="transparent" />
 <param name="alpha" value="20" />
 <param name="blendMode" value="BlendMode.ALPHA" />

      <embed src="/gra/swf/FCF_Column3D.swf" style="text-align: center" flashVars="&dataXML=${dataXML}"
       quality="high" width="440" height="350" name="Column3D" type="application/x-shockwave-flash"
       pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>

IS the javascript function cal supported only through dataURL method, if yes, I need to know if there is any other way to call a js function using dataXML method since I have many charts on the page and it wont be feasible to write the data to XML file for all.
Also I wanted to know if there is a limit on the length of the URL specified in the link attribute
P.S. I have succesfully invoked the JS call in my other chart where I use the dataURL method.
Please hel is needed urgently.
Thanks in advance
Priyank

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:07:15+00:00Added an answer on May 27, 2026 at 4:07 am

    j- link format does not work in FusionCharts FREE.

    For this you would need to use FusionCharts v3 ( http://www.fusioncharts.com/ )

    JavaScript function call is supported through both DataXML and DataURL method.

    Hope you might have already gone through this :

    http://www.fusioncharts.com/free/docs/Contents/DrillDown/JavaScript.html

    In case you are using DataXML method, your the quotes in your link needs to be URLEncoded:

    Try:

    link='JavaScript:myJS(%26quot;empid%26quot;);'

    or

    link='JavaScript:myJS(%26apos;empid%26apos;);'

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build an object in javascript using self-invoking functions to set the
What is the benefit of using semicolon before a self-invoking function in JavaScript? I
i got a question when create a javascript object, when one function invoking another
Today I saw a JavaScript syntax (when invoking a function) that is unfamiliar to
Possible Duplicate: How can I pre-set arguments in JavaScript function call? (Partial Function Application)
I'm writing javascript code for a web emulator containing function keys. The user is
I've got a question about self invoking functions in javascript. What I'm doing is
In Javascript, I am sometimes too immerged in the idea that a function creates
In Javascript, we can call methods on string literals directly without enclosing it within
Is it bad to have too many self-invoking functions in JavaScript? If they all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.