Archimedes Spiral

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

Syntax

C#
[SerializableAttribute]
public class ChartArchimedesSpiral : ChartSpiralObjectBase
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class ChartArchimedesSpiral _
	Inherits ChartSpiralObjectBase
Visual C++
[SerializableAttribute]
public ref class ChartArchimedesSpiral : public ChartSpiralObjectBase

Remarks

This Archimedes spiral is distinguished from the logarithmic spiral by the fact that successive turnings of the spiral have a constant separation distance, while in a logarithmic spiral these distances form a geometric progression.

Examples

Create an Archimedes spiral programmatically (C#)
CopyC#
// Setup our X coordinates.
DateTime startDate = DateTime.Now;
DateTime lastWeek = startDate.AddDays(-7);

// Create the Archimedes Spiral object
ChartArchimedesSpiral spiral = new ChartArchimedesSpiral(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