Class RadSparkline
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[TelerikToolboxCategory("Data Controls")]
public class RadSparkline : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IPrintable
Constructors
RadSparkline()
Declaration
public RadSparkline()
Properties
Annotations
Collection of the SparkAnnotations
Declaration
public SparkAnnotationCollection Annotations { get; }
Property Value
Area
Returns the current visible area.
Declaration
public SparkArea Area { get; }
Property Value
AutoSize
Gets or sets whether the edit control is auto-sized
Declaration
public override bool AutoSize { get; set; }
Property Value
System.
|
Overrides
Axes
Collection of the Axes
Declaration
public SparkAxisCollection Axes { get; }
Property Value
AxisDrawMode
Gets or sets whether the horizontal axis will be painted on top of the series.
Declaration
public AxisDrawMode AxisDrawMode { get; set; }
Property Value
Controllers
Collection of the Controllers
Declaration
public SparkViewControllerCollection Controllers { get; }
Property Value
DefaultSize
Declaration
protected override Size DefaultSize { get; }
Property Value
System.
|
EmptyPointBehavior
Shows or hides ToolTip controller in RadSparkline.
Declaration
public EmptyPointBehavior EmptyPointBehavior { get; set; }
Property Value
Series
Collection of the SparkSeries
Declaration
public SparkSeries Series { get; set; }
Property Value
ShowAxis
Shows or hides the horizontal axis in the sparkline.
Declaration
public bool ShowAxis { get; set; }
Property Value
System.
|
ShowFirstPointIndicator
Gets or sets whether the first point indicator will be painted.
Declaration
public bool ShowFirstPointIndicator { get; set; }
Property Value
System.
|
ShowHighPointIndicator
Gets or sets whether the high point marker will be painted.
Declaration
public bool ShowHighPointIndicator { get; set; }
Property Value
System.
|
ShowLastPointIndicator
Gets or sets whether the last point indicator will be painted.
Declaration
public bool ShowLastPointIndicator { get; set; }
Property Value
System.
|
ShowLowPointIndicator
Gets or sets whether the low point indicator will be painted.
Declaration
public bool ShowLowPointIndicator { get; set; }
Property Value
System.
|
ShowNegativePointIndicators
Gets or sets whether the negative point markers will be painted.
Declaration
public bool ShowNegativePointIndicators { get; set; }
Property Value
System.
|
ShowToolTip
Show or hide ToolTip controller in RadSparkline.
Declaration
public bool ShowToolTip { get; set; }
Property Value
System.
|
SparklineElement
Gets the sparkline element.
Declaration
public RadSparklineElement SparklineElement { get; }
Property Value
View
Methods
BeginPrint(RadPrintDocument, PrintEventArgs)
Declaration
public int BeginPrint(RadPrintDocument sender, PrintEventArgs args)
Parameters
Rad
|
System.
|
Returns
System.
|
Implements
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
Rad
|
Overrides
CreateSparklineElement()
Declaration
protected virtual RadSparklineElement CreateSparklineElement()
Returns
DeferRefresh()
Declaration
public IDisposable DeferRefresh()
Returns
System.
|
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.
|
Overrides
EndPrint(RadPrintDocument, PrintEventArgs)
Declaration
public bool EndPrint(RadPrintDocument sender, PrintEventArgs args)
Parameters
Rad
|
System.
|
Returns
System.
|
Implements
ExportToImage(Stream, Size)
Exports the sparkline view into the specified stream using the PNG image format.
Declaration
public void ExportToImage(Stream stream, Size size)
Parameters
System. The stream to which to write the chart image |
System. The size of the exported image. |
ExportToImage(String, Size)
Exports the sparkline into the specified file using the PNG image format.
Declaration
public void ExportToImage(string filePath, Size size)
Parameters
System. The file to which the chart will be exported. |
System. The size of the exported file. |
ExportToImage(String, Size, ImageFormat)
Exports the sparkline view into the specified file.
Declaration
public void ExportToImage(string filePath, Size size, ImageFormat imageFormat)
Parameters
System. The file to which the chart will be exported. |
System. The size of the exported file. |
System. The image format in which to export the chart. |
GetSettingsDialog(RadPrintDocument)
Declaration
public Form GetSettingsDialog(RadPrintDocument document)
Parameters
Rad
|
Returns
System.
|
Implements
OnLoad(Size)
Declaration
protected override void OnLoad(Size desiredSize)
Parameters
System.
|
Overrides
OnThemeChanged()
Called when the theme is changed.
Declaration
protected override void OnThemeChanged()
Overrides
Print()
Print(Boolean)
Directly prints the Rad
Declaration
public virtual void Print(bool showPrinterSettings)
Parameters
System. Indicates whether printer settings dialog should be shown. |
Print(Boolean, RadPrintDocument)
Directly prints the Rad
Declaration
public virtual void Print(bool showPrinterSettings, RadPrintDocument document)
Parameters
System. Indicates whether printer settings dialog should be shown. |
Rad As instance of Rad |
PrintPage(Int32, RadPrintDocument, PrintPageEventArgs)
Declaration
public bool PrintPage(int pageNumber, RadPrintDocument sender, PrintPageEventArgs args)
Parameters
System.
|
Rad
|
System.
|
Returns
System.
|
Implements
PrintPreview()
Shows a Rad
Declaration
public virtual void PrintPreview()
PrintPreview(RadPrintDocument)
Shows a Rad
Declaration
public virtual void PrintPreview(RadPrintDocument document)
Parameters
Rad As instance of Rad |
Refresh()
ResetBackColorThemeOverrides()
Declaration
protected override void ResetBackColorThemeOverrides()
Overrides
ResetForeColorThemeOverrides()
Declaration
protected override void ResetForeColorThemeOverrides()
Overrides
ResumeRefresh()
Declaration
public void ResumeRefresh()
ScaleControl(SizeF, BoundsSpecified)
Declaration
protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
Parameters
System.
|
System.
|
Overrides
SetBackColorThemeOverrides()
Declaration
protected override void SetBackColorThemeOverrides()
Overrides
SetForeColorThemeOverrides()
Declaration
protected override void SetForeColorThemeOverrides()
Overrides
SuspendRefresh()
Declaration
public void SuspendRefresh()
Events
CreateRenderer
Fires when the area requies a renderer for the first time.
Declaration
public event SparklineCreateRendererEventHandler CreateRenderer
Event Type
PaintSparkFill
Fires when a spark fill will be painted using the System.
Declaration
public event PaintSparkFillEventHandler PaintSparkFill
Event Type
PaintSparkStroke
Fires when a spark line will be painted using the System.
Declaration
public event PaintSparkStrokeEventHandler PaintSparkStroke