how to draw a curve with axis in javascript
-
hai i don't know how to draw a curve with axis in javascript?:confused: help me. thanx
-
hai i don't know how to draw a curve with axis in javascript?:confused: help me. thanx
I'm not sure what you mean by "draw a curve with axis", but it sounds like you want to do some graphing/charting/plotting on a web page. If you need to do this only in Internet Explorer, VML (vector markup language) might be the simplest way to implement graphing. There are also some obscure javascript methods by various web developers that might do the job (though I don't recall at the moment where I saw them--and Googling on this subject brings up too many links). Could you describe your need in more detail? --Assistant_Alchemist
-
I'm not sure what you mean by "draw a curve with axis", but it sounds like you want to do some graphing/charting/plotting on a web page. If you need to do this only in Internet Explorer, VML (vector markup language) might be the simplest way to implement graphing. There are also some obscure javascript methods by various web developers that might do the job (though I don't recall at the moment where I saw them--and Googling on this subject brings up too many links). Could you describe your need in more detail? --Assistant_Alchemist
hai I want to implement in Internet Explorer. actually my task is get the input from textbox,input is string,it may be slightly increase or slightly decrease .Draw a curve according to the input and implement in IE. help me to draw a curve using vml or javascript in IE 6.0 thanx
-
hai i don't know how to draw a curve with axis in javascript?:confused: help me. thanx
Ganesh: 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
-
Ganesh: 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
Ha! 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