alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AccumulationChartGradientColorStops

    Represents the collection of color stops for the gradient fill of the accumulation chart series. These stops determine how the colors blend across the gradient.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    ChartSubComponent
    AccumulationChartGradientColorStops
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AccumulationChartGradientColorStops : ChartSubComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    Use AccumulationChartGradientColorStops as a child of AccumulationChartLinearGradient or AccumulationChartRadialGradient to define an ordered set of AccumulationChartGradientColorStop entries. At least two stops (for example, offsets 0 and 100) are recommended to create a visible transition. Stops are applied in ascending order of Offset. Ensure offsets fall within the 0–100 range and specify colors/opacity as required.

    Examples
    @using Syncfusion.Blazor.Charts 
    
    <SfAccumulationChart> 
        <AccumulationChartSeriesCollection> 
            <AccumulationChartSeries Type="AccumulationType.Pie" 
                                     XName="Category" 
                                     YName="Value"> 
                <AccumulationChartLinearGradient " X1="0" Y1="0" X2="1" Y2="0"> 
                    <AccumulationChartGradientColorStops> 
                        <AccumulationChartGradientColorStop Offset="0"   Color="#42A5F5" Opacity="1" /> 
                        <AccumulationChartGradientColorStop Offset="100" Color="#1E88E5" Opacity="1" /> 
                    </AccumulationChartGradientColorStops> 
                </AccumulationChartLinearGradient> 
            </AccumulationChartSeries> 
        </AccumulationChartSeriesCollection> 
    </SfAccumulationChart>

    Constructors

    AccumulationChartGradientColorStops()

    Declaration
    public AccumulationChartGradientColorStops()

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ChartSubComponent.BuildRenderTree(RenderTreeBuilder)

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved