Archimedes Spiral

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

Syntax

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

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#)
 Copy imageCopy
// 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