?
Solved

MSChart Linear Plot with Reverse Scale

Posted on 1998-10-30
4
Medium Priority
?
581 Views
Last Modified: 2012-08-13
Is there a way to make MSChart plot x-y data in decreasing
(X) order for an VtChChartType2dXY ?  Even if an input file has the data in decreasing (X) order, MSChart plots it in increasing order.
0
Comment
Question by:USER
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 1442585
I gave up on the MS Chart control when I figured there's no way to *PRINT* the !@#$%^ thing!

Cut your own routines to plot. Is not hard and gives you better control over what you see.

Contact me direct if you code to get you started. I have plot code for barcharts, Multiple line charts, histograms, polar plots, etc.

M

0
 

Author Comment

by:USER
ID: 1442586
   I appreciate Mark's answer.  However I do not want to write my own Graphics code
but want to use MSChart.  I also had much difficulty getting an MSChart to PRINT.
However I was able to accomplish this by getting some help from Rod Stephens at:
RodStephens@vb-helper.com.  
    I may contact Mark sometime if I also have trouble with Multiple line charts.  Also if
I find it is impossible to use MSChart the way I want to, I may have to "bite the bullet"
and try out his code.  I'm sure that he is a skilled programmer.



0
 
LVL 3

Accepted Solution

by:
tcurtin earned 100 total points
ID: 1442587
Have you tried OLE automation with Excel. Excel has good charting. That's the beuty of Office. the right application for the right functionality.
0
 

Author Comment

by:USER
ID: 1442588
I will accept this reply.  I am giving up on Reverse Scales with MSChart.  I am amazed
that such a simple thing is not available with MSChart.  I bought a 3rd party ActiveX
Charting Library for VB and even their software cannot do Reverse Scales.  I didn't know
it was such a hard thing to do !!  It looks like you either do it the Microsoft way or you
write your own code to do it.


0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question