LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Pivot Chart Value Axis Scaling Question

Question: Is there a way with VBA to dynamically control the value axis
labels
based on the data values being displayed at any given time?

Details: I have a pivot chart that displays 3 data series.

Series 1 values range from 17 to 106.
Series 2 values range from 1 to 18.
Series 3 values range from 0 to 1.

When I display all three series on the chart, the value axis labels run from
1 to 120 with major unit lines at intervals of 20.

When I remove Series 1, the chart automatically adjusts itself and the
value axis labels run from 1 to 20 with lines at intervals of 2, thus
nicely accommodating the value ranges of Series 1 and Series 2.

All this is fine. But when I remove Series 2, leaving only Series 3,
the labels run from 1 to 1.2 with interval spacing of .2. Since these
values are counts, it makes little sense to show decimal values.

Can anyone provide advice on how to keep these axis labels from
showing decimal values, if a user removes Series 1 and Series 2?

Thanks.

- Bob



 
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
x-axis scaling todd Excel Discussion (Misc queries) 4 March 19th 10 03:45 PM
proper scaling in chart (with time-scale X-axis) Edward Excel Worksheet Functions 2 May 24th 07 08:53 PM
Scaling the x-axis on a line chart broncogirl Charts and Charting in Excel 1 September 26th 05 01:32 AM
Pivot Table, Line Chart with Secondary Y axis, Page Field selection destroys Y2 axis [email protected] Charts and Charting in Excel 0 July 13th 05 09:30 PM
2 Axis chart and scaling Sheldon Charts and Charting in Excel 1 June 22nd 05 04:01 PM


All times are GMT +1. The time now is 03:45 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"