DataSeries Description is changed on ChartPane
Author: Shourui
Creation Date: 10/8/2010 12:57 AM
profile picture

Shourui

#1
I declared EuiqtyLine DataSeries's name as "Equity Line", but if I do some operation on the DataSeries in the code as below, the description of EquityLine will be shown as "Equity Line+1000000/1000000*100" on the ChartPane. How can I still get the original description on the ChartPane? Thanks.

QUOTE:

DataSeries EquityLine = new DataSeries(Bars,"Equity Line");
ChartPane equitypane = CreatePane(80, true, true);
EquityLine = (EquityLine +StartingCapital)/StartingCapital*100;
PlotSeries(equitypane ,EquityLine , Color.Blue, LineStyle.Solid,2);
profile picture

Eugene

#2
By explicitly assigning the "Equity Line" string to the DataSeries.Description property of EquityLine. Check out the QuickRef for more details.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).