|
Peltier Tech
Buy me a coffee If this topic or the whole site has been helpful, please support further development by treating me to a cup of coffee. |
In Cell Charting With Shapes
I've recently had projects which had difficult charts to make. The charts themselves were easy, really they were just simple stacked bar charts. The problem is that the charts corresponded to data in tables which could vary in number of rows, depending on the results of a query. It is very difficult to format the dimensions of an excel chart reliably, especially when the user may not be viewing the window at 100%. Changing the zoom from 100% to 125% may result in a chart that suddenly is three or four rows too long, so it is completely out of synch with the rows of data it is plotting. The answer is to construct the chart with autoshapes. The shapes are aligned precisely within their respective rows, and the code to redraw them as the data is updated is remarkably quick and neat.
|
Peltier Technical Services, Inc.Custom Solutions | Commercial Utilities | Training | Charts and Tutorials | PTS BlogPeltier Technical Services, Inc., Copyright © 2009. All rights reserved. |