Type Alias: MetricProps
MetricProps:
ComponentProps&object
Defines the additional properties for an AnalyticsMetric component.
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).
optionalborderRadius:string
The border radius for the metric component.
optionalcomparison:ComparisonType
The time comparison type of the metric.
optionalisSubmetric:boolean
Indicates whether the metric is a submetric (true) or not (false). Default is false.
optionallayout:MetricLayoutAttributes
The layout attributes of the metric visualization.
optionalrange:MetricTimeRange
The time range for the metric data.