Map Sizing
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


12»»

Map Sizing Expand / Collapse
Author
Message
Posted 11/19/2007 10:39:17 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/26/2007 10:10:49 AM
Posts: 3, Visits: 9
I'm using V3 maps and they do not always maintain there sizing after a page refresh or after I return to the page later in my session and an entity attribute has changed (e.g. color change). They do occupy the same space but appear zoomed and cropped.

One of the maps that I'm using is the "FCMap_USA.swf" with W = 580 and H = 356.

Is there anything I can do to prevent this? I have demonstrated this problem with several different browsers.

Thanks,

Post #3096
Posted 11/20/2007 2:47:29 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/26/2007 10:10:49 AM
Posts: 3, Visits: 9
Should this question be placed in the Bug section?
Post #3110
Posted 11/23/2007 11:03:20 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956, Visits: 468
Hi,

Can you please email us the code at support@fusioncharts.com?


Thanks,
Pallav Nadhani
FusionCharts Team
Post #3150
Posted 11/26/2007 10:12:19 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/26/2007 10:10:49 AM
Posts: 3, Visits: 9
Acknowledged. I will send code at first chance.
Post #3177
Posted 2/18/2008 7:12:57 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/9/2008 3:50:58 PM
Posts: 6, Visits: 9
I am having the same problem with the charts not sizing correctly. Was there a fix?

I was working on setting up a sample to send to support@fusioncharts.com, but it only seems to happen if the map is on the page with other charts/gadgets.

If it is on the page by itself, it works correctly. (See MapGood.gif)

If it is on a page with other charts/gadgets it will intermittently show correctly, but most of the time it doesn't scale down the map to fit correctly. (See MapBad.gif).

Any ideas?

  Post Attachments 
MapGood.gif (13 views, 24.83 KB)
MapBad.gif (14 views, 9.07 KB)

Post #4578
Posted 2/21/2008 3:57:40 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956, Visits: 468
Hi,

Can you post the HTML code (as attachment) that you're using to embed the map?


Thanks,
Pallav Nadhani
FusionCharts Team
Post #4626
Posted 2/27/2008 7:17:13 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/9/2008 3:50:58 PM
Posts: 6, Visits: 9
I copied the code for the map to a page by itself, but it doesn't have the same problem on this page. See attached.

  Post Attachments 
MapCode.txt (4 views, 6.55 KB)
Post #4754
Posted 2/27/2008 7:25:47 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/9/2008 3:50:58 PM
Posts: 6, Visits: 9
Here is the code on the page when the map scales correctly:

 <!-- START Script Block for Chart myNext11 -->
 <div id='myNext11Div' align='center'>
  Chart.
  
 </div>
  
 <script type="text/javascript"> 
  //Instantiate the Chart 
  var chart_myNext11 = new FusionCharts("Maps/FCMap_USA.swf", "myNext11", "440", "254", "0", "0");
  
  //Provide entire XML data using dataXML method
  chart_myNext11.setDataXML("<map showShadow='1' showBevel='1' showLegend='0' showLabels='0' showMarkerLabels='0' includeNameInLabels='0' showCanvasBorder='0' fillColor='F1f1f1' borderColor='000000' hoverColor='999999' baseFont='Verdana' baseFontSize='10' markerBgColor='FF5904' legendPosition='bottom' useHoverColor='1' showToolTip='1' showMarkerToolTip='0' formatNumberScale='0' mapLeftMargin='1' mapRightMargin='1' mapTopMargin='1' mapBottomMargin='1'><data><entity id='CA' color='FF0000'  /><entity id='NV' color='FF0000'  /></data></map>");
    
  //Finally, render the chart.
  chart_myNext11.render("myNext11Div");
 </script> 
 <!-- END Script Block for Chart myNext11 -->

Here is the code on the page when the map doesn't scale correctly:

 <!-- START Script Block for Chart myNext11 -->
 <div id='myNext11Div' align='center'>
  Chart.
  
 </div>
  
 <script type="text/javascript"> 
  //Instantiate the Chart 
  var chart_myNext11 = new FusionCharts("Maps/FCMap_USA.swf", "myNext11", "440", "254", "0", "0");
  
  //Provide entire XML data using dataXML method
  chart_myNext11.setDataXML("<map showShadow='1' showBevel='1' showLegend='0' showLabels='0' showMarkerLabels='0' includeNameInLabels='0' showCanvasBorder='0' fillColor='F1f1f1' borderColor='000000' hoverColor='999999' baseFont='Verdana' baseFontSize='10' markerBgColor='FF5904' legendPosition='bottom' useHoverColor='1' showToolTip='1' showMarkerToolTip='0' formatNumberScale='0' mapLe