Class RadSparklineElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadSparklineElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadSparklineElement()
Declaration
public RadSparklineElement()
Properties
Series
Collection of the SparkSeries
Declaration
public SparkSeries Series { get; set; }
Property Value
SparkSeries
|
View
Gets the spark view displayed in the spark element.
Declaration
public SparkView View { get; }
Property Value
SparkView
|
Wrapper
Gets the wrapper.
Declaration
public SparkWrapper Wrapper { get; }
Property Value
SparkWrapper
The wrapper. |
Methods
ArrangeOverride(SizeF)
Arranges the override.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
The final size. |
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateSparkWrapperElement()
Creates the spark wrapper element.
Declaration
protected virtual SparkWrapper CreateSparkWrapperElement()
Returns
SparkWrapper
|
ExportToImage(Stream, Size, ImageFormat)
Exports the sparkline view into the specified stream.
Declaration
public void ExportToImage(Stream stream, Size size, ImageFormat imageFormat)
Parameters
System.IO.Stream
stream
The stream to which to write the chart image |
System.Drawing.Size
size
The size of the exported image. |
System.Drawing.Imaging.ImageFormat
imageFormat
The image format in which to export the chart. |
GetStylableChildren()
Gets the stylable children.
Declaration
protected override IEnumerable<RadObject> GetStylableChildren()
Returns
System.Collections.Generic.IEnumerable<RadObject>
|
Overrides
GetStylableChildrenHierarchy()
Gets the stylable children hierarchy.
Declaration
protected override IEnumerable<RadObject> GetStylableChildrenHierarchy()
Returns
System.Collections.Generic.IEnumerable<RadObject>
|
Overrides
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()
Overrides
OnKeyDown(KeyEventArgs)
Raises the KeyDown event.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnKeyPress(KeyPressEventArgs)
Raises the KeyPress event.
Declaration
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters
System.Windows.Forms.KeyPressEventArgs
e
|
Overrides
OnKeyUp(KeyEventArgs)
Raises the KeyUp event.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseEnter(EventArgs)
Raises the MouseEnter event.
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseHover(EventArgs)
Raises the MouseHover event.
Declaration
protected override void OnMouseHover(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseLeave(EventArgs)
Raises the MouseLeave event.
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseMove(MouseEventArgs)
Raises the MouseMove event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseUp(MouseEventArgs)
Raises the MouseUp event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseWheel(MouseEventArgs)
Raises the MouseWheel event.
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnRenderSizeChanged(SizeChangedInfo)
Called when [render size changed].
Declaration
protected override void OnRenderSizeChanged(SizeChangedInfo info)
Parameters
SizeChangedInfo
info
The info. |
Overrides
PaintElement(IGraphics, Single, SizeF)
Paints the element.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
The graphics. |
System.Single
angle
The angle. |
System.Drawing.SizeF
scale
The scale. |
Overrides
ShouldFallbackToDefaultTheme()
Indicates whether to fallback to default theme.
Declaration
protected override bool ShouldFallbackToDefaultTheme()
Returns
System.Boolean
|
Overrides
Events
CreatePoint
Occurs when a new DataPoint is created.
Declaration
public event SparklineCreatePointEventHandler CreatePoint
Event Type
SparklineCreatePointEventHandler
|
CreateRenderer
Fires when the area requies a renderer for the first time.
Declaration
public event SparklineCreateRendererEventHandler CreateRenderer
Event Type
SparklineCreateRendererEventHandler
|
PaintSparkFill
Fires when a spark fill will be painted using the System.Drawing.SolidBrushclass.
Declaration
public event PaintSparkFillEventHandler PaintSparkFill
Event Type
PaintSparkFillEventHandler
|
PaintSparkStroke
Fires when a spark line will be painted using the System.Drawing.Penclass.
Declaration
public event PaintSparkStrokeEventHandler PaintSparkStroke
Event Type
PaintSparkStrokeEventHandler
|
RenderSizeChanged
Declaration
public event EventHandler RenderSizeChanged
Event Type
System.EventHandler
|