
# IChartCollection interface

*No description yet.*

```csharp
public interface IChartCollection
```

**Namespace:** SCH · **Assembly:** Altium.SDK.Interfaces

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [ActiveChart](#activechart) | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) | get; set |  |
| [ActiveChartIndex](#activechartindex) | `int` | get; set |  |
| [ActiveChartName](#activechartname) | `string` | get |  |
| [Chart](#chart) | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) | get |  |
| [ChartByName](#chartbyname) | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) | get |  |
| [ChartCount](#chartcount) | `int` | get |  |
| [ChartIndexByChart](#chartindexbychart) | `int` | get |  |
| [ChartIndexByName](#chartindexbyname) | `int` | get |  |
| [FileName](#filename) | `string` | get |  |
| [FilteredWavesBlend](#filteredwavesblend) | `int` | get; set |  |
| [FullyLoaded](#fullyloaded) | `bool` | get; set |  |
| [GraphicalView](#graphicalview) | [ISDFGraphicalView](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISDFGraphicalView.md) | get |  |
| [Modified](#modified) | `bool` | get; set |  |
| [ProcessForStopSimulator](#processforstopsimulator) | `string` | get; set |  |
| [RestoreSetup](#restoresetup) | `bool` | get; set |  |
| [ServerWindow](#serverwindow) | [ISDFDocument](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISDFDocument.md) | get |  |
| [SetupFileName](#setupfilename) | `string` | get |  |
| [SetupFileWritten](#setupfilewritten) | `bool` | get |  |
| [TotalPointCount](#totalpointcount) | `int` | get |  |
| [ViewManager](#viewmanager) | [IViewManager](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IViewManager.md) | get |  |

### ActiveChart

*No description yet.*

```csharp
IChart GetProperty_ActiveChart();
void SetProperty_ActiveChart(IChart argValue);
```

**Type:** [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) · **Access:** read/write

The accessors are extension methods of `IChartCollectionHelper` (`using SCH;`).

### ActiveChartIndex

*No description yet.*

```csharp
int GetProperty_ActiveChartIndex();
void SetProperty_ActiveChartIndex(int argValue);
```

**Type:** `int` · **Access:** read/write

### ActiveChartName

*No description yet.*

```csharp
string GetProperty_ActiveChartName();
```

**Type:** `string` · **Access:** read-only

### Chart

*No description yet.*

```csharp
IChart GetProperty_Chart(int argIndex);
```

**Type:** [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) · **Access:** read-only · **Index:** `argIndex` (`int`)

The accessors are extension methods of `IChartCollectionHelper` (`using SCH;`).

### ChartByName

*No description yet.*

```csharp
IChart GetProperty_ChartByName(string argName);
```

**Type:** [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) · **Access:** read-only · **Index:** `argName` (`string`)

The accessors are extension methods of `IChartCollectionHelper` (`using SCH;`).

### ChartCount

*No description yet.*

```csharp
int GetProperty_ChartCount();
```

**Type:** `int` · **Access:** read-only

### ChartIndexByChart

*No description yet.*

```csharp
int GetProperty_ChartIndexByChart(IChart argChart);
```

**Type:** `int` · **Access:** read-only · **Index:** `argChart` ([IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md))

The accessors are extension methods of `IChartCollectionHelper` (`using SCH;`).

### ChartIndexByName

*No description yet.*

```csharp
int GetProperty_ChartIndexByName(string argName);
```

**Type:** `int` · **Access:** read-only · **Index:** `argName` (`string`)

### FileName

*No description yet.*

```csharp
string GetProperty_FileName();
```

**Type:** `string` · **Access:** read-only

### FilteredWavesBlend

*No description yet.*

```csharp
int GetProperty_FilteredWavesBlend();
void SetProperty_FilteredWavesBlend(int argValue);
```

**Type:** `int` · **Access:** read/write

### FullyLoaded

*No description yet.*

```csharp
bool GetProperty_FullyLoaded();
void SetProperty_FullyLoaded(bool argValue);
```

**Type:** `bool` · **Access:** read/write

### GraphicalView

*No description yet.*

```csharp
ISDFGraphicalView GetProperty_GraphicalView();
```

**Type:** [ISDFGraphicalView](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISDFGraphicalView.md) · **Access:** read-only

The accessors are extension methods of `IChartCollectionHelper` (`using SCH;`).

### Modified

*No description yet.*

```csharp
bool GetProperty_Modified();
void SetProperty_Modified(bool argValue);
```

**Type:** `bool` · **Access:** read/write

### ProcessForStopSimulator

*No description yet.*

```csharp
string GetProcessForStopSimulator();
void SetProcessForStopSimulator(string argProcess);
```

**Type:** `string` · **Access:** read/write

### RestoreSetup

*No description yet.*

```csharp
bool GetProperty_RestoreSetup();
void SetProperty_RestoreSetup(bool argValue);
```

**Type:** `bool` · **Access:** read/write

### ServerWindow

*No description yet.*

```csharp
ISDFDocument GetProperty_ServerWindow();
```

**Type:** [ISDFDocument](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISDFDocument.md) · **Access:** read-only

The accessors are extension methods of `IChartCollectionHelper` (`using SCH;`).

### SetupFileName

*No description yet.*

```csharp
string GetProperty_SetupFileName();
```

**Type:** `string` · **Access:** read-only

### SetupFileWritten

*No description yet.*

```csharp
bool GetProperty_SetupFileWritten();
```

**Type:** `bool` · **Access:** read-only

### TotalPointCount

*No description yet.*

```csharp
int GetProperty_TotalPointCount();
```

**Type:** `int` · **Access:** read-only

### ViewManager

*No description yet.*

```csharp
IViewManager GetProperty_ViewManager();
```

**Type:** [IViewManager](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IViewManager.md) · **Access:** read-only

The accessors are extension methods of `IChartCollectionHelper` (`using SCH;`).

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddChart](#addchart) | `int` |  |
| [AddDataPointToChart](#adddatapointtochart) | `void` |  |
| [ChartFFT_Create](#chartfft_create) | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) |  |
| [ClearCharts](#clearcharts) | `void` |  |
| [CreateNewChart](#createnewchart) | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) |  |
| [Delete_ChartSetups](#delete_chartsetups) | `void` |  |
| [DeleteChart](#deletechart) | `void` |  |
| [InsertChart](#insertchart) | `void` |  |
| [MoveChart](#movechart) | `bool` |  |
| [NewChart](#newchart) | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) |  |
| [Save_ChartSetups](#save_chartsetups) | `void` |  |
| [SetActiveChartByName](#setactivechartbyname) | `void` |  |
| [SV_ChartHeightInMils](#sv_chartheightinmils) | `int` |  |
| [SV_ChartHeightInPixels](#sv_chartheightinpixels) | `int` |  |
| [SV_ChartWidthInMils](#sv_chartwidthinmils) | `int` |  |
| [SV_ChartWidthInPixels](#sv_chartwidthinpixels) | `int` |  |
| [SV_CreateChart](#sv_createchart) | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) |  |
| [SV_CreateFFT](#sv_createfft) | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) |  |
| [SV_DataComplete](#sv_datacomplete) | `void` |  |
| [SV_FlushWindow](#sv_flushwindow) | `void` |  |
| [SV_ReDrawToDC](#sv_redrawtodc) | `void` |  |
| [UpdateAllCharts](#updateallcharts) | `void` |  |

### AddChart

*No description yet.*

```csharp
int AddChart(IChart argChart);
int AddChart(object argChart);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChart` | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) | value |

**Returns:** `int`

The first overload is an extension method of `IChartCollectionHelper` (`using SCH;`) with typed parameters; the second is declared by the interface.

### AddDataPointToChart

*No description yet.*

```csharp
void AddDataPointToChart(IChart argChart, ISourceWave argWave, double argRealX, double argnImaginaryX, double argRealY, double argnImaginaryY);
void AddDataPointToChart(object argChart, object argWave, double argRealX, double argnImaginaryX, double argRealY, double argnImaginaryY);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChart` | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) | value |
| `argWave` | [ISourceWave](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISourceWave.md) | value |
| `argRealX` | `double` | value |
| `argnImaginaryX` | `double` | value |
| `argRealY` | `double` | value |
| `argnImaginaryY` | `double` | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IChartCollectionHelper` (`using SCH;`) with typed parameters; the second is declared by the interface.

### ChartFFT_Create

*No description yet.*

```csharp
IChart ChartFFT_Create(IChart argChart);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChart` | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) | value |

**Returns:** [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md)

Extension method of `IChartCollectionHelper` (`using SCH;`).

### ClearCharts

*No description yet.*

```csharp
void ClearCharts();
```

**Returns:** nothing (`void`)

### CreateNewChart

*No description yet.*

```csharp
IChart CreateNewChart(string argChartName, string argChartTitle, string argnXUnitStr, string argnXAxisLabel, bool argComplexFlag, TScaleMode argScaleMode, TSimViewChartType argChartType, TChartView argView, int argChartIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChartName` | `string` | value |
| `argChartTitle` | `string` | value |
| `argnXUnitStr` | `string` | value |
| `argnXAxisLabel` | `string` | value |
| `argComplexFlag` | `bool` | value |
| `argScaleMode` | [TScaleMode](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/TScaleMode.md) | value |
| `argChartType` | [TSimViewChartType](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/TSimViewChartType.md) | value |
| `argView` | [TChartView](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/TChartView.md) | value |
| `argChartIndex` | `int` | value |

**Returns:** [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md)

Extension method of `IChartCollectionHelper` (`using SCH;`).

### Delete_ChartSetups

*No description yet.*

```csharp
void Delete_ChartSetups(string argFileName);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argFileName` | `string` | value |

**Returns:** nothing (`void`)

### DeleteChart

*No description yet.*

```csharp
void DeleteChart(int argChartIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChartIndex` | `int` | value |

**Returns:** nothing (`void`)

### InsertChart

*No description yet.*

```csharp
void InsertChart(int argChartIndex, IChart argChart);
void InsertChart(int argChartIndex, object argChart);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChartIndex` | `int` | value |
| `argChart` | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IChartCollectionHelper` (`using SCH;`) with typed parameters; the second is declared by the interface.

### MoveChart

*No description yet.*

```csharp
bool MoveChart(int argCharts, int argToIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCharts` | `int` | value |
| `argToIndex` | `int` | value |

**Returns:** `bool`

### NewChart

*No description yet.*

```csharp
IChart NewChart(string argChartName);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChartName` | `string` | value |

**Returns:** [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md)

Extension method of `IChartCollectionHelper` (`using SCH;`).

### Save_ChartSetups

*No description yet.*

```csharp
void Save_ChartSetups();
```

**Returns:** nothing (`void`)

### SetActiveChartByName

*No description yet.*

```csharp
void SetActiveChartByName(string argName);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argName` | `string` | value |

**Returns:** nothing (`void`)

### SV_ChartHeightInMils

*No description yet.*

```csharp
int SV_ChartHeightInMils();
```

**Returns:** `int`

### SV_ChartHeightInPixels

*No description yet.*

```csharp
int SV_ChartHeightInPixels();
```

**Returns:** `int`

### SV_ChartWidthInMils

*No description yet.*

```csharp
int SV_ChartWidthInMils();
```

**Returns:** `int`

### SV_ChartWidthInPixels

*No description yet.*

```csharp
int SV_ChartWidthInPixels();
```

**Returns:** `int`

### SV_CreateChart

*No description yet.*

```csharp
IChart SV_CreateChart(string argChartName, TSimViewChartType argChartType, int argVisiblePlotCount, bool argRestoreSetupFlag);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChartName` | `string` | value |
| `argChartType` | [TSimViewChartType](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/TSimViewChartType.md) | value |
| `argVisiblePlotCount` | `int` | value |
| `argRestoreSetupFlag` | `bool` | value |

**Returns:** [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md)

Extension method of `IChartCollectionHelper` (`using SCH;`).

### SV_CreateFFT

*No description yet.*

```csharp
IChart SV_CreateFFT(IChart argChart);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChart` | [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md) | value |

**Returns:** [IChart](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md)

Extension method of `IChartCollectionHelper` (`using SCH;`).

### SV_DataComplete

*No description yet.*

```csharp
void SV_DataComplete(bool argInitialiseXY, string argTabNameString);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argInitialiseXY` | `bool` | value |
| `argTabNameString` | `string` | value |

**Returns:** nothing (`void`)

### SV_FlushWindow

*No description yet.*

```csharp
void SV_FlushWindow(bool argRestoreSetupFlag);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argRestoreSetupFlag` | `bool` | value |

**Returns:** nothing (`void`)

### SV_ReDrawToDC

*No description yet.*

```csharp
void SV_ReDrawToDC(uint argDC);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argDC` | `uint` | value |

**Returns:** nothing (`void`)

### UpdateAllCharts

*No description yet.*

```csharp
void UpdateAllCharts();
```

**Returns:** nothing (`void`)

## Returned by

[IChart.Parent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IChart.md#parent), [ISDFDocument.ChartCollection](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISDFDocument.md#chartcollection), [ISDFGraphicalView.Charts](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISDFGraphicalView.md#charts), [ISimViewDocument.ChartCollection](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISimViewDocument.md#chartcollection)
