Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GraphDefault - property of object tvTrend

Description:

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.

Syntax:
GraphDefault As Object
Calling:
Set o = oTrend.GraphDefault
Note:
Property access for read only.
See also:
Example:
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
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice