protected override void Initialize()
{
plot_history = new DataSeries[2];
for( i=0; i<25; i++ )
{
Add( new Plot( short_up_color, PlotStyle.Line, "Plot" + i.ToString() ) );
plot_history[i] = new DataSeries( this );
}
}
protected override void OnBarUpdate()
{
This is not possible, but I would like to do something like this:
for( i=0; i<25; i++) Plots[i].Set( special( i, x++ ) );
I currently have to do this:
Plot0.Set( plot_history[0] );
Plot1.Set( plot_history[1] );
Plot2.Set( plot_history[2] );
* * *
Plot2.Set( plot_history[24] );
}
Comment