**Warning**: The script must return a valid Highcharts configuration object!

**Available Bindings** (variables accessible in your script):

| Variable | Type | Description |
|----------|------|-------------|
| `embeddingPage` | `WrappedPage` | The page in which the Highchart widget is embedded |
| `pages` | `Iterable<WrappedPage>` | All pages from the configured data source |
| `messages` | Message Provider | Helper to access localized messages from the embedding page's type definition |

**Additional Allowed Classes**:
- `Search.class` - For creating additional searches
- `Filters.class` - For creating search filters

**Expected Return**: A valid Highcharts configuration object (JSON-compatible). See [Highcharts API](https://api.highcharts.com/highcharts/).

**Example**:
```javascript
var configuration = {
    chart: { type: 'bar' },
    title: { text: 'My Chart' },
    xAxis: { categories: ['A', 'B', 'C'] },
    series: [{
        name: 'Series 1',
        data: [1, 2, 3]
    }]
};
return configuration;
```
