I'm trying to add a series to a custom drawing tool
like on state change
:
..
else if (State == State.Active)
{
// Series1 = new Series<double>(GetAttachedToChartBars().Bars, MaximumBarsLookBack.Infinite); // nope, didn't work
// Series1 = new Series<double>(this, MaximumBarsLookBack.Infinite); // nope , didn't work
Series1 = new Series<double>(xxx, MaximumBarsLookBack.Infinite); // what to use or totally different approach needed?
}​
..
so what to add to that xxx to get it attached to the bars data ?
Somehow stuck now...
Comment