DisplayOptions Type
Constructors
| Constructor |
Description
|
|
|
Static members
| Static member |
Description
|
Full Usage:
DisplayOptions.addAdditionalHeadTags additionalHeadTags
Parameters:
XmlNode list
-
The additional head tags to add to the given DisplayOptions object
Returns: DisplayOptions -> DisplayOptions
|
Adds the given additional head tags to the given DisplayOptions object
|
Full Usage:
DisplayOptions.addChartDescription description
Parameters:
XmlNode list
-
The chart description to add to the given DisplayOptions object
Returns: DisplayOptions -> DisplayOptions
|
Adds the given chart description to the given DisplayOptions object
|
Full Usage:
DisplayOptions.combine first second
Parameters:
DisplayOptions
-
The first DisplayOptions to combine with the second
second : DisplayOptions
-
The second DisplayOptions to combine with the first
Returns: DisplayOptions
|
Combines two DisplayOptions objects. In case of duplicate dynamic member values, the values of the second DisplayOptions are used. For the collections used for the dynamic members AdditionalHeadTags, Description the values from the second DisplayOptions are appended to those of the first instead.
|
Full Usage:
DisplayOptions.getAdditionalHeadTags displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the additional head tags from
Returns: XmlNode list
|
Returns the additional head tags from the given DisplayOptions object if they exist, an empty list otherwise
|
Full Usage:
DisplayOptions.getChartDescription displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the chart description from
Returns: XmlNode list
|
Returns the chart description from the given DisplayOptions object if it exists, an empty list otherwise
|
Full Usage:
DisplayOptions.getDocumentCharset displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the document charset from
Returns: string
|
Returns the document charset from the given DisplayOptions object if it exists, an empty string otherwise
|
Full Usage:
DisplayOptions.getDocumentDescription displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the document description from
Returns: string
|
Returns the document description from the given DisplayOptions object if it exists, an empty string otherwise
|
Full Usage:
DisplayOptions.getDocumentFavicon displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the document favicon from
Returns: XmlNode
|
Returns the document favicon from the given DisplayOptions object if it exists, an empty XML Node otherwise
|
Full Usage:
DisplayOptions.getDocumentTitle displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the document title from
Returns: string
|
Returns the document title from the given DisplayOptions object if it exists, an empty string otherwise
|
Full Usage:
DisplayOptions.getPlotlyReference displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the reference to a plotly.js source from
Returns: PlotlyJSReference
|
Returns the reference to a plotly.js source from the given DisplayOptions object if it exists, NoReference otherwise
|
Full Usage:
DisplayOptions.init (?DocumentTitle, ?DocumentCharset, ?DocumentDescription, ?DocumentFavicon, ?AdditionalHeadTags, ?ChartDescription, ?PlotlyJSReference)
Parameters:
string
-
The title metadata for the document
?DocumentCharset : string
-
The document charset
?DocumentDescription : string
-
The description metadata for the document
?DocumentFavicon : XmlNode
-
base64 encoded favicon image
?AdditionalHeadTags : XmlNode list
-
Additional tags that will be included in the document's head
?ChartDescription : XmlNode list
-
HTML tags that appear below the chart in HTML docs
?PlotlyJSReference : 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
Returns: DisplayOptions
|
Returns a new DisplayOptions object with the given styles
|
|
Returns a DisplayOptions Object with the plotly cdn set to Globals.PLOTLYJS_VERSION
|
Full Usage:
DisplayOptions.setAdditionalHeadTags additionalHeadTags
Parameters:
XmlNode list
-
The additional head tags to set on the given DisplayOptions object
Returns: DisplayOptions -> DisplayOptions
|
Sets the given additional head tags on the given DisplayOptions object
|
Full Usage:
DisplayOptions.setChartDescription chartDescription
Parameters:
XmlNode list
-
The chart chart description to set on the given DisplayOptions object
Returns: DisplayOptions -> DisplayOptions
|
Sets the given chart description on the given DisplayOptions object
|
Full Usage:
DisplayOptions.setDocumentCharset documentCharset
Parameters:
string
-
The document charset to set on the given DisplayOptions object
Returns: DisplayOptions -> DisplayOptions
|
Sets the given document charset on the given DisplayOptions object
|
Full Usage:
DisplayOptions.setDocumentDescription documentDescription
Parameters:
string
-
The document description to set on the given DisplayOptions object
Returns: DisplayOptions -> DisplayOptions
|
Sets the given document description on the given DisplayOptions object
|
Full Usage:
DisplayOptions.setDocumentFavicon documentFavicon
Parameters:
XmlNode
-
The document favicon to set on the given DisplayOptions object
Returns: DisplayOptions -> DisplayOptions
|
Sets the given document favicon on the given DisplayOptions object
|
Full Usage:
DisplayOptions.setDocumentTitle documentTitle
Parameters:
string
-
The document title to set on the given DisplayOptions object
Returns: DisplayOptions -> DisplayOptions
|
Sets the given document title on the given DisplayOptions object
|
Full Usage:
DisplayOptions.setPlotlyReference plotlyReference
Parameters:
PlotlyJSReference
-
The reference to a plotly.js source to set on the given DisplayOptions object
Returns: DisplayOptions -> DisplayOptions
|
Sets the given reference to a plotly.js source on the given DisplayOptions object
|
Full Usage:
DisplayOptions.style (?DocumentTitle, ?DocumentCharset, ?DocumentDescription, ?DocumentFavicon, ?AdditionalHeadTags, ?ChartDescription, ?PlotlyJSReference)
Parameters:
string
-
The title metadata for the document
?DocumentCharset : string
-
The document charset
?DocumentDescription : string
-
The description metadata for the document
?DocumentFavicon : XmlNode
-
base64 encoded favicon image
?AdditionalHeadTags : XmlNode list
-
Additional tags that will be included in the document's head
?ChartDescription : XmlNode list
-
HTML tags that appear below the chart in HTML docs
?PlotlyJSReference : 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
Returns: DisplayOptions -> DisplayOptions
|
Returns a function sthat applies the given styles to a DisplayOptions object
|
Full Usage:
DisplayOptions.tryGetAdditionalHeadTags displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the additional head tags from
Returns: XmlNode list option
|
Returns Some additional head tags from the given DisplayOptions object if they exist, None otherwise
|
Full Usage:
DisplayOptions.tryGetChartDescription displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the chart description from
Returns: XmlNode list option
|
Returns Some chart description from the given DisplayOptions object if it exists, None otherwise
|
Full Usage:
DisplayOptions.tryGetDocumentCharset displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the document charset from
Returns: string option
|
Returns Some document charset from the given DisplayOptions object if it exists, None otherwise
|
Full Usage:
DisplayOptions.tryGetDocumentDescription displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the document description from
Returns: string option
|
Returns Some document description from the given DisplayOptions object if it exists, None otherwise
|
Full Usage:
DisplayOptions.tryGetDocumentFavicon displayOpts
Parameters:
DisplayOptions
-
Returns: XmlNode option
|
Returns Some document favicon from the given DisplayOptions object if it exists, None otherwise
|
Full Usage:
DisplayOptions.tryGetDocumentTitle displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the document title from
Returns: string option
|
Returns Some document title from the given DisplayOptions object if it exists, None otherwise
|
Full Usage:
DisplayOptions.tryGetPlotlyReference displayOpts
Parameters:
DisplayOptions
-
The DisplayOptions object to get the reference to a plotly.js source from
Returns: PlotlyJSReference option
|
Returns Some reference to a plotly.js source from the given DisplayOptions object if it exists, None otherwise
|
Plotly.NET