SteveM

Members
  • Content count

    6
  • Joined

  • Last visited

Everything posted by SteveM

  1. I am trying to use a fusionchart inside of a coldfusion cfdiv tag to allow my chart to change using Ajax without having to reload the entire page. When I try this I am getting errors. Unfortunately I can't see the errors, I just get a generic Ajax error. I took the page that I am calling in my cfdiv tag and loaded it like a normal page and the chart displayed correctly. I then commented out the javascript and loaded the page in the cfdiv again and no errors appeared. To verify if the problem is DOM related I did a simple getElementById for an element on the sub page and did a on the remaining code. This caused the same type of error to appear. So, I am assuming that this means that any code inside a tag does not have access to the standard DOM. If this is the case, are there any possible workarounds?
  2. Fusionchart inside coldfusion cfdiv tag

    I don't believe that this will work as I am still trying to load the page in a CFDIV which prevents the JS from working properly. That is why we were having to use the HTML embedded version to display our charts. Looking through the FusionCharts.cfm include file, the renderChartHTML cffunction doesn't provider a registerWithJS parameter like the renderChart cffunction does. We tried the renderChart method as directed previously, but it does not work. Edit: As a side note, I copied the code that we are trying to use into a page and loaded it outside of a CFDIV without any problems. So, the problem is still that the JS will not work when the pages are loaded in a CFDIV.
  3. Fusionchart inside coldfusion cfdiv tag

    The HTML embedding has worked wonderfully. But now we want to expand the use and allow the user to drill-down into the data and display details using JS functions for the links. So far all efforts to follow the documentation have failed. Here are the examples and results: JavaScript:GetDetail(); = Will call the JS function, but I can not pass strings to the JS function. j:GetDetail() = Does not work at all. j-GetDetail() = Does not work at all. j-GetDetail-{parameters} = Does not work at all. There is a reference in the documentation, "Additionally, it's important to set the registerWithJS attribute in constructor to 1 (the last attribute in the line which initializes a FusionCharts chart in the page)." I have found the information in the forums on how to accomplish this when using the JS embedding, but I have yet to find a version for the HTML embedded version. Thanks in advance for any help.
  4. isHTML in Pie

    I am trying to do the same thing on a pie chart and the isHTML does not work. Is there a work around for this? I want a multiline label on a pie chart.
  5. Fusionchart inside coldfusion cfdiv tag

    Using the HTML tag will force the user to click on the chart in order to interact with it, correct?
  6. I agree. This would be a very useful ability as I am having the same issue.