PDA

View Full Version : ChartControl...


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;
}

NinjaTrader_Ray
10-07-2007, 12:04 PM
Unfortunately the ChartControl object is outside what we can provide technical support for at this time.

funk101
10-07-2007, 12:13 PM
What a shame. Not asking for support, just a tiny link to send me on my way, oh well...