Lituus Spiral
Namespace:
RightEdge.Common.ChartObjectsAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class ChartLituusSpiral : ChartSpiralObjectBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartLituusSpiral _ Inherits ChartSpiralObjectBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartLituusSpiral : public ChartSpiralObjectBase |
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#)
CopyC#
// 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
System..::.Object
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartSpiralObjectBase
RightEdge.Common.ChartObjects..::.ChartLituusSpiral
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartSpiralObjectBase
RightEdge.Common.ChartObjects..::.ChartLituusSpiral