Lituus Spiral

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

Syntax

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

Remarks

According to Robert C. Yates 1952, the Lituus curve is studied by Roger Cotes in 1722. It is named after an ancient Roman trumpet called lituus. The curve is asymptotic to the positive x-axis, and the other end spiral in towards the pole. As theta approachs infinity, the curve approaches the origin.

Examples

Create a Lituus spiral programmatically (C#)
 Copy imageCopy
// Setup our X coordinates.
DateTime startDate = DateTime.Now;
DateTime lastWeek = startDate.AddDays(-7);

// Create the Lituus Spiral object
ChartLituusSpiral spiral = new ChartLituusSpiral(new ChartPoint(startDate, 20.00), new ChartPoint(lastWeek, 25.00));

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

Inheritance Hierarchy

See Also