SingleCellRangeMode: EaxChartSingleCellRangeMode;
The SingleCellRangeMode property determines method used to plot a chart when a single cell is selected.
This property is taken into account if the IEaxDataAreaSliceProperties.UseGridSelection is set to True.
Executing the example requires a form with a button with the Button1 identifier on the form, the UiErAnalyzer component with the UiErAnalyzer1 identifier that is a data source for the 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: