HtmlForgeX

API Reference

Class

ChartJsLegend

Namespace HtmlForgeX
Assembly HtmlForgeX

Represents the legend configuration for a Chart.js chart.

Inheritance

  • Object
  • ChartJsLegend

Constructors

public ChartJsLegend() #

Properties

public Nullable<Boolean> Display { get; set; } #
JsonPropertyName("display") JsonIgnore(Condition = 3)

Gets or sets whether to display the legend.

public Nullable<ChartJsPosition> Position { get; set; } #
JsonPropertyName("position") JsonIgnore(Condition = 3) JsonConverter(typeof(ChartJsPositionNullableConverter))

Gets or sets the position of the legend.

public Nullable<ChartJsAlign> Align { get; set; } #
JsonPropertyName("align") JsonIgnore(Condition = 3) JsonConverter(typeof(ChartJsAlignNullableConverter))

Gets or sets the alignment of the legend.

public ChartJsLegendLabels Labels { get; set; } #
JsonPropertyName("labels") JsonIgnore(Condition = 3)

Gets or sets the labels configuration.