473,395 Members | 1,584 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,395 software developers and data experts.

Javascript, OWC chart, DataLabelsCollection.Add() error.

Whenever I try to call ...DataLabelsCollection.Add I get the error
"Invallid Parameter".

if((document.chsp.charts(0).Type==18) ||
(document.chsp.charts(0).Type==19) ||
(document.chsp.charts(0).Type==20) ||
(document.chsp.charts(0).Type==9001) ||
(document.chsp.charts(0).Type==9002))
{
var dls;
dls =
document.chsp.charts(0).SeriesCollection(1).DataLa belsCollection.Add();
dls.HasPercentage = 'True';
dls.HasValue = 'True';
}
Jul 23 '05 #1
4 3770
jfizer wrote:
Whenever I try to call ...DataLabelsCollection.Add I get the error
"Invallid Parameter".

You are in a JavaScript forum. The question you pose
relates to Microsoft Office Web Components - Visual Basic.
You may wish to use a more appropriate forum for your
question.

Cheers, Rob.
Jul 23 '05 #2
On Tue, 21 Sep 2004 22:36:23 GMT, RobG <rg***@iinet.net.auau> wrote:
jfizer wrote:
Whenever I try to call ...DataLabelsCollection.Add I get the error
"Invallid Parameter".

You are in a JavaScript forum. The question you pose
relates to Microsoft Office Web Components - Visual Basic.
You may wish to use a more appropriate forum for your
question.

Cheers, Rob.


Nope, in fact I am not useing any VB script, ASP or any other such
stuff. 100% Javascript, which is what is causing my problems.

However I have managed to solve this one.
Jul 23 '05 #3
jfizer wrote:

Nope, in fact I am not useing any VB script, ASP or any other such
stuff. 100% Javascript, which is what is causing my problems.

However I have managed to solve this one.


I think you are mistaken - do you have a link to any
reference that shows DataLabelsCollection belongs to
JavaScript, CSS or HTML? I can find thousands (literally)
that relate to Microsoft VB Script.

A quick test would be for you to post code to this forum
that works in any browser other than IE and sits within
<script type="text/javascript"></script> tags.

Regards, Rob.
Jul 23 '05 #4
RobG wrote:
jfizer wrote:
Nope, in fact I am not useing any VB script, ASP or any other such
stuff. 100% Javascript, which is what is causing my problems.

However I have managed to solve this one.


I think you are mistaken - do you have a link to any
reference that shows DataLabelsCollection belongs to
JavaScript, CSS or HTML? I can find thousands (literally)
that relate to Microsoft VB Script.


What you don't understand is that VBScript is but a possible
interface language to a (document) object model, JScript or
JavaScript can serve as such as well if the interface provides
the appropriate language binding.
PointedEars
--
Syntax terror in line 42
Jul 23 '05 #5

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

Similar topics

1
by: Brian Shade | last post by:
Hi all. I am having a bit of a problem with my Perl script and the creation of a chart. I can create the chart and create a new SeriesCollection. I then specify the XValues and the Values parameter...
8
by: Prabhakar | last post by:
Friends, I have been migrating ASP applications from IIS4.0/NT4.0 to IIS5.0/W2K. All the applications working perfectly except one. This particular application will make use of asp chart object....
1
by: Michael DeLawter | last post by:
Using Access 2002. I have a chart in a report that is currently based on a query in which the user enters the start and end date for the chart to display. Both the start and end dates have been...
22
by: PeteCresswell | last post by:
I've been to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mschrt/html/vbobjtitleobject.asp, but still don't have a clue. For example, I've got a chart object namde...
3
by: StBond | last post by:
Hi everyone, I am new to Access and Visual Basic so things my be getting across a bit cloudy. I only started using VB for one week. I am having a little problem with the database that I am...
0
by: Zero | last post by:
A B C D E Date Open High Low Close Chart = (Excel._Chart)oWB.Charts.Add(missing,missing,missing,missing); Chart.HasLegend = false; Chart.ChartWizard(...
9
by: Patrick.O.Ige | last post by:
I have a code below and its a PIE & BAR CHART. The values now are all static but I want to be able to pull the values from a database. Can you guys give me some ideas to do this? Thanks ...
1
by: Saintor | last post by:
This is for A97 in runtime or MDE mode. My intent was to define a temporary query using the recordsetclone property / filter / orderby. The controlsource of my chart would be based on a grouped...
1
by: cubekid | last post by:
I am using OWC 11 in my new web application for displaying charts. Is it possible in OWC 11 to combine and display a column and a line graph (Looking like they overlap each other)? I tried it using...
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: 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
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
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
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...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.