A line with several equidistant channel lines drawn from the base.

Namespace: RightEdge.Common.ChartObjects
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
[SerializableAttribute]
public class ChartCrossChannel : ChartObjectBase
Visual Basic
<SerializableAttribute>
Public Class ChartCrossChannel
	Inherits ChartObjectBase
Visual C++
[SerializableAttribute]
public ref class ChartCrossChannel : public ChartObjectBase
F#
[<SerializableAttribute>]
type ChartCrossChannel =  
    class
        inherit ChartObjectBase
    end

Remarks

This object is a free form channel that does not take any chart data into consideration. The anchor point (the first point) controls the direction of the channel lines. The second and third points control the width of the channels in relation to one another.

Examples

Create a cross channel object programmatically (C#)
 Copy imageCopy
// Setup our X coordinates.
DateTime anchorPoint = DateTime.Now.AddDays(-14);
DateTime channelPoints = DateTime.Today;

// Create the cross channel object
ChartCrossChannel channel = new ChartCrossChannel(new ChartPoint(anchorPoint, 25.00),
                                                new ChartPoint(channelPoints, 30.00),
                                                new ChartPoint(channelPoints, 20.00));

// Add this object to the chart.  "symbol" would equal the current symbol object in the system.
ChartObjects.Add(symbol, channel);

Inheritance Hierarchy

System..::..Object
  RightEdge.Common.ChartObjects..::..ChartObjectBase
    RightEdge.Common.ChartObjects..::..ChartCrossChannel

See Also