SingleCellRangeMode: EaxChartSingleCellRangeMode;
SingleCellRangeMode: Prognoz.Platform.Interop.Express.EaxChartSingleCellRangeMode;
The SingleCellRangeMode property determines method of plotting a chart when a single cell is created. This property is considered if the IEaxAnalyzerCore.UseGridSelection property (creating a chart based on a selected data table area) 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 this example, if a single cell is selected the chart is plotted based on the row containing this cell.
Executing the example requires a form with a button with the Button1 identifier on the form, the UiErAnalyzerNet component with the UiErAnalyzer1 identifier that is a data source for the ChartBoxNet and TabSheetBoxNet components.
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: