DisplayHidden: Boolean;
The DisplayHidden property determines whether hidden columns and rows are to be shown on a chart.
If the property is set to True, the chart shows all the values available in the data table, if the property is set to False, hidden rows and columns are excluded from the chart plot area, as well as the rows and columns with zero height or width.
See below the table with a hidden row:
Below are examples of a chart for this table with the DisplayHidden property set to True (left) and to False (right):
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 TabSheetBox and ChartBox.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
ErAnalyzer: IEaxAnalyzer;
Chart: IEaxChart;
TabSheet: ITabSheet;
TabRange: ITabRange;
Begin
ErAnalyzer := UiErAnalyzer1.ErAnalyzer;
TabSheet := ErAnalyzer.Grid.TabSheet;
TabRange := TabSheet.Row(2);
TabRange.Hidden := TriState.OnOption;
Chart := ErAnalyzer.Chart;
Chart.DisplayHidden := False;
End Sub Button1OnClick;
After executing the example third row of the table is hidden. The chart based on this table will not show hidden rows.
See also: