Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenStackedBarSeries<TItem>

    Renders bar series in RadzenChart.

    Inheritance
    System.Object
    RadzenChartComponentBase
    CartesianSeries<TItem>
    RadzenStackedBarSeries<TItem>
    Implements
    IChartSeries
    IDisposable
    IChartStackedBarSeries
    IChartBarSeries
    Inherited Members
    CartesianSeries<TItem>.ComposeCategory(ScaleBase)
    CartesianSeries<TItem>.ComposeValue(ScaleBase)
    CartesianSeries<TItem>.IsDate(String)
    CartesianSeries<TItem>.IsNumeric(String)
    CartesianSeries<TItem>.Title
    CartesianSeries<TItem>.ChildContent
    CartesianSeries<TItem>.TooltipTemplate
    CartesianSeries<TItem>.Overlays
    CartesianSeries<TItem>.CoordinateSystem
    CartesianSeries<TItem>.CategoryProperty
    CartesianSeries<TItem>.Visible
    CartesianSeries<TItem>.Hidden
    CartesianSeries<TItem>.IChartSeries.Visible
    CartesianSeries<TItem>.ShowInLegend
    CartesianSeries<TItem>.ValueProperty
    CartesianSeries<TItem>.RenderingOrder
    CartesianSeries<TItem>.Data
    CartesianSeries<TItem>.Items
    CartesianSeries<TItem>.Markers
    CartesianSeries<TItem>.MarkerType
    CartesianSeries<TItem>.Render(ScaleBase, ScaleBase)
    CartesianSeries<TItem>.RenderOverlays(ScaleBase, ScaleBase)
    CartesianSeries<TItem>.SetParametersAsync(ParameterView)
    CartesianSeries<TItem>.Initialize()
    CartesianSeries<TItem>.MeasureLegend()
    CartesianSeries<TItem>.InsidePolygon(Point, Point[])
    CartesianSeries<TItem>.RenderTooltip(Object)
    CartesianSeries<TItem>.RenderSharedTooltipItem(Object)
    CartesianSeries<TItem>.GetTooltipPosition(Object)
    CartesianSeries<TItem>.TooltipClass(TItem)
    CartesianSeries<TItem>.RenderLegendItem()
    CartesianSeries<TItem>.RenderLegendItem(Boolean)
    CartesianSeries<TItem>.MarkerSize
    CartesianSeries<TItem>.GetMedian()
    CartesianSeries<TItem>.GetMean()
    CartesianSeries<TItem>.GetMode()
    CartesianSeries<TItem>.GetTrend()
    CartesianSeries<TItem>.GetTitle()
    CartesianSeries<TItem>.TooltipLabel(TItem)
    CartesianSeries<TItem>.PickColor(Int32, IEnumerable<String>, String, IList<SeriesColorRange>, Double)
    CartesianSeries<TItem>.Dispose()
    CartesianSeries<TItem>.InvokeClick(EventCallback<SeriesClickEventArgs>, Object)
    RadzenChartComponentBase.Chart
    RadzenChartComponentBase.ShouldRefreshChart(ParameterView)
    RadzenChartComponentBase.ValidateParameters()
    RadzenChartComponentBase.DidParameterChange<T>(ParameterView, String, T)
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenStackedBarSeries<TItem> : CartesianSeries<TItem>, IChartSeries, IDisposable, IChartStackedBarSeries, IChartBarSeries
    Type Parameters
    Name Description
    TItem

    The type of the series data item.

    Properties

    Color

    Gets the color.

    Declaration
    public override string Color { get; }
    Property Value
    Type Description
    System.String

    The color.

    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.Color

    Fill

    Specifies the fill (background color) of the bar series.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    The fill.

    FillRange

    Gets or sets the color range of the fill.

    Declaration
    public IList<SeriesColorRange> FillRange { get; set; }
    Property Value
    Type Description
    IList<SeriesColorRange>

    The color range of the fill.

    Fills

    Specifies a list of colors that will be used to set the individual bar backgrounds.

    Declaration
    public IEnumerable<string> Fills { get; set; }
    Property Value
    Type Description
    IEnumerable<System.String>

    The fills.

    LineType

    Gets or sets the type of the line used to render the bar border.

    Declaration
    public LineType LineType { get; set; }
    Property Value
    Type Description
    LineType

    The type of the line.

    Stroke

    Specifies the stroke (border color) of the bar series.

    Declaration
    public string Stroke { get; set; }
    Property Value
    Type Description
    System.String

    The stroke.

    StrokeRange

    Gets or sets the color range of the stroke.

    Declaration
    public IList<SeriesColorRange> StrokeRange { get; set; }
    Property Value
    Type Description
    IList<SeriesColorRange>

    The color range of the stroke.

    Strokes

    Specifies a list of colors that will be used to set the individual bar borders.

    Declaration
    public IEnumerable<string> Strokes { get; set; }
    Property Value
    Type Description
    IEnumerable<System.String>

    The strokes.

    StrokeWidth

    Gets or sets the width of the stroke (border).

    Declaration
    public double StrokeWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The width of the stroke.

    Methods

    Contains(Double, Double, Double)

    Determines if the series contains the specified coordinates with a given tolerance.

    Declaration
    public override bool Contains(double x, double y, double tolerance)
    Parameters
    Type Name Description
    System.Double x

    The x.

    System.Double y

    The y.

    System.Double tolerance

    The tolerance.

    Returns
    Type Description
    System.Boolean

    true if the series contains the coordinates; otherwise, false.

    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.Contains(System.Double, System.Double, System.Double)

    DataAt(Double, Double)

    Returns the data at the specified coordinates;

    Declaration
    public override (object, Point) DataAt(double x, double y)
    Parameters
    Type Name Description
    System.Double x

    The x.

    System.Double y

    The y.

    Returns
    Type Description
    System.ValueTuple<System.Object, Point>
    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.DataAt(System.Double, System.Double)

    GetCategories()

    Returns the category values

    Declaration
    protected override IList<object> GetCategories()
    Returns
    Type Description
    IList<System.Object>
    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.GetCategories()

    GetDataLabels(Double, Double)

    Returns data chart position

    Declaration
    public override IEnumerable<ChartDataLabel> GetDataLabels(double offsetX, double offsetY)
    Parameters
    Type Name Description
    System.Double offsetX
    System.Double offsetY
    Returns
    Type Description
    IEnumerable<Radzen.Blazor.Rendering.ChartDataLabel>
    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.GetDataLabels(System.Double, System.Double)

    TooltipStyle(TItem)

    Gets the tooltip inline style.

    Declaration
    protected override string TooltipStyle(TItem item)
    Parameters
    Type Name Description
    TItem item

    The item.

    Returns
    Type Description
    System.String
    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.TooltipStyle(TItem)

    TooltipTitle(TItem)

    Gets the title of the tooltip displayed for this item.

    Declaration
    protected override string TooltipTitle(TItem item)
    Parameters
    Type Name Description
    TItem item

    The item.

    Returns
    Type Description
    System.String
    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.TooltipTitle(TItem)

    TooltipValue(TItem)

    Gets the value of the tooltip displayed for this item.

    Declaration
    protected override string TooltipValue(TItem item)
    Parameters
    Type Name Description
    TItem item

    The item.

    Returns
    Type Description
    System.String

    System.String.

    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.TooltipValue(TItem)

    TransformCategoryScale(ScaleBase)

    Transforms a category scale to new one.

    Declaration
    public override ScaleBase TransformCategoryScale(ScaleBase scale)
    Parameters
    Type Name Description
    ScaleBase scale

    The scale.

    Returns
    Type Description
    ScaleBase
    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.TransformCategoryScale(Radzen.Blazor.ScaleBase)

    TransformValueScale(ScaleBase)

    Transforms a category scale to new one.

    Declaration
    public override ScaleBase TransformValueScale(ScaleBase scale)
    Parameters
    Type Name Description
    ScaleBase scale

    The scale.

    Returns
    Type Description
    ScaleBase
    Overrides
    Radzen.Blazor.CartesianSeries<TItem>.TransformValueScale(Radzen.Blazor.ScaleBase)

    Explicit Interface Implementations

    IChartBarSeries.Count

    Declaration
    int IChartBarSeries.Count { get; }
    Returns
    Type Description
    System.Int32

    IChartStackedBarSeries.ItemsForCategory(Double)

    Declaration
    IEnumerable<object> IChartStackedBarSeries.ItemsForCategory(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    IEnumerable<System.Object>

    IChartStackedBarSeries.ValueAt(Int32)

    Declaration
    double IChartStackedBarSeries.ValueAt(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Double

    IChartStackedBarSeries.ValuesForCategory(Double)

    Declaration
    IEnumerable<double> IChartStackedBarSeries.ValuesForCategory(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    IEnumerable<System.Double>

    Implements

    IChartSeries
    IDisposable
    IChartStackedBarSeries
    IChartBarSeries

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT