473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to use MSChart control?

xtianixm
Hi,

I'm currently figuring out on how to use this MSChart since this is my first time to use this, I don't how this thing works. I have my data already which are stored in MS Access, I am using Adodc as my connector. I just don't know on how to link MSChart to my data. Can you help on how to do this? Like I'm going to display my data using datagrid... then if there are three sets of data such as Month, Number of Units and Destination... then I want my x axis to be the months in a year, y axis as number of units...

Thanks alot!
Jul 3 '07 #1
4 3683
Killer42
8,435 Expert 8TB
I've just had a glance at the online help, and it looks as though you need to put the data in a flexgrid, then attach the chart to the grid.
Jul 4 '07 #2
debasisdas
8,127 Expert 4TB
try this sample

Expand|Select|Wrap|Line Numbers
  1. SqlAreaOtherChart = "select..........." 
  2.  
  3. RsChart.Open SqlAreaOtherChart, con, adOpenForwardOnly, adLockReadOnly
  4. .......................
  5. Set MSChart1.DataSource = RsChart
  6. RsChart.Close
hope that solves your problem
Jul 4 '07 #3
try this sample

Expand|Select|Wrap|Line Numbers
  1. SqlAreaOtherChart = "select..........." 
  2.  
  3. RsChart.Open SqlAreaOtherChart, con, adOpenForwardOnly, adLockReadOnly
  4. .......................
  5. Set MSChart1.DataSource = RsChart
  6. RsChart.Close
hope that solves your problem

-> mr.moderator i did what u say but nothing happen kundly gve me a further sample
Jul 4 '07 #4
Killer42
8,435 Expert 8TB
-> mr.moderator i did what u say but nothing happen kundly gve me a further sample
Can you show us your code?
Jul 5 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: arc | last post by:
My web application is using MSChart for reporting. (until i port it to some decent reporting tool) How to make sure all the web clients (IE atleast) have MSChart on their system to view these...
1
by: Jaime Lucci | last post by:
Has anybody any documentation about MSChart? Thanks.
2
by: Jon Henry | last post by:
Hi, I have a question regarding using the MSChart control in Visual C# Standard 2003. I understand that you can add it to the Toolbox and use it like any other control-- the problem I'm having...
0
by: Richard | last post by:
When I try adding a MSChart control from the toolbox I get an error message telling me it can't find AxInterop.OWC10.dll. I was given the advice below but i'm not sure where to add the class...
2
by: John Blair | last post by:
Hi, In my webform HTML i have the following code, but i cannot view and configure this chart control in the code behind class. In the code behind class i have a reference to this com control...
1
by: M Murschell | last post by:
In VB.Net, I have a DataSet called DataSet11, with some data that I want to chart. It has two fields, Month and EmployeeCount. I added a MSChart (Microsoft Chart Control 6.0). How do I get the...
0
by: clashway | last post by:
It took me so long to figure this out, I thought I would share it. This prints an MSChart using the metafilepict format after copying the chart to the clipboard. This provides a high-resolution...
0
by: JS | last post by:
Hello I want translate a project from VB6 to VB.Net 1.0 In this project I have a graph with a MsChart COM control. When I want make reference (Projet/Ref /Com controle) to this chart I have an...
3
by: Al | last post by:
Hi, Am just starting to develop an app that be using a graphic report. I can see how to use MSChart, but that I gather is considered arcane. Is there a suggested substitute control to replace...
0
debasisdas
by: debasisdas | last post by:
Here's a simple VB6 code snippet that uses the MSChart control to display Charts in VB6.0. To use this sample, please following steps Create a new project in VB6 Pull down the Project menu and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.