Sign in to follow this  
venkatc

Export Html5/javascript Fusioncharts.

Recommended Posts

Hi ,

 

We are using fusions chart to show the reports. We are able to integrate export fusionchart functionality with our application.

 

steps

1. We are using java related fcexporter.jar file and FusionCharts(eventObject.sender.id).exportChart() method to export the individual fusioncharts as image.

2. Once user clicks button the export will start at server side.

3. After exporting of the fusionchart image done, we are getting fusion chart image details(like name, dom id) with call back function.

4. After finishing the export we are save exported image into one folder(defined in fusioncharts_export.property)

5. Once all fusionchart images are exported then we will read the all the exported images from the folder and creating the report.

 

The above 5 steps are working fine with out any issues in all browser(IE, Firefox and chrome) except Safari(Apple tablet).

 

Due to flash we are unable to render the fusioncharts in Safari.

 

To solve this use we are ready to implement the HTML5 and pure javasacript fusioncharts.

 

Can you please provide below points information.

 

 

1. HTML5 fusioncharts will work like flash type fusioncharts?

2. Is there any event listener (DrawComplete..etc) in HTML5 fusioncharts?

3. In fusion chart documentation to export the HTML5 fusionchart we have 2 types.

a. client side

b. server side(php) highcharts api.

What is the best approach to export the fusionchart images like(Step1 to step5). We are ready to use php ?

 

4. I want to set up the php server in my local system with batik(Apache). I am new to php. So i am unable to configure the server in my local system(Using http://www.highcharts.com/documentation/how-to-use domestication)

 

5. What is index.php ?

 

If possible can you provide the simple steps or php code(.zip) to set up the my export server.

 

 

 

 

Thanks,

Venkat.

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi Venkat,

 

Please find the response below,

 

1. HTML5 fusioncharts will work like flash type fusioncharts?

>> If this question is in the context of supporting the export feature, then yes pure JavaScript charts also provide support for exporting to JPEG, PNG, PDF, SVG formats.

 

2. Is there any event listener (DrawComplete..etc) in HTML5 fusioncharts?

>> For a list of event listeners, please refer to the link below,

http://docs.fusionch...API/Events.html

 

3. In fusion chart documentation to export the HTML5 fusionchart we have 2 types.

a. client side

b. server side(php) highcharts api.

What is the best approach to export the fusionchart images like(Step1 to step5). We are ready to use php ?

>> Please note: When rendered using JavaScript (HTML5), there is only one mode of export - at Server-side.

By default, JavaScript (HTML5) charts use Highcharts server to get exported image.

 

However you can place the PHP and JAR files on your servers and then over-ride the URL.

 

For more details, please refer to the link below,

http://docs.fusionch...e/ECPureJS.html

 

4. I want to set up the php server in my local system with batik(Apache). I am new to php. So i am unable to configure the server in my local system(Using http://www.highchart...tion/how-to-use domestication)

5. What is index.php ?

If possible can you provide the simple steps or php code(.zip) to set up the my export server.

>> Please let me know your email address and I will share the zip file.

 

I am unable to upload the sample here, as the size of the file is more.

 

Hope this helps!

Share this post


Link to post
Share on other sites

Hi Venkat,

 

Please find the response below,

 

1. HTML5 fusioncharts will work like flash type fusioncharts?

>> If this question is in the context of supporting the export feature, then yes pure JavaScript charts also provide support for exporting to JPEG, PNG, PDF, SVG formats.

 

2. Is there any event listener (DrawComplete..etc) in HTML5 fusioncharts?

>> For a list of event listeners, please refer to the link below,

http://docs.fusionch...API/Events.html

 

3. In fusion chart documentation to export the HTML5 fusionchart we have 2 types.

a. client side

b. server side(php) highcharts api.

What is the best approach to export the fusionchart images like(Step1 to step5). We are ready to use php ?

>> Please note: When rendered using JavaScript (HTML5), there is only one mode of export - at Server-side.

By default, JavaScript (HTML5) charts use Highcharts server to get exported image.

 

However you can place the PHP and JAR files on your servers and then over-ride the URL.

 

For more details, please refer to the link below,

http://docs.fusionch...e/ECPureJS.html

 

4. I want to set up the php server in my local system with batik(Apache). I am new to php. So i am unable to configure the server in my local system(Using http://www.highchart...tion/how-to-use domestication)

5. What is index.php ?

If possible can you provide the simple steps or php code(.zip) to set up the my export server.

>> Please let me know your email address and I will share the zip file.

 

I am unable to upload the sample here, as the size of the file is more.

 

Hope this helps!

 

 

 

Hi Bindhu,

 

Thanks for your support.

 

My mail id is [email protected] or [email protected]

 

 

Thanks,

Venkat.

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi Venkat,

 

I have sent the sample code to your mail ids.

 

Hope this helps!

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
Sign in to follow this