Version

SparklineModel Class Members

The following tables list the members exposed by SparklineModel.

Public Constructors
 NameDescription
Public ConstructorSparklineModel ConstructorInitializes a new instance of the igSparkline Model class.  
Public Properties
 NameDescription
Public PropertyBrushGets or sets the sparkline brush.  
Public PropertyClientEventsSet implementations of client events raised by a widget.

Event handler assumes 2 parameters: 1st parameter has name "evt" and 2nd parameter has name "ui". To get information about member variables available for "ui" parameter, please consult documentation of a widget and its events.

Examples:

1. Full implementation:

new Dictionary<string, string> { { "dropDownOpening", "function(evt,ui){alert('drop:'+ui.owner);}" } }

2. Content of inline function:

new Dictionary<string, string> { { "dropDownOpening", "alert('drop:'+ui.owner);" } }

3. Name of global function:

new Dictionary<string, string> { { "dropDownOpening", "nameOfGlobalFunction" } } Note:

Instead of explicit key-strings, which represent name of event exposed by a widget, the event-constants defined by a particular control can be used.

Example:

new Dictionary<string, string> { { ComboClientEvents.DropDownOpening, "nameOfGlobalFunction" } } (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public PropertyDataSourceGets or sets the data source object. (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyDataSourceTypeGets or sets the type of the data source. (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyDataSourceUrlGets or sets the data source URL. (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyDataViewthe DataView property contains the filtered and transformed data records after data binding and all feature transformations have been applied (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyDisplayNormalRangeInFrontGets or sets the position of the normal range on the sparkline.  
Public PropertyDisplayTypeGets or sets the display type of the sparkline.  
Public PropertyFirstMarkerBrushGets or sets the first marker brush of the sparkline.  
Public PropertyFirstMarkerSizeGets or sets the first marker size of the sparkline.  
Public PropertyFirstMarkerVisibilityGets or sets the first marker visibility of the sparkline.  
Public PropertyFormatLabelSets or gets a function which takes an object that produces a formatted label for displaying in the chart.

Function should return string and it takes 1 parameter: original value of label.

Example:

"function(val) { return typeof val === 'number' && val < 0 ? '(' + (-val) + ')' : val; }"  
Public PropertyHeightGets or sets the height of the igFunnelChart container. (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyHighMarkerBrushGets or sets the high marker brush of the sparkline.  
Public PropertyHighMarkerSizeGets or sets the high marker size of the sparkline.  
Public PropertyHighMarkerVisibilityGets or sets the high marker visibility of the sparkline.  
Public PropertyHorizontalAxisBrushGets or sets the horizontal axis line brush of the sparkline.  
Public PropertyHorizontalAxisVisibilityGets or sets the display state of the horizontal axis.  
Public PropertyHtmlAttributesSets custom attributes of the div on which the map widget will be created. (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyIDGets or sets the ID of the igFunnelChart container. (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyLabelMemberPathString identifier of a column or property name to get labels from on each item in the data source. These labels will be retrieved from the first and last item, and displayed by the horizontal axis.  
Public PropertyLastMarkerBrushGets or sets the last marker brush of the sparkline.  
Public PropertyLastMarkerSizeGets or sets the last marker size of the sparkline.  
Public PropertyLastMarkerVisibilityGets or sets the last marker visibility of the sparkline.  
Public PropertyLineThicknessGets or sets the line thickness of the sparkline.  
Public PropertyLocalSchemaTransformwhen local schema transforming is turned off, all of the data provided is sent to the client. When it is turned on, only the fields provided in MemberPath options are sent to the client. (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyLowMarkerBrushGets or sets the low marker brush of the sparkline.  
Public PropertyLowMarkerSizeGets or sets the low marker size of the sparkline.  
Public PropertyLowMarkerVisibilityGets or sets the low marker visibility of the sparkline.  
Public PropertyMarkerBrushGets or sets the marker brush of the sparkline.  
Public PropertyMarkerSizeGets or sets the marker size of the sparkline.  
Public PropertyMarkerVisibilityGets or sets the marker visibility of the sparkline.  
Public PropertyMaxRecCountGets sets maximum number of displayed slices in chart (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyNegativeBrushGets or sets the negative brush of the sparkline.  
Public PropertyNegativeMarkerBrushGets or sets the negative marker brush of the sparkline.  
Public PropertyNegativeMarkerSizeGets or sets the negative marker size of the sparkline.  
Public PropertyNegativeMarkerVisibilityGets or sets the negative marker visibility of the sparkline.  
Public PropertyNormalRangeFillGets or sets the normal range brush of the sparkline.  
Public PropertyNormalRangeMaximumGets or sets the maximum value of the normal range.  
Public PropertyNormalRangeMinimumGets or sets the minimum value of the normal range.  
Public PropertyNormalRangeVisibilityGets or sets the normal range visibility of the sparkline.  
Public PropertyPixelScalingRatioGets or sets the scaling value used to affect the pixel density of the control.  
Public PropertyResponseDataKeyGets or sets the response data key. (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyResponseTotalRecCountKeyGets or sets the property in the response specifying the total number of records on the server (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyTooltipTemplateGets or sets the template for tooltip. Example: "Value: $(ValueMemberPathInDataSource)" (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public PropertyTrendLineBrushGets or sets the trendline brush of the sparkline.  
Public PropertyTrendLinePeriodGets or sets the trendline period used by the sparkline.  
Public PropertyTrendLineThicknessGets or sets the thickness of the sparkline's trendline.  
Public PropertyTrendLineTypeGets or sets the type of trendline used by the sparkline.  
Public PropertyUnknownValuePlottingGets or sets the way null values are interpreted.  
Public PropertyValueMemberPathGets or sets the string path to the value column.  
Public PropertyVerticalAxisBrushGets or sets the vertical axis line brush of the sparkline.  
Public PropertyVerticalAxisVisibilityGets or sets the display state of the vertical axis.  
Public PropertyWidthGets or sets the width of the igFunnelChart container. (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
Public Methods
 NameDescription
Public MethodAddClientEventAdds javascript function to process client event of widget. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public MethodDataBindInitialize data source (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public MethodGetDatafirst performs data binding and generates the JsonResult object (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Public MethodToJsonSerializes the object to JSON. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected Methods
 NameDescription
Protected MethodCamelizeConverts the provided string to camel case. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodEnsureClientEventsAdds client events to Serializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Protected MethodGetBoolGets the value of a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetCharSets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetDataMemberPathsOverridden. Gets list which contains ValueMemberPath, InnerLabelMemberPath and OuterLabelMemberPath if those properties are defined.  
Protected MethodGetDateTimeGets the value of a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetDoubleGets the value of a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetIEnumerable<T>Gets the value of an IEnumerable property of the model. If the value is null a new IEnumerable of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetIntGets the value of an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetJSLiteralSets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetLongGets the value of a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetModel<T>Gets the value of an IModel property of the model. If the value is null a new model of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetStringGets the value of a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetStringEnum<T>Gets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetValue<T>Gets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetValueModel<T>Gets the value of an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromBoolSerializes a bool object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromDateTimeSerializes a DateTime object into json Date object. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromDoubleSerializes a double object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromFloatSerializes a float object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIDictionarySerializes an IDictionary of objects into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIEnumerableSerializes an IEnumerable object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIntSerializes an int object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromModelStoreModelBase.JsonFromModelStore (Inherited from Infragistics.Web.Mvc.ChartModelBase)
Protected MethodJsonFromObjectSerializes an arbitrary object in json using the typed serialization methods. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromStringSerializes a string object into json string, escaping all single quotes. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetBoolSets a value to a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetBrush (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetCamelizedStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetCharGets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetDateTimeSets a value to a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetDoubleSets a value to a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetIEnumerable<T>Sets a value to an IEnumerable property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetIntSets a value to an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetJSLiteralGets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetLongSets a value to a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetModel<T>Sets a value to an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetStringSets a value to a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetValue<T>Sets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodTransformDataTransforms the data. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodValidValueType<T>Checks type for value of existing property. Returns false as well if non existing property. (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub