SparkAreaModel
Maintains the model-side plot area, series, and annotation nodes used to lay out and invalidate a sparkline.
Definition
Namespace:Telerik.WinControls.UI.Sparkline
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SparkAreaModel : SparkElement, IDisposable, INotifyPropertyChanged
Inheritance: objectDisposableObjectPropertyBagObjectSparkNodeSparkElementSparkAreaModel...
Implements:
Inherited Members
Constructors
Initializes a new instance of the SparkAreaModel class.
public SparkAreaModel()
Properties
Gets the collection with all the annotations currently plotted by this instance.
public ElementCollection<SparkAnnotationModel> Annotations { get; }
Gets a value indicating whether updates are currently suspended.
public bool IsSuspended { get; }
Determines whether the node is loaded.
public override bool IsTreeLoaded { get; }
Overrides:
Gets the plot-area model that contains the plotted series and annotations.
public SparkPlotAreaModel PlotArea { get; }
Gets the collection with all the series currently plotted by this instance.
public ElementCollection<SparkSeriesModel> Series { get; }
Gets the view associated with this area model.
public ISparkView View { get; }
Methods
Arranges the area using a rectangle located at (0, 0) and with Size equal to the current view's Viewport.
public void Arrange()
Begins the update.
public void BeginUpdate()
Ends the update.
public void EndUpdate()
Ends the update.
Loads the element tree.
Called when [plot origin changed].
public void OnPlotOriginChanged()
Processes the plot origin changed.
protected virtual void ProcessPlotOriginChanged()
Processes the zoom changed.
protected virtual void ProcessZoomChanged()