PDA

View Full Version : Changing the chart X axis...


funk101
05-31-2007, 02:29 PM
How can I change the chart's X axis display? I've seen on another NT chart, a display like so:

5/29 5/30 etc.

as opposed to the default time display.

Also, I'm overriding the Plot() method and overlaying indicator. I need to come up with X and Y for graphics.DrawText(). So, Y = (float)Close[0], no problem, but X = Time[0], and I can't cast (float)Time[0]. Is there a solution here, or is it simply not doable to plot X = Time[0]?

NinjaTrader_Dierk
06-01-2007, 02:27 AM
You can not change the x-axis label formatting. The date values you saw came e.g. from daily charts.

funk101
06-01-2007, 03:48 AM
What I'm talking about came from fin-alg's TPO Chart/Market Profile for NT. http://www.fin-alg.com/tpo_help.html . And the picture I sent you is a 1 minute chart. Which, in the link, you will see the instructions telling you to open a 1 minute chart. So, I did a screen capture of the chart on my desktop clearly showing a 1 minute bar chart, and the 5/29 5/30, etc. time display. This is exactly what I am trying to recreate. Could you please explain?

NinjaTrader_Dierk
06-01-2007, 03:51 AM
This is beyond the scope of what we support. Please contact www.fin-alg.com for assistance.

funk101
06-01-2007, 04:02 AM
I'm not asking you to support the chart, I revert back to my original question. There must be a way to change that display. If he did it, then it's possible.
Look, there's stuff that's not documented yet, for instance, "ChartControl"..
ChartControl.LastBarPainted, etc. I stumbled across it while reverse engineering VolumeZones.cs. I can't find any doc's on it. So, I can only *assume* that there are other controls like that, and I'm now getting to the point where I need to know *ALL* that is available to me, and that may include the time display issue. So, please, work with me, and don't fight me with replying "we don't support that". That is not what I'm asking.

NinjaTrader_Dierk
06-01-2007, 04:07 AM
Let me try to explain:

The framework provides much more features than we actually can support. It's just a matter of bandwidth. As we progress on properly supporting the features we already expose, we will add more parts of the framework to the "supported and exposed" stuff. The proper usage of the feature you're asking for was figured out by www.fin-alg.com (http://www.fin-alg.com/) without any (!) support by us (which is in line with our policy).

Thanks for your understanding.

funk101
06-01-2007, 07:48 AM
Where can I *read* about the framework, and what's available to me. Can you at least point me to some link? Anyone?

NinjaTrader_Ray
06-01-2007, 08:09 AM
You can't, that's what we mean when we say its unsupported functionality.