Solved

MSChart Linear Plot with Reverse Scale

Posted on 1998-10-30
4
575 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
  • 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 50 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now