Html
A parent class for generating HMTL code.
Do NOT use this class directly! This class acts as a parent class for inheriting methods to the Chart classes for generating HTML code.
If you want to serve your Chart objects online through the Octave
environment, use the WebServer class to initialize a web server instance and
serve your Chart object directly throught the update
method of the
WebServer
object .
See also: BarChart, BubbleChart, DoughnutChart, LineChart, PieChart, PolarAreaChart, RadarChart, ScatterChart, WebServer
Source Code: Html
htmlsave
Save a Chart object’s HTML code to a file.
htmlsave (obj)
saves the HTML code describing a Chart object
to a file. The HTML code is identical to that generated by the
htmlstring
method.
See also: BarChart, BubbleChart, DoughnutChart, LineChart, PieChart, PolarAreaChart, RadarChart, ScatterChart
htmlstring
Generate an HTML string from a Chart object.
htmlstring (obj)
returns a character vector defining the
HTML code to display a Chart object on a web browser. You can use a
WebServer
object and its update
method to serve the
Chart online.
See also: BarChart, BubbleChart, DoughnutChart, LineChart, PieChart, PolarAreaChart, RadarChart, ScatterChart, WebServer
webserve
Serve Chart online.
webserve (obj)
serves the HTML describing the Chart object
to a local web server instance. If the web server instance has not
started yet, it is initialized automatically with the default settings
listening to localhost:8080
.
See also: BarChart, BubbleChart, DoughnutChart, LineChart, PieChart, PolarAreaChart, RadarChart, ScatterChart, WebServer