February 27, 2011 Leave a comment
A colleague of mine recently reminded me of an issue I ran into when building out a dashboard with Visio. He was having issues aligning Visio charts with other web parts; It appeared that when a Visio web part was used on a page, it would have an arbitrary amount of canvas space around the image. He had seemingly tried everything, except for starting over.
I had this exact same issue, and it almost drove me mad figuring out what I could do to fix it. I attempted to change several properties on the web part itself, such as: Overriding the Web Drawing’s default initial view; disabling zooming; and, disabling panning. Then just for the heck of it, I open up Visio itself and think I might have some luck there.
First things first, I save the file. To my surprise the canvas area changes once again, but this time it at least looks a little bit familiar. I switch back to Visio and I notice that layout in the web part matches exactly the layout in Visio. It seems that the vdw holds onto some view state information. This makes no sense to me, but I test out my hypothesis by scrolling up in Visio and Read more of this post