Show contents 

Express > Express Assembly Interfaces > IEaxChart > IEaxChart.SingleCellRangeMode

IEaxChart.SingleCellRangeMode

Syntax

SingleCellRangeMode: EaxChartSingleCellRangeMode;

Description

The SingleCellRangeMode property determines method used to plot a chart when a single cell is selected.

Comments

This property is taken into account if the IEaxDataAreaSliceProperties.UseGridSelection is set to True.

Example

Executing the example requires a form, a button named Button1 on the form, the  UiErAnalyzer component named UiErAnalyzer1, used as a data source for the components  ChartBox and TabSheetBox components.

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 the example, if a single cell is selected the chart is plotted based on the row containing this cell.

See also:

IEaxChart