Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 20th, 2006, 07:18 PM
Registered User
 
Join Date: Jan 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Aligning two chart plot areas - simple but tricky!

I have two dynamic lined charts whose chart areas are aligned; however, because the y-axis values change dramatically when graphing different ranges, the chart plot areas misalign (Y-axis shift to the right to accomodate larger y-values displayed next to vertical axis).
This annoying behavior essentially puts the two charted lines in the two charts out of alignment. Locking the chart areas by code does not help, since the plot area is the culprit!
Any help on how to align the actual plot areas by VBA code? (to be clear, the aligned areas must not include the y-axis values which can alternate between 1-100 range to 1-1000,000 range)
Thank you in advanice for your valuable assistance.

Alseikhan






Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple but tricky problem... avdhut_s SQL Server 2000 11 December 10th, 2007 03:19 PM
Coloring the chart plot area based on x-axis scale simranjeev Reporting Services 1 October 25th, 2007 02:50 PM
plot bar chart in a web page pratik28 .NET Framework 2.0 1 April 23rd, 2007 03:54 AM
How to plot data from an array in a line chart ! Alseikhan Excel VBA 0 January 27th, 2006 12:22 PM
Excel VBA: Select range of data and plot chart? xitu Excel VBA 1 December 23rd, 2003 04:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.