Hi everybody,
I'm trying FusionChart and I have some problem: when I update data in the graph (for exemple, add a new data or update a data), my page load but the graph is not modified whereas my instance is correctly updated. This is a short code which show the problem : <xforms:instance id="graph"> <chart xmlns=""> <graph> <set name='data1' value='10'/> <set name='data2' value='5' /> </graph> </chart> </xforms:instance> <xforms:trigger> <xforms:label>Invert data</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:setvalue ref="instance('graph')/graph/set[1]/@value" value="5"/> <xforms:setvalue ref="instance('graph')/graph/set[2]/@value" value="10"/> </xforms:action> </xforms:trigger> Thanks for your help |
I have the same issue. On changing instance data, the instance is updated, but the loading icon still appears and nothing happens with the chart display? Is this being investigated?
|
Administrator
|
Brian,
If the loading indicator doesn't go away, it might be because a JavaScript error happened in the browser. While testing this, I noticed we had a regression in the nightly builds that prevented the charts from being displayed at all; so it doesn't sound like you hit that problem. For reference this is the bug, and it will be fixed in the next nightly build: http://forge.ow2.org/tracker/index.php?func=detail&aid=315570&group_id=168&atid=350207 If you're still having this problem, could you get a nightly build, and try again? If you still get the same symptom, can you check if there is a JavaScript error? (The easiest it to use Firefox with Firebug, and open the Firebug console.) Alex On Tue, Oct 12, 2010 at 7:03 AM, bsteuhl <[hidden email]> wrote: > > I have the same issue. On changing instance data, the instance is updated, > but the loading icon still appears and nothing happens with the chart > display? Is this being investigated? > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FusionChart-Problem-Refresh-data-tp2195675p2991814.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
I used the noightly build and the chart will not refresh. When the update the instance that holds the data for the chart, the instance inpsctor shows the new data, but the chart does not change.
This is the javascript error:
chartObj.setDataXML is not a function
var result =chartObj.setDataXML(strDataXML); Is there a function within the FusionCharts.js or fusioncharts.js that I can call to force a refresh. I saw a function updateChart(); but when I try to call it just gives me a not defined error.
Thank you.
Brian Steuhl home office: 732-961-3187 From: Alessandro Vernet <[hidden email]> To: [hidden email] Sent: Sat, October 23, 2010 1:02:46 PM Subject: [ops-users] Re: Re: FusionChart Problem : Refresh data Brian, If the loading indicator doesn't go away, it might be because a JavaScript error happened in the browser. While testing this, I noticed we had a regression in the nightly builds that prevented the charts from being displayed at all; so it doesn't sound like you hit that problem. For reference this is the bug, and it will be fixed in the next nightly build: http://forge.ow2.org/tracker/index.php?func=detail&aid=315570&group_id=168&atid=350207 If you're still having this problem, could you get a nightly build, and try again? If you still get the same symptom, can you check if there is a JavaScript error? (The easiest it to use Firefox with Firebug, and open the Firebug console.) Alex On Tue, Oct 12, 2010 at 7:03 AM, bsteuhl <[hidden email]> wrote: > > I have the same issue. On changing instance data, the instance is updated, > but the loading icon still appears and nothing happens with the chart > display? Is this being investigated? > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FusionChart-Problem-Refresh-data-tp2195675p2991814.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Brian, It seems that you're having a problem which is different from the one I fixed, and one that I don't seem to be able to reproduce here. Could you tell me precisely what version of fusion charts you have been using for this (commercial or free), and could you share with us a specific example we can use to reproduce this?
Alex On Wed, Nov 3, 2010 at 10:56 PM, Brian Steuhl <[hidden email]> wrote:
-- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
FusionCharts Free v2.2 Released: Aug 2009 Attached is a zip file of test project you can run. I stripped out all the unnecessary code. Extract file to your orbeon webapp ...\resources\apps directory. You will find an xml file (chart.xml). Place chart.xml in root of eXist Database. The only changes you should have to make to the fusion.xhtml is to update REST submission 'caseSelection' for your port number and username and password for eXist. When you load the page, the code correctly replaces the the chart instance with the data from the xml file and the fusion chart displays this newly loaded data. Open up the chart.xml file and copy an appointments/service node and paste in appointments to include another appointment, or just change a date of an existing appointment. <service> <type>Other</type> <appointmentDate>2010-11-02</appointmentDate> <outcome>Excused</outcome> <gender>FEMALE</gender> <file>2</file> <id>2</id> <write/> </service> Now, when you click 'Refresh Chart' trigger to simulate some other action on the page requesting the caseSelection submission to run again, the charts instance is updated, but you get the following error in Firebug and the fusionChart does not update: chartObj.setDataXML is not a function http://localhost:8080/cjpsis/xbl/orbeon/fusion-charts/FusionCharts.js Line 193 Thanks for your assistance in this. Brian Steuhl home office: 732-961-3187 From: Alessandro Vernet <[hidden email]> To: [hidden email] Sent: Fri, November 5, 2010 9:28:29 PM Subject: [ops-users] Re: Re: Re: Re: FusionChart Problem : Refresh data Brian, It seems that you're having a problem which is different from the one I fixed, and one that I don't seem to be able to reproduce here. Could you tell me precisely what version of fusion charts you have been using for this (commercial or free), and could you share with us a specific example we can use to reproduce this?
Alex On Wed, Nov 3, 2010 at 10:56 PM, Brian Steuhl <[hidden email]> wrote:
-- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws fusionTest.zip (5K) Download Attachment |
Administrator
|
Brian,
Thank you for attaching a test case; I'll be looking at this asap, and will post another update here. Alex On Sunday, November 7, 2010, Brian Steuhl <[hidden email]> wrote: > FusionCharts Free v2.2 > Released: Aug 2009 > > Attached is a zip file of test project you can run. I stripped out all the unnecessary code. Extract file to your orbeon webapp ...\resources\apps directory. > > You will find an xml file (chart.xml). > > Place chart.xml in root of eXist Database. > > The only changes you should have to make to the fusion.xhtml is to update REST submission 'caseSelection' for your port number and username and password for eXist. > > When you load the page, the code correctly replaces the the chart instance with the data from the xml file and the fusion chart displays this newly loaded data. > > Open up the chart.xml file and copy an appointments/service node and paste in appointments to include another > appointment, or just change a date of an existing appointment. > > <service> > <type>Other</type> > <appointmentDate>2010-11-02</appointmentDate> > <outcome>Excused</outcome> > <gender>FEMALE</gender> > <file>2</file> > <id>2</id> > <write/> > </service> > > Now, when you click 'Refresh Chart' trigger to simulate some other action on the page requesting the caseSelection submission to run > again, the charts instance is updated, but you get the following error in Firebug and the fusionChart does not update: > > chartObj.setDataXML is not a function > http://localhost:8080/cjpsis/xbl/orbeon/fusion-charts/FusionCharts.js > Line 193 > > Thanks for your assistance in this. > Brian Steuhl > website: http://BTMSoftwareSolutions.com > business email: [hidden email] > cell: 908-421-0742home office: 732-961-3187 > RSS Feed To My Blog: > > > > From: Alessandro Vernet <[hidden email]> > To: [hidden email] > Sent: Fri, November 5, 2010 9:28:29 PM > Subject: [ops-users] Re: Re: Re: Re: FusionChart Problem : Refresh data > > Brian, > It seems that you're having a problem which is different from the one I fixed, and one that I don't seem to be able to reproduce here. Could you tell me precisely what version of fusion charts you have been using for this (commercial or free), and could you share with us a specific example we can use to reproduce this? > > > Alex > On Wed, Nov 3, 2010 at 10:56 PM, Brian Steuhl <[hidden email]> wrote: > > > Alex, > > I used the noightly build and the chart will not refresh. When the update the instance that holds the data for the chart, the instance inpsctor shows the new data, but the chart does not change. > > This is the javascript error: > > chartObj.setDataXML is not a function > var result =chartObj.setDataXML(strDataXML); > > Is there a function within the FusionCharts.js or fusioncharts.js that I can call to force a refresh. I saw a function updateChart(); but when I try to call it just gives me a not defined error. > > Thank you. > > Brian Steuhl > website: http://BTMSoftwareSolutions.com > business email: [hidden email] > cell: 908-421-0742 > home office: 732-961-3187 > RSS Feed To My Blog: > > > > > > > > > > From: Alessandro Vernet <[hidden email]> > To: [hidden email] > Sent: Sat, October 23, 2010 1:02:46 PM > Subject: [ops-users] Re: Re: FusionChart Problem : Refresh data > > > > Brian, > > If the loading indicator doesn't go away, it might be because a > JavaScript error happened in the browser. While testing this, I > noticed we had a regression in the nightly builds that prevented the > charts from being displayed at all; so it doesn't sound like you hit > that problem. For reference this is the bug, and it will be fixed in > the next nightly build: > > http://forge.ow2.org/tracker/index.php?func=detail&aid=315570&group_id=168&atid=350207 > > If you're still having this problem, could you get a nightly build, > and try > again? If you still get the same symptom, can you check if > there is a JavaScript error? (The easiest it to use Firefox with > Firebug, and open the Firebug console.) > > Alex > > On Tue, Oct 12, 2010 at 7:03 AM, bsteuhl <[hidden email]> wrote: >> >> I have the same issue. On changing instance data, the instance is updated, >> but the loading icon still appears and nothing happens with the chart >> display? Is this being investigated? >> -- > > >> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FusionChart-Problem-Refresh-data-tp2195675p2991814.html >> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com <http://nabble.com/>. >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto: > > Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
Any head way on the fusion chart? I know you are extremely busy just seeing if I could put this back on the radar screen. I am starting on another project which I may use Orbeon and Fusion Charts. Thanks. |
Administrator
|
Hi Brian,
First, my apologies for making you wait on this one. I intended to look at this earlier, but well… didn't. My bad. Now, I ran you example, and it calls your eXist on http://localhost:8600/exist, which won't work for me. So instead, I changed your code to increase the value by 1 when you click on the "refresh chart" button. (See the updated file attached.) At first, it didn't work, which puzzled me. But then I noticed that this is due to me having XPath analysis enabled, which is not the default. XPath analysis doesn't play well with saxon:serialize() which we use in that component. But do you have XPath analysis on in your case? Otherwise, can you try with the attached file; is it working for you? Alex On Wed, Nov 17, 2010 at 9:50 AM, bsteuhl <[hidden email]> wrote: > > Alex, > > Any head way on the fusion chart? I know you are extremely busy just seeing > if I could put this back on the radar screen. I am starting on another > project which I may use Orbeon and Fusion Charts. Thanks. > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FusionChart-Problem-Refresh-data-tp2195675p3047250.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws fusion.xhtml (8K) Download Attachment
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
If I do not know where to turn on xpath analysis I am assuming I do not have it turned on? Where would i turn it off though? I duplicated your file and it does not work. The values change in the instance, but the chart is not updated? Brian Steuhl home office: 732-961-3187 From: Alessandro Vernet <[hidden email]> To: [hidden email] Sent: Mon, November 22, 2010 10:22:19 PM Subject: [ops-users] Re: Re: Re: FusionChart Problem : Refresh data Hi Brian, First, my apologies for making you wait on this one. I intended to look at this earlier, but well… didn't. My bad. Now, I ran you example, and it calls your eXist on http://localhost:8600/exist, which won't work for me. So instead, I changed your code to increase the value by 1 when you click on the "refresh chart" button. (See the updated file attached.) At first, it didn't work, which puzzled me. But then I noticed that this is due to me having XPath analysis enabled, which is not the default. XPath analysis doesn't play well with saxon:serialize() which we use in that component. But do you have XPath analysis on in your case? Otherwise, can you try with the attached file; is it working for you? Alex On Wed, Nov 17, 2010 at 9:50 AM, bsteuhl <[hidden email]> wrote: > > Alex, > > Any head way on the fusion chart? I know you are extremely busy just seeing > if I could put this back on the radar screen. I am starting on another > project which I may use Orbeon and Fusion Charts. Thanks. > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FusionChart-Problem-Refresh-data-tp2195675p3047250.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Hi Brian,
You turn on XPath analysis by setting <property as="xs:boolean" name="oxf.xforms.xpath-analysis" value="true"/> in your properties-local.xml, but if you haven't done so it will be off (the default). 1. Get a 3.8 CE build. 2. Download the open source FusionChart (http://www.fusioncharts.com/Download.asp). 3. Copy their Charts directory under WEB-INF/resources. 4. Rename WEB-INF/resources/config/properties-local.xml.template in just properties-local.xml, and add the property <property as="xs:string" name="oxf.xforms.xbl.fr.fusion-charts.uri-to-swf" value="/Charts"/>. 5. Place the fusion.xhtml attached to my previous email in WEB-INF/resources/apps/xforms-sandbox/samples 6. Go to http://localhost:8080/orbeon/xforms-sandbox/sample/fusion => You should see the chart displayed. 7. Click Refresh Chart => All the value should be shifted up by 1. I tried this also with the free version of FusionChart, and got a JavaScript error on the method we call to update the values. So that might have been the problem you encountered. Were you using the free version? Alex On Wed, Dec 1, 2010 at 9:02 AM, Brian Steuhl <[hidden email]> wrote:
-- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Yes I was using the free version. Guess that won't work for me then huh. Ok - at least I know. Thanks. Brian Steuhl home office: 732-961-3187 From: Alessandro Vernet <[hidden email]> To: [hidden email] Sent: Thu, December 2, 2010 6:25:22 PM Subject: [ops-users] Re: Re: Re: Re: Re: FusionChart Problem : Refresh data Hi Brian, You turn on XPath analysis by setting <property as="xs:boolean" name="oxf.xforms.xpath-analysis" value="true"/> in your properties-local.xml, but if you haven't done so it will be off (the default). 1. Get a 3.8 CE build. 2. Download the open source FusionChart (http://www.fusioncharts.com/Download.asp). 3. Copy their Charts directory under WEB-INF/resources. 4. Rename WEB-INF/resources/config/properties-local.xml.template in just properties-local.xml, and add the property <property as="xs:string" name="oxf.xforms.xbl.fr.fusion-charts.uri-to-swf" value="/Charts"/>. 5. Place the fusion.xhtml attached to my previous email in WEB-INF/resources/apps/xforms-sandbox/samples 6. Go to http://localhost:8080/orbeon/xforms-sandbox/sample/fusion => You should see the chart displayed. 7. Click Refresh Chart => All the value should be shifted up by 1. I tried this also with the free version of FusionChart, and got a JavaScript error on the method we call to update the values. So that might have been the problem you encountered. Were you using the free version? Alex On Wed, Dec 1, 2010 at 9:02 AM, Brian Steuhl <[hidden email]> wrote:
-- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Alessandro Vernet
Alex
I thought I might try your instructions above 1. Get a 3.8 CE build. 2. Download the open source FusionChart (http://www.fusioncharts.com/Download.asp). 3. Copy their Charts directory under WEB-INF/resources. 4. Rename WEB-INF/resources/config/properties-local.xml.template in just properties-local.xml, and add the property <property as="xs:string" name="oxf.xforms.xbl.fr.fusion-charts.uri-to-swf" value="/Charts"/>. 5. Place the fusion.xhtml attached to my previous email in WEB-INF/resources/apps/xforms-sandbox/samples 6. Go to http://localhost:8080/orbeon/xforms-sandbox/sample/fusion => You should see the chart displayed. 7. Click Refresh Chart => All the value should be shifted up by 1. I then rebooted Tomcat and launched http://localhost:8090/orbeon-CE/xforms-sandbox/sample/fusion [Note: I use "orbeon-CE" as my context (not "orbeon") and different port number (8090 not 8080) but that should not matter]. I see the page rendered with Title .. but no chart seen ! I have XForms Inspector enabled and I can view charts instance. I can inspect orbeon.log using Tile. I click on "Refresh Chart" .. but no chart is loaded or rendered .. blank body . Am I missing any steps to see charts? What about the other files in FusionChartsFree such as JSClass folder ? |
In reply to this post by bsteuhl
Hi Brian, Hi Alex,
To use the free version, you have to take account of several differences with the paid one : 1. first of all, 3 minor changes I suppose you have notice : a.the data of the graph must be in a xml <graph> node and not a <chart> node b. the <set> node has an attribute named "name" and not "label" c. the names of the swf files begin with "FCF_" 2. the most important thing is that "FusionCharts FREE charts can update themselves only from XML string loaded using external (3rd party) AJAX frameworks" as you can read in the comparison sheet. So, you have to modify fusion-charts.js to refresh the graph when the instance is updated To compare these solutions, I attach a file (resources.zip) with FusionChartsFree and FusionChartsEval (the paid version): - unzip the files in the sames directories - copy the content of properties-local.xml in your properties-local.xml - in yout browser, enter "http://localhost:8080/orbeon/fusionchartsfree/" and press the button "Show me the future" : the graph is updated each second from 2007 to 2016 as with the paid version you can test with the url "http://localhost:8080/orbeon/fusionchartseval/" Let me know if you have some troubles. Olivier resources.zip |
Administrator
|
In reply to this post by DL
DL,
The download URL of the free version is incorrect in those instructions. It should read: http://www.fusioncharts.com/free/download/. Then I am not sure where to find the XHTML file mentioned in those instructions. Maybe the documentation for the FusionCharts component we have on the page linked below can help. http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/fusioncharts Alex On Fri, Dec 3, 2010 at 6:20 AM, DL <[hidden email]> wrote: > > Alex > > I thought I might try your instructions above > > > 1. Get a 3.8 CE build. > 2. Download the open source FusionChart > (http://www.fusioncharts.com/Download.asp). > 3. Copy their Charts directory under WEB-INF/resources. > 4. Rename WEB-INF/resources/config/properties-local.xml.template in just > properties-local.xml, > and add the property <property as="xs:string" > name="oxf.xforms.xbl.fr.fusion-charts.uri-to-swf" value="/Charts"/>. > 5. Place the fusion.xhtml attached to my previous email in > WEB-INF/resources/apps/xforms-sandbox/samples > 6. Go to http://localhost:8080/orbeon/xforms-sandbox/sample/fusion > => You should see the chart displayed. > 7. Click Refresh Chart > => All the value should be shifted up by 1. > > > > I then rebooted Tomcat and launched > > http://localhost:8090/orbeon-CE/xforms-sandbox/sample/fusion > > [Note: I use "orbeon-CE" as my context (not "orbeon") and different port > number (8090 not 8080) but that should not matter]. > > I see the page rendered with Title .. but no chart seen ! > > I have XForms Inspector enabled and I can view charts instance. > > I can inspect orbeon.log using Tile. > > I click on "Refresh Chart" .. but no chart is loaded or rendered .. blank > body . > > Am I missing any steps to see charts? What about the other files in > FusionChartsFree such as JSClass folder ? > > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FusionChart-Problem-Refresh-data-tp2195675p3071043.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
In reply to this post by Olivier Thery
Olivier, Brian,
This is an old thread, but I finally got a chance to fold in some of the changes Olivier suggested. So now updating the chart works with both the free and commercial versions, and there is still just one component. I also changed the markup we use in the example (fusion-charts-unittest.xhtml) to work with both versions. Those changes will be included in the next nightly build (post 3.9). Alex On Mon, Dec 6, 2010 at 2:24 PM, Olivier Thery <[hidden email]> wrote: > > Hi Brian, Hi Alex, > > To use the free version, you have to take account of several differences > with the paid one : > > 1. first of all, 3 minor changes I suppose you have notice : > a.the data of the graph must be in a xml <graph> node and not a <chart> > node > b. the <set> node has an attribute named "name" and not "label" > c. the names of the swf files begin with "FCF_" > > 2. the most important thing is that "FusionCharts FREE charts can update > themselves only from XML string loaded using external (3rd party) AJAX > frameworks" as you can read in > http://www.fusioncharts.com/free/Comparison.asp the comparison sheet. > So, you have to modify fusion-charts.js to refresh the graph when the > instance is updated > > To compare these solutions, I attach a file (resources.zip) with > FusionChartsFree and FusionChartsEval (the paid version): > - unzip the files in the sames directories > - copy the content of properties-local.xml in your properties-local.xml > - in yout browser, enter "http://localhost:8080/orbeon/fusionchartsfree/" > and press the button "Show me the future" : the graph is updated each second > from 2007 to 2016 as with the paid version you can test with the url > "http://localhost:8080/orbeon/fusionchartseval/" > > Let me know if you have some troubles. > > Olivier > http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n3075456/resources.zip > resources.zip > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FusionChart-Problem-Refresh-data-tp2195675p3075456.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
Great ! It works fine. Olivier |
In reply to this post by Alessandro Vernet
Hi,
I am trying to use the Fusion Charts free version from the PE nightly build and CE nightly build releases (17th Dec 2011) and the charting appears not to work when I follow the instructions here: http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/fusioncharts Where I expect to see a graph I get the message "The chart will appear within this DIV. This text will be replaced by the chart." It also doesn't appear to work for me when I use any of my samples or the unit test code in orbeon for fusion charts (xbl/orbeon/fusion-charts/fusion-charts-unittest.xhtml). All the same or similar code appears to work OK when I use the stable Orbeon Forms 3.9.0 CE version so I am wondering if there is a bug in the latest builds? Additionally, I have a problem that the chart in the stable version doesn't automatically update when I change the XML Xform instance which the chart uses (doesn't Refresh chart data). Does anyone know if there is any way to refresh just this component when the form value is changed without having to refresh the whole page? I found a note in the documentation saying "The component will react to changes and will automatically update the chart. [SINCE: 2011-04-08] This feature also works if you are using the free edition of FusionCharts." This is what lead me to try several of the latest nightly builds as I thought it could fix the dynamic update... However, unfortunatley I couldn't get this working or identify how I could fix dynamic update in the older stable CE version. Many thanks in advance for any help or pointers! Gary |
Administrator
|
Hi Gary,
Sorry, but this is indeed a known issue with the nightly builds. This is now fixed, and the fix will be included in the next nightly build. https://github.com/orbeon/orbeon-forms/commit/46cff17455c686f74c77e263b3d1831c5e71c4b7 Alex On Sun, Dec 18, 2011 at 9:29 AM, Gary Cornelius <[hidden email]> wrote: > Hi, > > I am trying to use the Fusion Charts free version from the PE nightly build > and CE nightly build releases (17th Dec 2011) and the charting appears not > to work when I follow the instructions here: > > http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/fusioncharts > > Where I expect to see a graph I get the message "The chart will appear > within this DIV. This text will be replaced by the chart." It also doesn't > appear to work for me when I use any of my samples or the unit test code in > orbeon for fusion charts > (xbl/orbeon/fusion-charts/fusion-charts-unittest.xhtml). All the same or > similar code appears to work OK when I use the stable Orbeon Forms 3.9.0 CE > version so I am wondering if there is a bug in the latest builds? > > Additionally, I have a problem that the chart in the stable version doesn't > automatically update when I change the XML Xform instance which the chart > uses (doesn't Refresh chart data). Does anyone know if there is any way to > refresh just this component when the form value is changed without having to > refresh the whole page? I found a note in the documentation saying "The > component will react to changes and will automatically update the chart. > [SINCE: 2011-04-08] This feature also works if you are using the free > edition of FusionCharts." This is what lead me to try several of the latest > nightly builds as I thought it could fix the dynamic update... However, > unfortunatley I couldn't get this working or identify how I could fix > dynamic update in the older stable CE version. > > Many thanks in advance for any help or pointers! > Gary > > > > ----- > > -- > Gary Cornelius > Partner, Eleven Informatics LLP > www.elevenllp.com > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FusionChart-Problem-Refresh-data-tp2195675p4211409.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |