API Reference
Class
ChartJsOptions
Represents the options configuration for a Chart.js chart.
Inheritance
- Object
- ChartJsOptions
Constructors
public ChartJsOptions() #Inherited Methods
Properties
public Nullable<Boolean> Responsive { get; set; } #JsonPropertyName("responsive") JsonIgnore(Condition = 3)Gets or sets whether the chart is responsive.
public Nullable<Boolean> MaintainAspectRatio { get; set; } #JsonPropertyName("maintainAspectRatio") JsonIgnore(Condition = 3)Gets or sets whether to maintain aspect ratio.
public Nullable<Double> AspectRatio { get; set; } #JsonPropertyName("aspectRatio") JsonIgnore(Condition = 3)Gets or sets the aspect ratio.
public ChartJsPlugins Plugins { get; set; } #JsonPropertyName("plugins") JsonIgnore(Condition = 3)Gets or sets the plugins configuration.
public ChartJsScales Scales { get; set; } #JsonPropertyName("scales") JsonIgnore(Condition = 3)Gets or sets the scales configuration.
public Object Animation { get; set; } #JsonPropertyName("animation") JsonIgnore(Condition = 3)Gets or sets the animation configuration.
public ChartJsInteraction Interaction { get; set; } #JsonPropertyName("interaction") JsonIgnore(Condition = 3)Gets or sets the interaction configuration.
public ChartJsLayout Layout { get; set; } #JsonPropertyName("layout") JsonIgnore(Condition = 3)Gets or sets the layout configuration.
public Nullable<Double> Rotation { get; set; } #JsonPropertyName("rotation") JsonIgnore(Condition = 3)For circular charts (pie/doughnut): starting angle in radians.
public Nullable<Double> Circumference { get; set; } #JsonPropertyName("circumference") JsonIgnore(Condition = 3)For circular charts (pie/doughnut): sweep angle in radians.
public Object Cutout { get; set; } #JsonPropertyName("cutout") JsonIgnore(Condition = 3)For doughnut charts: the cutout size (e.g., "70%" or a pixel number).
public Dictionary<String, Object> ExtensionData { get; set; } #JsonExtensionDataGets or sets additional properties for extensibility.