withForecast()
Home > @gooddata/sdk-backend-spi > IDataView > withForecast
IDataView.withForecast() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Adds forecast for this data view.
Signature:
withForecast(config?: IForecastConfig, result?: IForecastResult): IDataView;
Parameters
Parameter | Type | Description |
---|---|---|
config | IForecastConfig | (Optional) forecast configuration |
result | IForecastResult | (Optional) forecast result |
Returns:
new data view with forecasting enabled