473,473 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Chartspace

Is this the place to ask for more reference information on
the chartspace object?

I'm trying to modify some examples in MSDN to create an
xlscatterplot chart and need to know how to find the
constants that apply to chartspace, for example, the
constants that apply to chartspace.type. Is this
documented in MSDN, in Excel 2002, or where?

Also, more detailed info on the entire use of chartspace
would be very helpful.

Leslie
Jul 21 '05 #1
3 5730
Hi Leslie,

Thanks for your post.

I recommend you refer to "Microsoft Office Web Components Object Models" in
MSDN or MSDN onlene at
<http://msdn.microsoft.com/library/de...-us/owcvba10/h
tml/octocMSOWCObjectModels.asp?frame=true> which provide detailed
information on chartspace as well as other objects, methods, properties and
events.

For the Type property specifically, you can access it with lists of
constants in MSDN or MSDN online at:
Type Property
http://msdn.microsoft.com/library/de...us/owcvba10/ht
ml/ocproType.asp?frame=true

I believe the following MSDN aritcle is also helpful:
Off the Chart Access
http://msdn.microsoft.com/library/de...us/dnoffpro01/
html/OfftheChartAccess.asp

By the way, it you have further questions regarding Office developerment, I
recommend you resort to the following newsgroups:
microsoft.public.office.developer
microsoft.public.officedev

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #2
Tim,

Thanks for your query. Actually I have still not gotten
either a fix for my specific question--how to create an
XYScatter plot using XML as the data source; nor has
anyone been able to point out to me detailed documentation
on how to set up an XY Scatter plot. The documentation
you mentioned in an earlier post is not specific to XY
Scatter plots and I have spent a lot of hours guessing at
the syntax. Very frustrating.

I have also been corresponding on the web.components list
and have not gotten anywhere with that, either.

Please point me to detailed documentation for this.

Thank-you.

Leslie

-----Original Message-----
Hi Leslie,

Thanks for your post.

I recommend you refer to "Microsoft Office Web Components Object Models" inMSDN or MSDN onlene at
<http://msdn.microsoft.com/library/default.asp? url=/library/en-us/owcvba10/html/octocMSOWCObjectModels.asp?frame=true> which provide detailedinformation on chartspace as well as other objects, methods, properties andevents.

For the Type property specifically, you can access it with lists ofconstants in MSDN or MSDN online at:
Type Property
http://msdn.microsoft.com/library/default.asp? url=/library/en-us/owcvba10/html/ocproType.asp?frame=true

I believe the following MSDN aritcle is also helpful:
Off the Chart Access
http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnoffpro01/html/OfftheChartAccess.asp

By the way, it you have further questions regarding Office developerment, Irecommend you resort to the following newsgroups:
microsoft.public.office.developer
microsoft.public.officedev

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.

Jul 21 '05 #3
Hi Leslie,

Here's a VB.NET example that illustrates how you can bind an OWC Chart to
an XML Data Source and build an XY Scatter chart:

AxChartSpace1.ConnectionString = "provider=mspersist"
AxChartSpace1.CommandText = "c:\proddata.xml"
AxChartSpace1.HasPlotDetails = True
AxChartSpace1.Charts(0).Type =
OWC10.ChartChartTypeEnum.chChartTypeScatterMarkers
AxChartSpace1.SetData(OWC10.ChartDimensionsEnum.ch DimXValues, 0,
"ProductID")
AxChartSpace1.SetData(OWC10.ChartDimensionsEnum.ch DimYValues, 0,
"UnitPrice")

The XML used in this sample is based off of the Products table in the
Northwind sample database:

<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly' rs:CommandTimeout='30'>
<s:AttributeType name='ProductID' rs:number='1'>
<s:datatype dt:type='int' dt:maxLength='4' rs:precision='10'
rs:fixedlength='true' rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='UnitPrice' rs:number='2' rs:nullable='true'
rs:writeunknown='true'>
<s:datatype dt:type='number' rs:dbtype='currency' dt:maxLength='8'
rs:precision='19' rs:fixedlength='true'/>
</s:AttributeType>
<s:extends type='rs:rowbase'/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row ProductID='1' UnitPrice='18'/>
<z:row ProductID='2' UnitPrice='19'/>
<z:row ProductID='24' UnitPrice='4.5'/>
<z:row ProductID='34' UnitPrice='14'/>
<z:row ProductID='35' UnitPrice='18'/>
<z:row ProductID='38' UnitPrice='263.5'/>
<z:row ProductID='39' UnitPrice='18'/>
<z:row ProductID='43' UnitPrice='46'/>
<z:row ProductID='67' UnitPrice='14'/>
<z:row ProductID='70' UnitPrice='15'/>
<z:row ProductID='75' UnitPrice='7.75'/>
<z:row ProductID='76' UnitPrice='18'/>
</rs:data>
</xml>

