Class ChartView
Namespace: VelloSharp.Charting.WinForms
Assembly: VelloSharp.Charting.WinForms.dll
WinForms control that hosts the chart engine on top of
public sealed class ChartView : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance
object ← MarshalByRefObject ← Component ← Control ← ScrollableControl ← ContainerControl ← UserControl ← ChartView
Implements
IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inherited Members
UserControl.ValidateChildren(), UserControl.ValidateChildren(ValidationConstraints), UserControl.AutoSize, UserControl.AutoSizeMode, UserControl.AutoValidate, UserControl.BorderStyle, UserControl.AutoSizeChanged, UserControl.AutoValidateChanged, UserControl.Load, ContainerControl.PerformAutoScale(), ContainerControl.Validate(), ContainerControl.Validate(bool), ContainerControl.AutoScaleDimensions, ContainerControl.AutoScaleMode, ContainerControl.BindingContext, ContainerControl.ActiveControl, ContainerControl.CurrentAutoScaleDimensions, ContainerControl.ParentForm, ScrollableControl.ScrollControlIntoView(Control?), ScrollableControl.SetAutoScrollMargin(int, int), ScrollableControl.AutoScroll, ScrollableControl.AutoScrollMargin, ScrollableControl.AutoScrollPosition, ScrollableControl.AutoScrollMinSize, ScrollableControl.DisplayRectangle, ScrollableControl.HorizontalScroll, ScrollableControl.VerticalScroll, ScrollableControl.Scroll, Control.GetPreferredSize(Size), Control.BeginInvoke(Delegate), Control.BeginInvoke(Action), Control.BeginInvoke(Delegate, params object?[]?), Control.BringToFront(), Control.Contains(Control?), Control.CreateGraphics(), Control.CreateControl(), Control.DoDragDrop(object, DragDropEffects), Control.DoDragDrop(object, DragDropEffects, Bitmap?, Point, bool), Control.DrawToBitmap(Bitmap, Rectangle), Control.EndInvoke(IAsyncResult), Control.FindForm(), Control.Focus(), Control.FromChildHandle(nint), Control.FromHandle(nint), Control.GetChildAtPoint(Point, GetChildAtPointSkip), Control.GetChildAtPoint(Point), Control.GetContainerControl(), Control.GetNextControl(Control?, bool), Control.Hide(), Control.Invalidate(Region?), Control.Invalidate(Region?, bool), Control.Invalidate(), Control.Invalidate(bool), Control.Invalidate(Rectangle), Control.Invalidate(Rectangle, bool), Control.Invoke(Action), Control.Invoke(Delegate), Control.Invoke(Delegate, params object?[]?), Control.Invoke<T>(Func<T>), Control.IsKeyLocked(Keys), Control.IsMnemonic(char, string?), Control.LogicalToDeviceUnits(int), Control.LogicalToDeviceUnits(Size), Control.ScaleBitmapLogicalToDevice(ref Bitmap), Control.PerformLayout(), Control.PerformLayout(Control?, string?), Control.PointToClient(Point), Control.PointToScreen(Point), Control.PreProcessMessage(ref Message), Control.PreProcessControlMessage(ref Message), Control.RectangleToClient(Rectangle), Control.RectangleToScreen(Rectangle), Control.Refresh(), Control.ResetText(), Control.ResumeLayout(), Control.ResumeLayout(bool), Control.Scale(SizeF), Control.Select(), Control.SelectNextControl(Control?, bool, bool, bool, bool), Control.SendToBack(), Control.SetBounds(int, int, int, int), Control.SetBounds(int, int, int, int, BoundsSpecified), Control.Show(), Control.SuspendLayout(), Control.Update(), Control.AccessibilityObject, Control.AccessibleDefaultActionDescription, Control.AccessibleDescription, Control.AccessibleName, Control.AccessibleRole, Control.AllowDrop, Control.Anchor, Control.AutoScrollOffset, Control.LayoutEngine, Control.DataContext, Control.BackColor, Control.BackgroundImage, Control.BackgroundImageLayout, Control.BindingContext, Control.Bottom, Control.Bounds, Control.CanFocus, Control.CanSelect, Control.Capture, Control.CausesValidation, Control.CheckForIllegalCrossThreadCalls, Control.ClientRectangle, Control.ClientSize, Control.CompanyName, Control.ContainsFocus, Control.ContextMenuStrip, Control.Controls, Control.Created, Control.Cursor, Control.DataBindings, Control.DefaultBackColor, Control.DefaultFont, Control.DefaultForeColor, Control.DeviceDpi, Control.DisplayRectangle, Control.IsDisposed, Control.Disposing, Control.Dock, Control.Enabled, Control.Focused, Control.Font, Control.ForeColor, Control.Handle, Control.HasChildren, Control.Height, Control.IsHandleCreated, Control.InvokeRequired, Control.IsAccessible, Control.IsAncestorSiteInDesignMode, Control.IsMirrored, Control.Left, Control.Location, Control.Margin, Control.MaximumSize, Control.MinimumSize, Control.ModifierKeys, Control.MouseButtons, Control.MousePosition, Control.Name, Control.Parent, Control.ProductName, Control.ProductVersion, Control.RecreatingHandle, Control.Region, Control.Right, Control.RightToLeft, Control.Site, Control.Size, Control.TabIndex, Control.TabStop, Control.Tag, Control.Text, Control.Top, Control.TopLevelControl, Control.UseWaitCursor, Control.Visible, Control.Width, Control.PreferredSize, Control.Padding, Control.ImeMode, Control.BackColorChanged, Control.BackgroundImageChanged, Control.BackgroundImageLayoutChanged, Control.BindingContextChanged, Control.CausesValidationChanged, Control.ClientSizeChanged, Control.ContextMenuStripChanged, Control.CursorChanged, Control.DockChanged, Control.EnabledChanged, Control.FontChanged, Control.ForeColorChanged, Control.LocationChanged, Control.MarginChanged, Control.RegionChanged, Control.RightToLeftChanged, Control.SizeChanged, Control.TabIndexChanged, Control.TabStopChanged, Control.TextChanged, Control.VisibleChanged, Control.Click, Control.ControlAdded, Control.ControlRemoved, Control.DataContextChanged, Control.DragDrop, Control.DragEnter, Control.DragOver, Control.DragLeave, Control.GiveFeedback, Control.HandleCreated, Control.HandleDestroyed, Control.HelpRequested, Control.Invalidated, Control.PaddingChanged, Control.Paint, Control.QueryContinueDrag, Control.QueryAccessibilityHelp, Control.DoubleClick, Control.Enter, Control.GotFocus, Control.KeyDown, Control.KeyPress, Control.KeyUp, Control.Layout, Control.Leave, Control.LostFocus, Control.MouseClick, Control.MouseDoubleClick, Control.MouseCaptureChanged, Control.MouseDown, Control.MouseEnter, Control.MouseLeave, Control.DpiChangedBeforeParent, Control.DpiChangedAfterParent, Control.MouseHover, Control.MouseMove, Control.MouseUp, Control.MouseWheel, Control.Move, Control.PreviewKeyDown, Control.Resize, Control.ChangeUICues, Control.StyleChanged, Control.SystemColorsChanged, Control.Validating, Control.Validated, Control.ParentChanged, Control.ImeModeChanged, Component.Dispose(), Component.ToString(), Component.Container, Component.Site, Component.Disposed, MarshalByRefObject.GetLifetimeService(), MarshalByRefObject.InitializeLifetimeService(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ChartView()
public ChartView()
Properties
Annotations
[Browsable(false)]
public IReadOnlyList<ChartAnnotation>? Annotations { get; set; }
Property Value
IReadOnlyList<ChartAnnotation>?
ChartEngine
[Browsable(false)]
public ChartEngine ChartEngine { get; set; }
Property Value
ChartEngine
Composition
[Browsable(false)]
public ChartComposition? Composition { get; set; }
Property Value
ChartComposition?
DeviceOptions
public VelloGraphicsDeviceOptions DeviceOptions { get; set; }
Property Value
VelloGraphicsDeviceOptions
Legend
[Browsable(false)]
public LegendDefinition? Legend { get; set; }
Property Value
LegendDefinition?
OwnsEngine
public bool OwnsEngine { get; set; }
Property Value
PreferredBackend
public VelloRenderBackend PreferredBackend { get; set; }
Property Value
VelloRenderBackend
RenderMode
public VelloRenderMode RenderMode { get; set; }
Property Value
VelloRenderMode
Theme
public ChartTheme Theme { get; set; }
Property Value
ChartTheme
Methods
Dispose(bool)
Releases the unmanaged resources used by the
protected override void Dispose(bool disposing)
Parameters
disposing
bool
true to release both managed and unmanaged resources; false to release only unmanaged resources.
OnHandleCreated(EventArgs)
Raises the
protected override void OnHandleCreated(EventArgs e)
Parameters
An
OnHandleDestroyed(EventArgs)
Raises the
protected override void OnHandleDestroyed(EventArgs e)
Parameters
An
PublishSamples(ReadOnlySpan<ChartSamplePoint>)
public void PublishSamples(ReadOnlySpan<ChartSamplePoint> samples)
Parameters
samples
ReadOnlySpan<ChartSamplePoint>
RequestRender()
public void RequestRender()