Function useConfig

  • Get the chart's config.

    Must be used within a ChartContext.

    Provided type parameter is not checked - in future it could probably be inferred from the chart type.

    Type Parameters

    • T

    Returns T & BaseConfig