It's important to note that when you use the MSPersist provider to bind an
OWC chart to an XML data source that the XML data source use the Recordset
Persistance shema -- if the XML does not follow this schema, the provider
will be unable to interpret the data as a recordset.

Additional Resources:

HOW TO: Find Office Web Components (OWC) Programming Documentation and
Samples
http://support.microsoft.com/default...b;en-us;319793

Use An XML Data Source with the Office XP Chart Component (Q286212)
http://support.microsoft.com/?id=286212

Saving ADO Recordsets in XML Format
http://msdn.microsoft.com/library/ps...k/xmli546n.htm

Hope this helps you!

Lori Turner
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Content-Class: urn:content-classes:message
From: "Leslie" <le****@leslieconsulting.com>
Sender: "Leslie" <le****@leslieconsulting.com>
References: <07****************************@phx.gbl> <dM**************@cpmsftngxa06.phx.gbl> Subject: RE: Chartspace
Date: Mon, 10 Nov 2003 07:28:11 -0800
Lines: 71
Message-ID: <09****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOnn0AWTMbbQgtfRwuVXEg9DgAmmg==
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:115138
NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
X-Tomcat-NG: microsoft.public.dotnet.general

Tim,

Thanks for your query. Actually I have still not gotten
either a fix for my specific question--how to create an
XYScatter plot using XML as the data source; nor has
anyone been able to point out to me detailed documentation
on how to set up an XY Scatter plot. The documentation
you mentioned in an earlier post is not specific to XY
Scatter plots and I have spent a lot of hours guessing at
the syntax. Very frustrating.

I have also been corresponding on the web.components list
and have not gotten anywhere with that, either.

Please point me to detailed documentation for this.

Thank-you.

Leslie

>-----Original Message-----
>Hi Leslie,
>
>Thanks for your post.
>
>I recommend you refer to "Microsoft Office Web Components

Object Models" in
>MSDN or MSDN onlene at
><http://msdn.microsoft.com/library/default.asp?

url=/library/en-us/owcvba10/h
>tml/octocMSOWCObjectModels.asp?frame=true> which provide

detailed
>information on chartspace as well as other objects,

methods, properties and
>events.
>
>For the Type property specifically, you can access it

with lists of
>constants in MSDN or MSDN online at:
>Type Property
>http://msdn.microsoft.com/library/default.asp?

url=/library/en-us/owcvba10/ht
>ml/ocproType.asp?frame=true
>
>I believe the following MSDN aritcle is also helpful:
>Off the Chart Access
>http://msdn.microsoft.com/library/default.asp?

url=/library/en-us/dnoffpro01/
>html/OfftheChartAccess.asp
>
>By the way, it you have further questions regarding

Office developerment, I
>recommend you resort to the following newsgroups:
>microsoft.public.office.developer
>microsoft.public.officedev
>
>Hope this helps.
>
>Regards,
>
>HuangTM
>Microsoft Online Partner Support
>MCSE/MCSD
>
>Get Secure! -- www.microsoft.com/security
>This posting is provided "as is" with no warranties and

confers no rights.
>
>.
>


Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: STeve | last post by:
Hey guys, Just want to thank you guys in advance. I am receiving a "library not registered" error when I am running this code. I am not too sure why this is happening. I don't get this on the...
2
by: Shailesh | last post by:
Hi Everyone, I want to convert ADOMD cellset to XML format so that it can viewed in OWC 10 chartspace.I am using SQL server OLAP services.What should i do? My problem is as follows: I have...
1
by: Andrew Smith | last post by:
Hello, I am trying to export a pivot chart to an image for inclusion in a powerpoint report yet am having some issues. The code I am using is: Sub ExportPivotChart() Dim frm As form Dim...
2
by: Alvin Bruney | last post by:
COM object with CLSID {0002E556-0000-0000-C000-000000000046} is either not valid or not registered. This is coming from the webserver. I've downloaded the office PIA's. Used the register.bat....
1
by: Alexander Nenashev | last post by:
axChartSpace.DataSource = (msdatasrc.DataSource)axPivotTable; doesn't work
3
by: Leslie | last post by:
Is this the place to ask for more reference information on the chartspace object? I'm trying to modify some examples in MSDN to create an xlscatterplot chart and need to know how to find the...
0
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, anyone have some good articles on this or some documentation with examples? thanks, rodchar
1
by: klove1209 | last post by:
Good afternoon, Can someone please assist me with getting over this error. I am trying to export a chartspace as a gif image. I keep getting runtime error 430- Class does not support Automation or...
1
by: jfarr | last post by:
All, I'm new to ASP and OWC so I have a question that is probably very easy for you experienced folks to answer. I am creating an OWC application, and have multiple graphs to present. ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.