Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Creating Charts

Mel -

By definition everything in a pivot table (except the totals and subtotals) are
plotted in the corresponding pivot chart. You could make the pivot table not display
the particular item in the field, or you could make a normal chart. To make a normal
chart, select a blank cell away from the pivot table, add the chart, add a series,
define the .Name, .XValues, and .Values of the series, then assign the chart type.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Mel B. wrote:

Im having a problem creating a pie pivot chart from a pivot table on an
active sheet. I first select the range that I want to plot from inside the
pivot table, and then add a chart to plot the selected field. The code Im
using is as follows:

Range(E7:19).Select
Charts.Add
ActiveChart.ChartType = xlPie

The problem is that the pivot chart that is generated always plots another
data field (i.e. the first field) in the pivot table, instead of the selected
range that I specify. Is there a way to create a pivot chart from a pivot
table and specify precisely what data field(s) you want to plot? If anyone
has any ideas, I would greatly appreciate it. Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating charts Novice Excel Discussion (Misc queries) 2 September 29th 08 03:17 PM
Creating Charts coke Charts and Charting in Excel 1 March 31st 06 06:54 PM
creating charts with XY Willy Charts and Charting in Excel 2 September 12th 05 02:56 PM
Creating two charts in one stevel Charts and Charting in Excel 1 June 11th 05 06:06 AM
Creating Charts using COM Jeff Charts and Charting in Excel 0 March 31st 05 06:31 PM


All times are GMT +1. The time now is 08:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"