.netCHARTING v10.5 Documentation


Settings Property
Gets or sets a dictionary containing additional JSChart properties and values to set before the JS chart renders. The string based key and value pair consists of a property path and value.
Syntax
'Declaration
 
Public Property Settings As Dictionary(Of String,String)
'Usage
 
Dim instance As JsOptions
Dim value As Dictionary(Of String,String)
 
instance.Settings = value
 
value = instance.Settings
public Dictionary<string,string> Settings {get; set;}
Remarks
This method takes only strings values, however, any type can be specified. If a value of "true" is passed, it will be a boolean in JS. To use a string with that value, use "'true'" with single quotes. The same applies to numbers. If a JS variable that holds the value in JS must be referenced, prefix the string with "js:". This will prevent quote wrapping and will be used in JS as is. For example, if in JS there is a variable defined as var colorRed = 'red'; to refer to this variable in a string setting server side, use "js:colorRed". This allows passing functions as well for cases like label callbacks. For example: "js:function(txt){return 'text:'+txt}"
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also