Ganesh: I would have to see your code to figure out how to do what you want, but it doesn't sound like a huge problem. You can post the code here (in this thread) or email to me if you like. --Retired Alchemist
RetiredAlchemist
Posts
-
how to refresh -
how to draw a curve with axis in javascriptHa! Pardon me if I reply to my own post. I just noticed that our own Simon Stewart has an article on VML: http://www.codeproject.com/html/vml101.asp
-
how to draw a curve with axis in javascriptGanesh: I would be glad to help, with the understanding that I am by no means expert in either Javascript or vml. However, I have implemented several scientific graphic projects using vml and may be able to point you in the right direction. To get a basic understanding of vml, check out the following links: http://msdn.microsoft.com/workshop/author/vml/default.asp http://www.w3.org/TR/NOTE-VML http://www.steema.com/downloads/dwn\_tch\_office.html About 1998 (I think) Microsoft and others submitted vml to the W3 crowd in an attempt to obtain recognition of their markup language as a web standard. However, Adobe and others also submitted a similar language to W3 at about the same time. W3 accepted neither, instead deciding to merge ideas from both and come up with yet another graphics language, SVG or scaleable vector graphics. SVG is now a web standard. Microsoft's motive was this: they already had planned to bring out vml anyway as a means of exporting web graphics in Office 2000. If you check out one of the programs in the Office suite, say Excel, you will see the vml code when you export to html. The Microsoft output is, however, a mess: too verb verbose and opaque for understanding vml coding. You will obtain much simpler code from using Tchart Office (third link above, Steema software). This program is a free download. Try out the Tchart program, adjusting the chart dimensions and other parameters with data you may already have. Export the graph to VML and examine the resulting code. This may be sufficient to get you started, if you already know html and javascript, and have read a bit from the first two links above. If not, let me know. I am willing to post some code that may help you implement your project. --Retired Alchemist