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