Interface MetricChartBlockProps

Hierarchy

  • MetricChartBlockProps

Properties

height?: number

Height of the chart block.

metrics: (string | Metric)[]

Metrics to display for tabs and charts.

region: Region

Region to display metrics for.

renderChartFooter?: ((metric: Metric) => ReactNode)

Type declaration

    • (metric: Metric): ReactNode
    • Function that returns footer content (e.g. explanatory text, share buttons, etc.) to be displayed under the chart for a given metric.

      Returns

      Footer content to render.

      Parameters

      • metric: Metric

        Metric for which to render footer content.

      Returns ReactNode

Generated using TypeDoc