DevMo

Chart won't render when using ssgrid as the type

Recommended Posts

I am unable to get a chart to display when I set the Type to SSGrid.  My initial goal was to display a 3D pie chart with the grid below it.  The pie chart displays, but not the grid.  I simplified the code to only display the grid, but it still won't render.  I then pasted my code into Fiddles, using the SSGrid type, and the grid will render.  In Fiddles I can use the same data source for both Pie3d and SSGrid, and both will render properly.  However, in my javascript, only the pie chart will render, not the grid.  Below is some simple code I am using to test with in Fiddles.  It is essentially the same in my javascript.

 

FusionCharts.ready(function () {
    var revenueChart = new FusionCharts({
        type: 'ssgrid',
        renderAt: 'chart-container',
        width: '500px',
        height: '300px',
        dataFormat: 'xml',
        dataSource: '<chart caption= "Monthly Unit Sales"><set label="Jan" value="1234" /><set label="Feb" value="4321"/></chart>'
    })
    revenueChart.render();
});

 

I'm confused as to why both Pie3d and SSGrid types work in Fiddles, but only Pie3d works in my javascript.

Share this post


Link to post
Share on other sites

Hi,

 

SSGrid chart used to render in flash before 3.4 version which is deprecated now, from 3.4 FusionCharts renders in pure javascript.
 
After FusionCharts ported from flash architecture to JS architecture no active development has being done for this chart type, and currently it has been deprecated and no longer supported.
 
Thanks,
Akash.

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