pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::HtmlOptions Struct Reference

Options for every HTML view. More...

#include <html.hpp>

Public Attributes

HtmlScripts scripts = HtmlScripts::Cdn
 
std::string script_dir
 With HtmlScripts::Inline: a directory holding vega.min.js, vega-lite.min.js and vega-embed.min.js at the pinned versions.
 
int width = 640
 The chart's width in pixels.
 
std::string title
 Replaces the view's own title when not empty.
 

Detailed Description

Options for every HTML view.

Member Data Documentation

◆ script_dir

std::string pulsatrix::HtmlOptions::script_dir

With HtmlScripts::Inline: a directory holding vega.min.js, vega-lite.min.js and vega-embed.min.js at the pinned versions.

◆ scripts

HtmlScripts pulsatrix::HtmlOptions::scripts = HtmlScripts::Cdn

◆ title

std::string pulsatrix::HtmlOptions::title

Replaces the view's own title when not empty.

◆ width

int pulsatrix::HtmlOptions::width = 640

The chart's width in pixels.


The documentation for this struct was generated from the following file: