473,772 Members | 3,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Line Graph Implementation in various browsers


Hi,
Will any one suggest a way for implementing the line graphs in
various browsers without compatability issues.
I mean canvas can be used in Mozilla FireFox 1.5 for drawing
objects but where as it is not supported in other browers like IE and
Netscape. Similarly IE can use VML for drawing objects where as
Netscape and Mozilla wont.

With Regards
Dinesh

Sep 1 '06 #1
2 3335


ba************* ****@gmail.com wrote:

Will any one suggest a way for implementing the line graphs in
various browsers without compatability issues.
I mean canvas can be used in Mozilla FireFox 1.5 for drawing
objects but where as it is not supported in other browers like IE and
Netscape. Similarly IE can use VML for drawing objects where as
Netscape and Mozilla wont.
Generally using JavaScript you will be restricted to browsers supporting
canvas and/or SVG and/or VML (unless you want to draw with lots of CSS
positioned HTML elements). Firefox 1.5 and later has canvas and SVG,
that includes other Gecko browsers like SeaMonkey 1.0 or later or Camino
1.0 or later I think. Safari 2.0 has canvas (not sure whether earlier
versions have too). Opera 9 has canvas and SVG. IE has VML.
There are also canvas emulations for IE based on VML I think (e.g.
<http://sourceforge.net/projects/excanvas>). So canvas currently seems
to be the most common feature to try to use
<http://webfx.eae.net/dhtml/chart/chart.html>
(but obviously will not help with Firefox 1.0 or Mozilla 1.7 or other
browsers where you would need to look into plugins (e.g Flash) or a Java
applet).
--

Martin Honnen
http://JavaScript.FAQTs.com/
Sep 1 '06 #2
JRS: In article <44************ ***********@new sspool2.arcor-
online.net>, dated Fri, 1 Sep 2006 14:08:24 remote, seen in
news:comp.lang. javascript, Martin Honnen <ma*******@yaho o.deposted :
>
Generally using JavaScript you will be restricted to browsers supporting
canvas and/or SVG and/or VML (unless you want to draw with lots of CSS
positioned HTML elements).
Overstated limitation.

One can draw with a large borderless Table filled, at the simplest, with
&nbsp; set to various coloured backgrounds, or filled with images of
line components.

Does Unicode include the PC line-drawing character set or similar, or
the Teletext (UK) set of 64 characters consisting of all combinations of
blank and white in a character cell divided into 2*3, or better?

--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk DOS 3.3, 6.20; Win98. ©
Web <URL:http://www.merlyn.demo n.co.uk/- FAQqish topics, acronyms & links.
PAS EXE TXT ZIP via <URL:http://www.merlyn.demo n.co.uk/programs/00index.htm>
My DOS <URL:http://www.merlyn.demo n.co.uk/batfiles.htm- also batprogs.htm.
Sep 1 '06 #3

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

Similar topics

3
3458
by: Paul Moore | last post by:
I'm trying to check a graph (represented in the usual Python adjacency list format) for loops. This is dead simple - you use a depth-first search, and look out for "back edges" (edges from a vertex "back" to one you've already seen). I already have a DFS algorithm which generates each edge in turn. It's great for what it does, but it ignores back edges. def DFS(graph, start, seen = None): if not seen:
9
2902
by: Lilith | last post by:
Is there a python module somewhere (been searching today, no luck) which has efficiently coded various graph-handling routines, such as finding the shortest path through a graph, or the set of all paths through a graph? I'm not a compsci-educated person, so coding my own would be less parsimonious. Thanks for any suggestions! D
25
3793
by: Magnus Lie Hetland | last post by:
Is there any interest in a (hypothetical) standard graph API (with 'graph' meaning a network, consisting of nodes and edges)? Yes, we have the standard ways of implementing graphs through (e.g.) dicts mapping nodes to neighbor-sets, but if one wants a graph that's implemented in some other way, this may not be the most convenient (or abstract) interface to emulate. It might be nice to have the kind of polymorphic freedom that one has with,...
3
1655
by: JJ | last post by:
Hi, Can anyone reccommend a decent chart/graph component to use with asp 3 (Not ..net) Many Thanks JJ
11
14896
by: srinivas | last post by:
Hi all, I have one requirement.Is there any way to create a line graph using javascript.If it is please send me the sample code.But the thing is it should work in all browsers. Thanks, Srinivas
6
2252
by: David W. Fenton | last post by:
Is MS Graph really completely useless in Access 97? I uninstalled and re-installed to get the Office 97 version of MS Graph, but I see no way whatsoever to insert dynamic data into the chart. The wizard has got to be the worst wizard I've seen in Access, because it assumes way, way too much about what you want. And then when you click FINISHED, what you get has absolutely nothing to do with what you chose for the graph.
2
2706
by: Geagleeye | last post by:
Hi. i have i problem such as getting the intercept point for my graph which is made in MSgraph Access 2003. the lines in the graph is from tabel and , i need some idea for some vba code to get the intercept point for the lines.
8
2449
by: Jef Driesen | last post by:
I'm working on an image segmentation algorithm. An essential part of the algorithm is a graph to keep track of the connectivity between regions. At the moment I have a working implementation, but it's not flexible enough anymore and I need something more advanced. I already have a data structure in mind, but I don't know how to implement that nicely in C++. // Main class which holds the lists with // edges and vertices. These lists are...
12
2876
by: Nathan Harmston | last post by:
Hi All, Currently I am working on a generic graph library so I can do various graph based analysis for various projects I have ideas for. Currently I am implementing Graph as a wrapper around a dictionary. Currently my implementation works like this: t = Graph() n1 = Node("Node1") n2 = Node("Test2")
0
9620
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10261
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10104
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8934
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6715
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.