cruzbruno

Generate Svg String

Recommended Posts

Hi,

 

I'm currently using Fusioncharts 3.2.3-sr1.5347 version.

 

All I need is to get the SVG String from both flash and javascript rendered chart.

 

Is it possible? How to?

 

The follow syntax worked for javascrit charts. Is it the proper way to go?

my_chart_id.jsVars.hcObj.getSVG()

 

Also, is there any known issue I should be concerned on generating SVG?

 

Is this functionality works with all chart types? Is there a list somewhere with those that doesn't?

Share this post


Link to post
Share on other sites

Hey,

 

SVG string can be generated only for JavaScript charts. Could you please try using the following code to generate SVG string?

FusionCharts("myChartId").ref.getSVGString() 

Share this post


Link to post
Share on other sites

Thanks for the reply Swarnam,

 

It doesn't work, but as I won't be able to use this solution to both javascript and flash charts I'm working on use

myChart.exportChart()

and dealing with the data at the server side.

 

Doing so I came through another problem, the SVG string is malformed and basik API cannot parse it.

 

visibility=""

isn't the proper way to go on.

 

I've already seen the same problem at the forum, hope it gets fixed soon.

 

By now I'll just remove it from the SVG string.

 

 

 

Is there any problem on exporting chart?? Browse or chart type related.

Share this post


Link to post
Share on other sites

Hi,

 

I'm using version 3.3.0 of FusionCharts and I'm getting an svg malformed message from batik library when exporting the chart to PDF with Flash disabled.

I'm using my own server side conversion. I have the batik library installed and operational on my server and it's working for every other chart type. The only one that doesn't work is Pie chart.

Any help on this would be appreciated.

Thanks in advance.

 

Regards,

Tiago

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi Tiago,

 

We are looking into your query.

 

We will update you as soon as possible.

Share this post


Link to post
Share on other sites

Hi Tiago,

 

We are looking into your query.

 

We will update you as soon as possible.

 

Hi Sashibhusan,

 

I have a release planned in 4 weeks and need to fix this prior to it.

Waiting for your reply.

 

Regards,

Tiago

Share this post


Link to post
Share on other sites

Hi Tiago,

 

Our developers are currently working on it.

 

Once the issue has been resolved, we would update the thread.

 

Hi Swarnam,

 

Thanks for your reply.

Do you have an ETA for the update?

Also do you have/suggest any workaround for the time being?

 

Kind regards,

Tiago

 

Share this post


Link to post
Share on other sites

Hey,

 

As mentioned, we are working on it. We are unable to commit any timeline. We hope to release the fix in our next release which is due to schedule in couple of weeks on a best effort basis.

 

Thank you for your continued support.

Share this post


Link to post
Share on other sites

Hey,

 

As mentioned, we are working on it. We are unable to commit any timeline. We hope to release the fix in our next release which is due to schedule in couple of weeks on a best effort basis.

 

Thank you for your continued support.

 

Hello,

 

A couple of months passed already. Do you have any update on this?

 

Kind regards.

Share this post


Link to post
Share on other sites
Guest Sashibhusan

That was usefull . Thanks

Hi,

 

Please try with the latest FusionCharts Suite XT v3.3.1sr3 version, where this issue related to visibility="" in SVG stream, has been fixed and the chart is getting exported to PDF correctly.

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