Type Alias: MetricProps

MetricProps: ComponentProps & object

Defines the additional properties for an AnalyticsMetric component.

Multi-org Note: In multi-org scenarios, always specify the orgUrl property to indicate which org the metric exists in. The orgUrl must be a Lightning URL (e.g., https://yourorg.lightning.force.com).

Type declaration 

borderRadius? 

optional borderRadius: string

The border radius for the metric component.

comparison? 

optional comparison: ComparisonType

The time comparison type of the metric.

layout? 

optional layout: MetricLayoutAttributes

The layout attributes of the metric visualization.

range? 

optional range: MetricTimeRange

The time range for the metric data.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!