S
Shawnews
I've just changed jobs within my company and have inherited a "map" of
pie-charts that will need to be updated semi-frequently. Here is what has
been done.....
The raw data looks something like
Area X-coord Y-coord CompanyA Company B CompanyC
Total
prairie 3 5 10% 20%
70% 2500
coast 2 1 50% 10%
40% 1000
mnts 4 7 20% 20%
60% 500
etc.....
What has previously been done is that my predecessor has created a pie-chart
for each area (i.e. a pie-chart for prairie, coast, mountains, etc...) that
shows the relative split in ownership between Company A,B,C, (actually more
than 3 but....). He then creates a bubble chart using the x-y coordinates
and the "Total" amount for each area so that he has a bubble (emtpy circle)
that is sized relative to the total-amount. He then overlays the bubble
chart over a bitmap image (that is a scanned map) so that the bubbles are at
the right places with respect to the bitmap image. Then he manually resizes
each of the piecharts and drags them so that they are the same size as their
respective bubbles and are centered over the correct x-y coordinate on the
map.
Quite ingenious I think, and it is a snap to change the company splits since
the pie-charts are still linked to the raw data. However, changes to the
total-amount means a lot of resizing of the bubbles and all this is manually
done.
Now...my question.... basically I'm just looking for suggestions of a better
way to accomplish the desired efffect....which is a "map" of pie-charts that
show the relative company splits with the size of the pie-chart circle being
relative to the total amount and all of this overlaid on an image.
I *think* my plan of attack will be to write some VBA code that will be to
scan down through the total amounts and the x-y coordinates of each area and
have the VBA code automatically resize and reposition the multiple
pie-charts. I'm fairly comfortable that I can do this (eventually) myself,
but obviously am looking for any shortcuts or better ideas... Even other
software that would make this easy would be of interest.
Thanks in advance for any thoughts/tips.
pie-charts that will need to be updated semi-frequently. Here is what has
been done.....
The raw data looks something like
Area X-coord Y-coord CompanyA Company B CompanyC
Total
prairie 3 5 10% 20%
70% 2500
coast 2 1 50% 10%
40% 1000
mnts 4 7 20% 20%
60% 500
etc.....
What has previously been done is that my predecessor has created a pie-chart
for each area (i.e. a pie-chart for prairie, coast, mountains, etc...) that
shows the relative split in ownership between Company A,B,C, (actually more
than 3 but....). He then creates a bubble chart using the x-y coordinates
and the "Total" amount for each area so that he has a bubble (emtpy circle)
that is sized relative to the total-amount. He then overlays the bubble
chart over a bitmap image (that is a scanned map) so that the bubbles are at
the right places with respect to the bitmap image. Then he manually resizes
each of the piecharts and drags them so that they are the same size as their
respective bubbles and are centered over the correct x-y coordinate on the
map.
Quite ingenious I think, and it is a snap to change the company splits since
the pie-charts are still linked to the raw data. However, changes to the
total-amount means a lot of resizing of the bubbles and all this is manually
done.
Now...my question.... basically I'm just looking for suggestions of a better
way to accomplish the desired efffect....which is a "map" of pie-charts that
show the relative company splits with the size of the pie-chart circle being
relative to the total amount and all of this overlaid on an image.
I *think* my plan of attack will be to write some VBA code that will be to
scan down through the total amounts and the x-y coordinates of each area and
have the VBA code automatically resize and reposition the multiple
pie-charts. I'm fairly comfortable that I can do this (eventually) myself,
but obviously am looking for any shortcuts or better ideas... Even other
software that would make this easy would be of interest.
Thanks in advance for any thoughts/tips.