New to Telerik UI for Blazor? Start a free 30-day trial

Base visualization configuration produced by the AI. Use the typed subclasses GridComponentConfig and ChartComponentConfig to access component-specific settings. Downcast via ComponentType.

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
[JsonPolymorphic(TypeDiscriminatorPropertyName = "ComponentType")]
[JsonDerivedType(typeof(GridComponentConfig), "Grid")]
[JsonDerivedType(typeof(ChartComponentConfig), "Chart")]
[JsonDerivedType(typeof(LinearGaugeComponentConfig), "LinearGauge")]
[JsonDerivedType(typeof(RadialGaugeComponentConfig), "RadialGauge")]
[JsonDerivedType(typeof(ArcGaugeComponentConfig), "ArcGauge")]
[JsonDerivedType(typeof(CircularGaugeComponentConfig), "CircularGauge")]
public abstract class ComponentConfig

Inheritance: objectComponentConfig

Derived Classes: ArcGaugeComponentConfigChartComponentConfigCircularGaugeComponentConfigGridComponentConfigLinearGaugeComponentConfigRadialGaugeComponentConfig...

Constructors

C#
protected ComponentConfig()

Properties

The component type to render.

C#
[JsonIgnore]
public abstract ComponentType ComponentType { get; }

Key of the dataset this config was generated from. Only populated by the combined dataset+component selection pipeline (IDatAInsightsComposerAIService.GenerateComponentsAsync).

C#
[JsonIgnore]
public string? DatasetId { get; set; }

AI-generated description based on the prompt.

C#
public string? Description { get; set; }

AI-generated human-readable title.

C#
public string? Title { get; set; }