# Function toChartWidgetProps
toChartWidgetProps(
widgetModel
):ChartWidgetProps
Translates a WidgetModel to the props for rendering a chart widget.
# Parameters
Parameter | Type |
---|---|
widgetModel | WidgetModel |
# Returns
# Example
<ChartWidget {...widgetModelTranslator.toChartWidgetProps(widgetModel)} />
Note: this method is not supported for pivot widgets.