Is there any way to programmatically set the TrendLayer line color?
If its positive I want it green, if negative red
I am struggling to understand how to evaluate the slope using getSlope / at what point I can evaluate it.
I have ( VB code )
Dim trend As TrendLayer = c.addTrendLayer(trendtable.getCol(1), &H72AB32)
Dim TrendSlope As Double = trend.getSlope
If TrendSlope < 0 Then
can i set the color here ??
End If
Or is there some way I can call getSlope before I call addTrendLayer ?
Any help very much appreciated |