Javascript, OWC Chart, DataLabelsCollection.Add() Error.
Jul 23, 2005
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'
}
View 4 Replies
ADVERTISEMENT
Jun 24, 2009
I am trying to load a jquery chart (Flot) inside the second tab of jQuery tabs. It works fine on the opening tab, but if i bury the chart in any tab, it breaks and throws the js error "Invalid dimensions for plot..."
I looked around and the problem might be that because the second tab is hidden at page load, it is breaking something... I dug up a possible jquery fix/plugin called frameReady, which allows for you to load iframes, but I am not sure how to apply it.
Example:[url]
Source:[url]
How I can enable the second tab to show the chart?
View 1 Replies
View Related
Nov 25, 2009
Is there a ways in javascript to create graphs chart? i can't seem to find a code on the Internet
View 5 Replies
View Related
Feb 24, 2010
i am building a web app that has a bunch of charts on it. they are essentially very basic flow charts that show relationships between two boxes.
now i have the divs printing out on the screen with no problems. but i have little idea on the best way to draw the arrows between the boxes.
my original thought was to place the images (as background images) in a span and then use server side code to determine the size of the span (length) and then absolutely position it. seems clunky.
then my next thought was to put the arrows and lines into SVG canvases and then use some sort of javascript to plot the two box points and draw the line. the question though is how to go about it? is there already a library or set of examples out there that does this sort of stuff? i had a google search, but couldnt come up with anything that was of use...
View 2 Replies
View Related
May 2, 2011
Before anyone shoots me down I know this is not JSF forum I've been there and didn't get any joy at all, because the function I'm after is JavaScript so I wonder if anyone can help me please?
This function is for refreshing an Id called columnChartOne but unfortunately it doesn't work. This function is from Fiji demo page.
Code:
onclick="$('myForm:columnChartOne:component').update(); return false;"
How can I possibly rewrite this function as JavaScript function so it refreshes a column Id ?
View 3 Replies
View Related
Nov 10, 2011
i'm new to jQuery and SVG and my homerwork is to develope ECG chart. It should show data with: - 25mm/s - 50 mm/s - 1mm/mV - 5mm/mv I've decided to use Keith Wood jQuery plugin and have some questions. Is it possible to manipulate with gridlines when using graphing extension? I'd like every full second line to be thicker than the rest. Secondly, length on chart in every resolution should be equal to real length. Or should I make that chart step by step using drawing functions?
View 2 Replies
View Related
Oct 5, 2009
I am trying to populate a flot chart using PHP but things do not seem to be working. If I put in the numbers manually for the chart everything is working fine but if I pass them via ajax from a php script nothing displays.
Here is my php:
And here is my javascript:
The background of the chart appears but no data. I suspect that its because the json_encode returns a string.
View 2 Replies
View Related
May 25, 2011
Is there any plugin can draw radar graph?
View 2 Replies
View Related
Dec 14, 2011
Is there any organization chart(Hierarchy) available in jquery. like google org char? It should work in intranet.
View 1 Replies
View Related
Aug 3, 2009
I am using Flot its a graphing tool.I insert my flot graphing code into my main page which i do not want to show unless the user clicks a show graph button.The code is inserted into my hidden div like so:
Code:
<div class="widgetDIV" id="mydiv1">
<div id="placeholder" style="width:600px;height:300px;"></div>
<?[code]....
When the user clicks the "show graphs" link it changes the property of "mydiv1" to display='Block'.This is where the problems start.
Everything in the <Div> now appears except the chart. If i load the chart on its own it works fine and if i load the chart into a <div> that has its display properties starting off as 'Block' its also fine. The problem only occurs when i change the display property after the page is loaded.
View 2 Replies
View Related
Nov 8, 2011
I have this code that allows a select box change a price feild. it works fine however when i add something to the cart the select box still changes but the value (in the cart) does not.im thinking this is where i am going wrong it is not allow a new refresh
Code:
var pie = $(form).find('#boo').val();
This is what i'm trying to do but i get NAN
[code]....
View 5 Replies
View Related
Nov 11, 2009
This page works fine when viewed in Firefox 3: http://jimpix.co.uk/ecards/no-words.html
But in IE6, I get a javascript error:
Line 5
Error: Syntax Error
But line 5 refers to this: <link rel="Shortcut Icon" href="../favicon.ico" type="image/x-icon" />
Which isn't even javascript.In firefox, the drop down menus work in the black nav bar, but not in IE6, probably because of this JS error.The page's HTML validates, in case that helps.And to make things stranger, the page in IE6 works without an error when viewing the page on my local IIS web server. It only breaks when viewing the page remotely.
View 1 Replies
View Related
May 10, 2004
I have text box on a form that when I click on a image link button next to it, it loads a JS pop-up window with a list menu and I select an item from that menu and it closes the window and sets the value to what I chose form the menu in the text box from the parent window. I am using javascript to accomplish these tasks, but when I then try to go into the text box and edit the text after I set the value, once I do so and exit the text box with my cursor this error appears:
ERROR: 'window.NewWindow.document.test1' is null or not an object
anyone know what this might mean?
I made sure that I had the form, text box, menu and variable for the script named correctly so I know it's not my naming conventions.
form name = test1
list menu name = Times1
text box name = plannedTime
View 4 Replies
View Related
Dec 8, 2010
I want to create piechart using dynamic content. (jqplot) Here i use static value. But i want to populate piechart for dynamic value.
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
[Code]....
View 8 Replies
View Related
Oct 20, 2010
I've been trying to find a topic talking about how to save a jqplot chart as an image (jpg,png,bmp.....) but i couldn't find anything wich was related to jqplot (there was only canvas2image which was close but when i tried it, i figured that it wasn't designed for jqplot...... :s ) ,
I need that function because when i copy/paste the chart from internet explorer 8 the chart is all different (the x,y axis and even the curve isn't at the right place..
View 4 Replies
View Related
Dec 10, 2011
I am working on a project that will involve large amounts of data. We have discussed how to summarize for the end user. Final presentation will be something like a bar chart with 15-30 bars. Each bar will be built by blocks whose height and column will be determined by formulas applied to data in the database. A static report is obviously no problem.
I want to develop a sandbox where the end user can drag and drop blocks from one column onto a different column. Others on the team think this can only be done with AJAX while I think jQuery will work and actually be better.
View 2 Replies
View Related
May 22, 2009
I read an article on this forum that was about a counter that tracked button clicks. What we have is a very simple site that has a drop down box that links to several different forms that are filled out then submitted (to a server that accepts HTTP POSTs). What I'm looking to do is put a small chart on the main page with the drop down that shows how many times a specific form was submitted, in essence tracking the submit button clicks on those forms. To be exact we have six forms. Please correct me if im wrong and there is a better way to accomplish this but that was the only way I could think of. I do not have .asp or .php capabilities on the paticular site so sticking to a javascript would be best.
View 7 Replies
View Related
Jan 28, 2011
I am really new to coding and am trying to include a flowchart that I have created on my site. There is a series of 5 questions with 2 possible answers for each question. Can anyone help me with some coding that would let me show only the first question and based on how they answer that, the flow chart would open up to the second question and once they answer the second question, it opens up to the third question and so on?
View 4 Replies
View Related
Jul 23, 2005
I cannot get any SQL query to run at work, even though
the same script runs at college????
I always get a HTTP 500 internal server error.
Can anyone point out what I am doing wrong?
View 2 Replies
View Related
Mar 18, 2007
This is the error I get when I try to download a file from Rapidshare.
ERROR: Please enable JavaScript.
I uninstalled and reinstalled Sun JDK 6.0. Sill the problem persists.
The problem is generic now. For instance I cannot use the collapse /
expnad links at the top of this post. I have also enabled all
scritping options in my browser (IE 7.0).
Can anyone hepl me in this regard?
View 2 Replies
View Related
Jul 20, 2005
When I try to change a thumbnail picture to a large one on a particular web
site, it will not change as it did a week or so ago, and I get a message at
the bottom of the web page that says "javascript error on page". Being an
80 yr old member of the CIA (Computer Illiterates of America), I am befuddled.
What have I done and what do I need to do to correct this problem.
View 2 Replies
View Related
Jul 20, 2005
Anyway, I'm having a problem with some new pages I am creating for the Web
site at www.weaverdevore.ca and I am wondering if anyone here might be able
to help. Here is a full description of the problem:
I keep getting a JavaScript error that occurs when I try to re-open a closed
popup window after it has been opened once with a javascript call. The
message reads:
The callee (server [not server application]) is not available and
disappeared; all connections are invalid. The call did not execute.
To see this error reproduced, go to www.weaverdevore.ca/?main2 (This is the
temp page I am testing on until it works. Please ignore the page not found
error in the bottom frame.)
Scroll down past the Flash advertisement to find a link labelled "Fraud
Protection Policy." It will open the first time you click on it, but after
closing it once it will produce this error and won't open it again. If you
click on one of products displayed even further down, you will see that
their popup works fine over and over. Also, if you click on any of the other
links that use popups they can all be opened again and again without error.
I tried duplicating popup pages that were working just fine and editing them
to the new format, and still the same thing. The new popup windows I want to
use for the site will be frames pages with a footer frame with print and
close buttons and an info display frame above them. I have tried standard
frames, as well as an inline frame (as the product view window uses). All
produce the same error as a result. I tried making the close button a
"submit" button and the form action a "javascript:parent.close()". I also
tried making the form action "NULL" and using an
onClick="javascript:parent.close()" and still the same error. I duplicated
the product information screen, changed it by modifying the buttons (which
are standard HTML image links, not form buttons) and even though the product
window works, this duplicated one produced the error. Here is the code I
made for the new popup:
function popupWin(name,addy,w,h) {
if ((w == 0) || (h == 0)) {
w = 750;
h = 500;
popupFile = "2";
}
else {
popupFile = "1";
}
LeftPosition = (screen.width) ? (screen.width - w)/2 : 0;
TopPosition = (screen.height) ? ((screen.height - h)/2)-50 : 0;
settings =
'width='+w+',height='+h+',top='+TopPosition+',left ='+LeftPosition+',status'
popupWin = window.open('http://www.weaverdevore.ca/main-pages/popup' +
popupFile + ".html?" + addy,name,settings);
}
This code is stashed in a .js file, but you can view all the other source
code of any of the pages with a right-click. I cannot see anything wrong
with my code, so if someone has any ideas I would appreciate if they could
please send me an email to teknocat@refundprocessors.com, even if the reply
is also posted here in the news group.
View 2 Replies
View Related
Oct 10, 2010
I have text input such as below. What I want is that when I press submit button if the Item Name is empty then I want the error text in red shown beside the text input. I am using php how can I achieve it?
PHP Code:
<td width="90%">
<input class="text" size=5 id="itemName" name="itemName" value="">
[code]....
View 1 Replies
View Related
Jul 7, 2005
When I use this little script to get a value in IE it works, but in FF nothing ...
alert(window.content_frame.document.getElementById('content_table').offsetHeig ht);
View 13 Replies
View Related
May 12, 2011
I'm looking for some guidance on the best way to use jQuery to change a set of simple shirt measurements (in a table) from inches to cm, and back again. Can I tell jQuery to look inside a specific table and then convery all the numbers it finds to another unit of measurement?
View 6 Replies
View Related
Jul 10, 2010
allows the chart to slide on (click on Report a Link , right next to the search box): [URL] I need to imporove the way this functions on my site. Here is how the report a link functions on my site:
[Code]....
View 1 Replies
View Related