setTrendByName ()
Set a trend configuration to a view by using its trend name.
Synopsis
synchronized public int setTrendByName(const string &sTrendName, const
                    int &iTrendType, dyn_string dsDollarCurves = makeDynString())
Parameters
| Parameter | Description | 
|---|---|
| sTrendName | Name of a trend | 
| iTrendType | Trend type to be displayed | 
| dsDollarCurves | Array of curve DPs when a trend uses dollar parameter curves | 
Return value
-
Errors
0 when OK, -1 when error.
Description
Set a trend configuration to VarTrendView panel.
Assignment
VarTrend
