How to align the images at center in Graph View

Mar 4, 2013 at 12:28 PM
I'm Currently working on Pivot viewer in Share point 2013. I have successfully brought in all data but according to my requirement while loading the images initial i am showing images in histogram(graph)view.By default,the images in my output is left aligned. i refereed your webpage and found that even your images in the output is left aligned. I want to make it to be aligned at the center.What should i Do? Any help is really appreciated.
Coordinator
Mar 5, 2013 at 11:52 PM
Hi,
The solution is to update the Draw method of the PivotViewer.Views.Tile object (in the TileController). You'll need to find the difference between the image size and the tile size and divide it by 2 to get the left padding in pixels. The same applies to the top padding.

This has been fixed in the commercial version, which you can contact LobsterPot Solutions to find out more.
Mar 6, 2013 at 7:16 AM
Thanks for you reply roger.

I have taken the difference between the image width and tile size and then divided by 2 as per you said. Now my question is where should i give that value for left & top Padding.

Please be precise. Thanks in advance


Regards,
Rajesh
Mar 6, 2013 at 7:37 AM
Thanks for you reply roger.

I have taken the difference between the image width and tile size and then divided by 2 as per you said. Now my question is where should i give that value for left & top Padding.

Please be precise. Thanks in advance


Regards,
Rajesh
Mar 6, 2013 at 7:38 AM
Thanks for you reply roger.

I have taken the difference between the image width and tile size and then divided by 2 as per you said. Now my question is where should i give that value for left & top Padding.

Please be precise. Thanks in advance


Regards,
Rajesh
Mar 6, 2013 at 8:41 AM
Thanks for you reply roger.

I have taken the difference between the image width and tile size and then divided by 2 as per you said. Now my question is where should i give that value for left & top Padding.

Please be precise. Thanks in advance


Regards,
Rajesh
Mar 6, 2013 at 9:36 AM
Thanks for you reply roger.

I have taken the difference between the image width and tile size and then divided by 2 as per you said. Now my question is where should i give that value for left & top Padding.

Please be precise. Thanks in advance


Regards,
Rajesh