funk101
10-07-2007, 11:52 AM
// where do I put the ChartControl.LabelFormatMinute? I think it should go in initialize() cause I want it set once, but if I do so, the plot() doesn't show up. If I put it in OnBarUpdate() it get's called every time? don't really need to do this, but works *when* I do so, any suggestions?
protected override void Initialize()
{
ChartControl.LabelFormatMinute = "M/dd";
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
CalculateOnBarClose = false;
Overlay = true;
PriceTypeSupported = false;
}
protected override void Initialize()
{
ChartControl.LabelFormatMinute = "M/dd";
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
CalculateOnBarClose = false;
Overlay = true;
PriceTypeSupported = false;
}