Class Chart3DSubComponent
Represents an abstract 3D chart subcomponent that participates in the rendering and lifecycle of a parent 3D chart component.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Chart3D
Assembly: Syncfusion.Blazor.dll
Syntax
public abstract class Chart3DSubComponent : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
This base type provides common lifecycle integration and ownership semantics for 3D chart subcomponents. It inherits from SfOwningComponentBase to manage scoped services and implements Syncfusion.Blazor.Chart3D.IChart3DSubcomponentTracker to register with the parent container for coordinated layout, hit‑testing, and rendering updates.
Typical derived types include axis definitions, series descriptors, annotation providers, and interaction helpers used by the 3D chart surface. Subcomponents are expected to attach to the parent during initialization and notify it upon parameter changes so the chart can refresh dependent state.
Lifecycle: Derived components should override Blazor lifecycle methods such as
OnInitialized, OnParametersSet, or OnParametersSetAsync to perform
registration with the parent and to compute derived state. Avoid heavy work in synchronous
lifecycle methods; prefer async variants for I/O or long‑running operations.
Threading & Performance: Instances are not thread‑safe. Invoke members from the renderer/UI thread only. Minimize allocations in render paths and cache computed metadata for large datasets to keep frame times predictable.
Constructors
Chart3DSubComponent()
Declaration
protected Chart3DSubComponent()