///Sets how plotly is referenced in the head of html docs.
typePlotlyJSReference=
/// The url for a script tag that references the plotly.js CDN When
| CDN ofstring
/// Full plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline
| Full
/// Use requirejs to reference plotlyjs from a url
| Require ofstring
//include no plotlyjs script at all. This can be helpfull when embedding the output into a document that already references plotly.
| NoReference
typeDisplayOptions()=
inherit DynamicObj()
/// <summary>
/// Returns a new DisplayOptions object with the given styles
/// </summary>
/// <paramname="DocumentTitle">The title metadata for the document</param>
/// <paramname="AdditionalHeadTags">Additional tags that will be included in the document's head </param>
/// <paramname="ChartDescription">HTML tags that appear below the chart in HTML docs</param>
/// <paramname="PlotlyJSReference">Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline</param>
static memberinit
(
?DocumentTitle:string,
?DocumentCharset:string,
?DocumentDescription:string,
?DocumentFavicon:XmlNode,
?AdditionalHeadTags:XmlNode list,
?ChartDescription:XmlNode list,
?PlotlyJSReference:PlotlyJSReference
)=
DisplayOptions()
|> DisplayOptions.style (
?DocumentTitle = DocumentTitle,
?DocumentCharset = DocumentCharset,
?DocumentDescription = DocumentDescription,
?DocumentFavicon = DocumentFavicon,
?AdditionalHeadTags = AdditionalHeadTags,
?ChartDescription = ChartDescription,
?PlotlyJSReference = PlotlyJSReference
)
/// <summary>
/// Returns a function sthat applies the given styles to a DisplayOptions object
/// </summary>
/// <paramname="DocumentTitle">The title metadata for the document</param>
/// <paramname="AdditionalHeadTags">Additional tags that will be included in the document's head </param>
/// <paramname="ChartDescription">HTML tags that appear below the chart in HTML docs</param>
/// <paramname="PlotlyJSReference">Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline</param>