Table of Contents

Class BarChartWidget

Namespace
AbanoubNassem.Trinity.Widgets
Assembly
AbanoubNassem.Trinity.dll

A widget that displays data as a bar chart.

public class BarChartWidget : TrinityChartWidget<BarChartWidget>, ITrinityWidget, ITrinityComponent
Inheritance
BarChartWidget
Implements
Inherited Members

Properties

BorderColors

Gets or sets an array of border colors for each bar in the chart.

public object[]? BorderColors { get; protected set; }

Property Value

object[]

BorderWidth

Gets or sets the width of the borders for each bar in the chart.

public byte BorderWidth { get; protected set; }

Property Value

byte

ComponentName

The component name in the front-end side.

public override string ComponentName { get; }

Property Value

string

Methods

SetBorderColors(params object[])

Sets the array of border colors for each bar in the chart.

public BarChartWidget SetBorderColors(params object[] colors)

Parameters

colors object[]

An array of border colors.

Returns

BarChartWidget

The current instance of the BarChartWidget class.

SetBorderWidth(byte)

Sets the width of the borders for each bar in the chart.

public BarChartWidget SetBorderWidth(byte width)

Parameters

width byte

The width of the borders.

Returns

BarChartWidget

The current instance of the BarChartWidget class.