Logarithmic Spiral
Namespace:
RightEdge.Common.ChartObjectsAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class ChartLogarithmicSpiral : ChartSpiralObjectBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartLogarithmicSpiral _ Inherits ChartSpiralObjectBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartLogarithmicSpiral : public ChartSpiralObjectBase |
Remarks
The logarithmic spiral, also known as the growth spiral,
was first studied by Descartes in 1638 and Jakob Bernoulli.
This spiral often appears in nature. Probably the most
important aspect of the logarithmic spiral is that
if we increase the angle ø by equal amounts, the distance
r from the poles increases in equal ratios.
Examples
Create a Logarithmic spiral programmatically (C#)
CopyC#
// Setup our X coordinates. DateTime startDate = DateTime.Now; DateTime lastWeek = startDate.AddDays(-7); // Create the Logarithmic Spiral object ChartLogarithmicSpiral spiral = new ChartLogarithmicSpiral(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..::.ChartLogarithmicSpiral
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartSpiralObjectBase
RightEdge.Common.ChartObjects..::.ChartLogarithmicSpiral