GraphDefault - property of object tvTrend

Returns basic object of tvGraph type.
GraphDefault As Object
Set o = oTrend.GraphDefault
Property access for read only.

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.

See also:
Setting the Color property (color of the trend line) in the basic object of the tvGraph type.
JavaScriptVBScriptSelect and copy to clipboard

var oGraph = oTrend.GraphDefault;
oGraph.Color = "#00ff00";  //color setting by RGB String
PROMOTIC 8.3.30 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