Alpsolut Widgets Docs
LWCIndexWind
Widget code:ALPSCH06
Provides LWCIndex chart and Wind chart both synchronized.
Example
Parameters
The Alpsolut API token.
The ID of the station to get the data from. This should be a unique identifier for the station.
The start date for the data retrieval in ISO 8601 format (e.g., 2022-11-07T01:00:00.000). This specifies the beginning of the time range for the data query.
The end date for the data retrieval in ISO 8601 format (e.g., 2022-11-07T01:00:00.000). This specifies the end of the time range for the data query.
This field specifies the direction the slope faces. This can either be NORTH, EAST, SOUTH, WEST, MAIN. Default to 'MAIN'.
The aggregation period for the data. This can be either 'DAY' or 'HOUR'.
The forecast model to predict future data. Defaults to 'auto'.
The timezone used to display the data in the chart.
Widget integration
Using the alpsolut widget plugin you will have the iframe sizing correctly handled:
Or you can manually add the widget with the iframe and handle the styling and sizing yourself: