Brian Maring Report post Posted February 9, 2010 I am using negative margin values to zoom in on my map. I would like to do the following: I have a 300 by 400 map. I would like to remove 25% off the right hand side, 20% off the left hand side, 10% off the top, and 5% off the bottom. What should I set the margins to? Can you give me a detailed example of these calculations? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted February 11, 2010 Hi, For a map showing 300x400 with 25% left off from right and 20% off from left, 10% off from top and 5% off from bottom please try: mapRightMargin='136' mapLeftMargin='109' mapTopMargin='24' mapBottomMargin='47' Calculation: the zoomed view width inside 300 pixel window is 100-(25+20) = 55%. The virtual map 100% width is 545. If 55% = 300, 25% = 136 , 20% = 109 the zoomed view height inside 400 pixel window is 100-(10+5) = 85%. The virtual map 100% height is 470. If 85% = 400, 10% = 47 , 5% = 24 Share this post Link to post Share on other sites