The object represents (horizontal or vertical) lines that forms a grid. The viewer contains two objects of the tvGrid type. One represents vertical grid lines of the time axis and is accessible by the TrendsView.GridTime property. The other represents horizontal grid lines of the value axis and is accessible by the TrendsView.GridValue property. The number of grid lines and their layout owing to the values is defined in the tvTicks object that is owned by the tvGrid object and is accessible by the tvGrid.Ticks property.
Right, or left time of the time scale are defined by the TrendsView.TimeMax and TrendsView.TimeMin properties. Maximum, or minimum value of the value scale are represented by the tvTrend.ValueMax and tvTrend.ValueMin properties of the active tvTrend object, see TrendsView.TrendActive.
The object is used only if the graph mode is set.
Dim oGridTime, oGridValue
oGridTime.Visible = true
oGridTime.LineType = 2
oGridValue.Visible = true
oGridValue.LineType = 3