GraphDefault - property of object tvTrend


The property returns the basic object of the tvGraph type. This object exists always in the tvTrend object (i.e. it is created on the creation of the tvTrend object). If no other object of the tvGraph type is constructed, for example, by the AddGraph function or the validity function of these constructed objects is not fulfilled, then the trend is drawn by this default object.

Directly after the creation of this object, the properties from the TrendsView.GraphInit object are copied into the GraphDefault object, thus it is possible to affect the appearance of newly created tvTrend objects simply by setting in the GraphInit. By the consecutive writing into properties of the GraphDefault object it is possible to change the draw mode anytime.

For the description of the draw mode of the trend variable see tvTrend and tvGraph.

GraphDefault As Object
Set o = oTrend.GraphDefault
Property access for read only.
See also:
Setting the Color property (color of the trend line) in the basic object of the tvGraph type.
Dim oGraph
Set oGraph = oTrend.GraphDefault
oGraph.Color = "#00ff00" 'color setting by RGB String
PROMOTIC 8.3.19 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice