OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis     
Skip Navigation Links
All BooksExpand All Books
Origin CExpand Origin C

5 Build Dialogs using HTML and JavaScript

Origin C supports building dialog by using HTML, CSS (Cascading Style Sheets) and JavaScript. In such dialog, HTML is used to contain the elements (contents) of the dialog, and CSS is to control the presentation of HTML elements, including the elements' style, layout, etc., and then JavaScript can be used to control the elements dynamically. Also, one of the most important role of JavaScript in such dialog is to communicate with Origin C.

The advantage of such kind of dialog is that, lots of 3rd libraries are available, and it is easy to build up a good-looking dialog such as the one below:

HTML Dialog Relationship.png

To learn more about this functionality, please refer to the detailed document pages.

You can also read this blog, which shows this new Origin feature by creating a simple calculator, to see the detailed steps. Or, download the relevant examples here directly.


© OriginLab Corporation. All rights reserved.