Interface IInitScriptProviderExportOptions

Namespace: Reveal.Sdk
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public interface IInitScriptProviderExportOptions

Properties

InitScript

Indicates a script used to initilize revealView when exporting. The script must contain a function called initReveal(revealView)

Declaration
string InitScript { get; set; }
Property Value
Type Description
System.String
Examples

function initReveal(revealView) { revealView.onVisualizationSeriesColorAssigning = function(visualization, defaultColor, fieldName, categoryName) { if (categoryName === "Critical") { return "rgb(0,0,0)"; } return defaultColor; }; }