IEaxChart.SingleCellRangeMode

Fore Syntax

SingleCellRangeMode: EaxChartSingleCellRangeMode;

Fore.NET Syntax

SingleCellRangeMode: Prognoz.Platform.Interop.Express.EaxChartSingleCellRangeMode;

Description

The SingleCellRangeMode property determines method of plotting a chart when a single cell is created. This property is considered if the IEaxAnalyzer.UseGridSelection property (creating a chart based on a selected data table area) is set to True.

Fore Example

Executing the example requires a form, a button with the identifier Button1 positioned on this form, the UiErAnalyzer component with the identifier UiErAnalyzer1, used as a data source for the following components: ChartBox and TabSheetBox.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    m_Eax: IEaxAnalyzer;
    Chart: IEaxChart;
Begin
    m_Eax := UiErAnalyzer1.ErAnalyzer;
    m_Eax.UseGridSelection := 
True;
    Chart := m_Eax.Chart;
    Chart.SingleCellRangeMode := EaxChartSingleCellRangeMode.SingleRow;
End Sub Button1OnClick;

After executing this example, if a single cell is selected the chart is plotted based on the row containing this cell.

Fore.NET Example

Executing this example requires a form, a button with the identifier Button1 positioned on this form, the UiErAnalyzerNet component with the identifier UiErAnalyzer1, used as a data source for the following components: ChartBoxNet and TabSheetBoxNet.

Imports Prognoz.Platform.Interop.Express;

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    m_Eax: IEaxAnalyzer;
    Chart: IEaxChart;
Begin
    m_Eax := UiErAnalyzerNet1.ErAnalyzer;
    m_Eax.UseGridSelection := True;
    Chart := m_Eax.Chart;
    Chart.SingleCellRangeMode := EaxChartSingleCellRangeMode.SingleRow;
End Sub;

After executing this example, if a single cell is selected the chart is plotted based on the row containing this cell.

See also:

IEaxChart