HTML Elements
html function allows you to create an HTML page with all the tags supported by HTML.
div, form, button, br
⎘
% style tag
elem1 = '<style> #myForm,button,#result { width:90px; font:12px arial; } #result { height:20px; padding-top:20px; text-align:center; font-size:1.2em; }</style>'% form tag
elem2 = '<form id="myForm" action=""> <input type="radio" name="graph" value="scatter"> Scatter</br> <input type="radio" name="graph" value="plot"> Plot</br> <input type="radio" name="graph" value="waterfall"> Waterfall </form>'% button tag
elem3 = '<button onclick="sel()">which one do you prefer?</button>'% div tag
elem4 = '<div id="result"></div>'% script tag
elem5 = '<script> function sel() { $("#result").html($("input[name=graph]:checked", "#myForm").val() + "!!!!") } </script>'% br tag: add a new line
nl = '</br>' html([elem1 nl elem2 nl elem3 nl elem4 nl elem5])
See also
Reports - Generating Reports2D graphs - Secondary Axis
2D graphs - Formatting Axes
2D graphs - Adding Legends
Reports - Comparing Assembled Graphs
HTML - Buttons
Reports - Controlling Report Width
HTML - Tips To Control HTML Tables
2D graphs - Control Bars Color