ChartingServicesCore missing resource

ChartingServicesCore missing resource

  
Hi.

The ChartingServicesCore is based on FusionCharts free, but it's missing at leat one swf file:

MSColumn2DLineDY.swf
(
http://docs.fusioncharts.com/free/Contents/ChartSS/XML_Col2DLineDY.html)

Can someone from Outsystems please check this?

I'm using the latest version (7.0.0.15)

Thanks.
Hi Carlos,

ChartingServicesCore is based on the other version: http://www.fusioncharts.com/docs/
Can't find an equivalent chart there, only the 3D version.

Regards,
João Rosado
Sorry, I thought it was based on FusionCharts Free.
You're right, FusionCharts XT does not have that type of chart.

Thanks João!
Hello Carlos,

Check this one
http://code.google.com/apis/ajax/playground/?type=visualization#combo_chart

we have implemented google charts - outystems integration and its very easy to use.

http://www.outsystems.com/NetworkForge/ProjectDetail.aspx?ProjectId=277
Hi joao, Could you give me a hint on how to enable the javascript charting functionalities of fusioncharts xt on the outsystems platform. Is this just copying the js class files and that's it or is there more to it ...??? Ive built a couple of chart with the core charting services functionality, but i want to work around the flash charting,since it doesn't work on ipads and iphones. Hope you can help me out. Best regards, Eric
Hi Eric,

I personally never used it, but from what I heard and seen it works "out of the box".
The ChartingServicesCore already includes the necessary files, and if if it detects that the device does not support Flash then it renders with javascript.

Here is the fusion charts documentation from it:
http://docs.fusioncharts.com/charts/contents/Introduction/JSChartingCapabilities.html

Regards,
João Rosado
How do we get latest fusion tx if we would like to upgrade from current charting core?
Hi Joao or anyone else,

I was looking at the link you posted (http://docs.fusioncharts.com/charts/contents/Introduction/JSChartingCapabilities.html) and does say that it detects if Flash is available and if not switches to JS mode although it does not seem to work. When I load up my page that has a chart on my Android tablet in Chrome or the default browser it just shows an empty box. The chart works fine on my computer in all browsers but always loads as Flash. I followed a link on that other page that describes how to force JS rendering (http://docs.fusioncharts.com/charts/contents/FirstChart/UsingPureJS.html#force) and that does not seem to work no matter where I put it on the page.

Has anyone been able to get JavaScript rendering working?
Yeah, I have it working now, however i had to download the trial version of fusion xt for it and copy the chart files over the already existing chart files in the charting services folder. So it looks like the espace provided by outsystems is not bases on the paid version of fusion charts even though outsystems says so ...
I can guarantee you that it is the fusion charts xt.
You can check it yourself by openning the http://yourservername/ChartingServicesCore/FusionCharts.js

The latest version we distribute should say something like " @version fusioncharts/3.2.4-release.8565"

We just did a quick test the force javascript as they say in the documentation ( FusionCharts.setCurrentRenderer('javascript'); )  and it worked fine.

Also note that if you get any "invalid data" error, it means that the xml used for the chart is invalid. Flash rendering handles invalid xml better, ignoring errors.

Regards,
João Rosado

Hi Joao, Thanks for trying and confirming the paid version is used in the espace. Could you specify a bit more how you got it to work ...??? Does it work for you that it selects its own renderer based on the OS used ...??? I will check out the documentation as well ... Best regards, Eric
Thanks Joao,

Maybe that is the issue for me, I am using @version 3.2.1-release. I am also interested in how you added that bit of code to force javascript rendering. I am showing a chart in a popup (standard RichWidgets/Popup_Editor) and if I add it to the JavaScript attribute on the page containing the link to the popup I get the error, 'FusionCharts is not defined'. The same happens if I put it in the popup it's self. I can see why it does so because the FusionCharts.js is not loaded until much further down the page where the JS for the popup is loaded at the top.

Ayway, I guess I'll try and upgrade at some point.
Joao,

Your hint to update has tackled my problem so far. Downloading the latest version of OutSystems (7.0.0.19) and installing that delivered the right version of Fusion Chart and now it works on both iPad and regular laptop and desktop.

Thanks for your help.

Best regards,


Eric
Joao, Everything seems to be working fine. However, the gantt seems not to be supported in the javascript version. The other are working fine (even though I get some invalid data errors). Hope you can address the missing gantt chart support at Outsystems support. Any hint how I can tackle the invalid data error ...??? In flash the xml works, as you mentioned in your reply. Best regards, Eric
Hi All,

I have updated to 7.0.0.19 as well and it went fine. Flash to JavaScript switching does now work but we seem to be having some issues on Chrome for iPad. Has anyone been able to force JS rendering to work as Joao said? Switching between Flash and JS is nice but I really would just like to use the JS version.
Eric Oschatz wrote:
Joao, Everything seems to be working fine. However, the gantt seems not to be supported in the javascript version. The other are working fine (even though I get some invalid data errors). Hope you can address the missing gantt chart support at Outsystems support. Any hint how I can tackle the invalid data error ...??? In flash the xml works, as you mentioned in your reply. Best regards, Eric
 
Hi Eric,

If you haven't already tried something like this, it might help. http://www.w3schools.com/xml/xml_validator.asp

Otherwise the FusionCharts api documentation shows you how to format the xml. http://docs.fusioncharts.com/charts/contents/ChartSS/MSLine.html
What I did to create my xml is loop through my list and append the desired data to a string. Maybe not the best way to do it but it seems to have worked. I used the debugger to verify that my xml looked right and validate after that.

Hope that helps.
 
Hi Chris.

You have the High Chart jQuery chart component, that is Flash free:

http://www.outsystems.com/NetworkForge/ProjectDetail.aspx?ProjectId=196
Carlos Henriques wrote:
Hi Chris.

You have the High Chart jQuery chart component, that is Flash free:

http://www.outsystems.com/NetworkForge/ProjectDetail.aspx?ProjectId=196
 
Hi Carlos,

I actually figured it out, but thanks. What I did to force the charts to use JavaScript rendering is manually add FusionCharts.js to the Preparation of my page and THEN add this FusionCharts.setCurrentRenderer('javascript'); to the JavaScript on the page.

Hopefully this can help others.
Chris, Thanks for your advice ...!!! I managed to get it working and that was even without using the XML validator ... :-) The only thing that is apparently not included in the version of Fusion chart that is delivered with Outsystems is the javadcrt version of the gantt chart. It give me an error message "chart not supported" on my ipad, where it works perfectly on a flash enabled machine. I asked one of the Outsystems guys on the forum to request the technical guys to add it in the net version. Best regards, Eric