Solved

MSChart Linear Plot with Reverse Scale

Posted on 1998-10-30
4
577 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

825 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