By this object the drawing isn't performed, this object serves only for setting the values. On each calling the AddTrend, InsertTrend methods (or on the creation of a new tvTrend object in the runtime mode of the PROMOTIC on the edit pages of the trend viewer), i.e. that on the creation of a new object of the tvTrend type copying all properties of the GraphInit object into the tvTrend.GraphDefault object is performed, which results in the fact that if no other changes of the tvTrend.GraphDefault object properties are made, then all such newly created tvTrend objects are graphical drawn according to setting the objects that were copied from the GraphInit objects.
If the property in the tvTrend.GraphDefault object is changed consequentially, then this change ISN'T backward copied into the GraphInit.
var oTView = pMe.Items("../TrendView");
var oGraphInit = oTView.GraphInit;
oGraphInit.Color = "#00ff00"; //color setting by RGB String in the form "#RRGGBB"