Inheritance diagram for NPlot::DateTimeAxis:
Public Member Functions | |
override object | Clone () |
Deep copy of DateTimeAxis. | |
DateTimeAxis (Axis a) | |
Constructor. | |
DateTimeAxis () | |
Default Constructor. | |
DateTimeAxis (double worldMin, double worldMax) | |
Constructor. | |
DateTimeAxis (long worldMin, long worldMax) | |
Constructor. | |
DateTimeAxis (DateTime worldMin, DateTime worldMax) | |
Constructor. | |
Protected Member Functions | |
override void | DrawTicks (Graphics g, Point physicalMin, Point physicalMax, out object labelOffset, out object boundingBox) |
Draw the ticks. | |
Static Protected Member Functions | |
static void | DoClone (DateTimeAxis b, DateTimeAxis a) |
Helper method for Clone. | |
Properties | |
TimeSpan | LargeTickStep |
The distance between large ticks. | |
TimeSpan | largeTickStep_ = TimeSpan.Zero |
Private Types | |
enum | LargeTickLabelType { none = 0, year = 1, month = 2, day = 3, hourMinute = 4, hourMinuteSeconds = 5 } |
Private Member Functions | |
void | Init () |
Helper function for constructors. | |
internal override void | WorldTickPositions_FirstPass (Point physicalMin, Point physicalMax, out ArrayList largeTickPositions, out ArrayList smallTickPositions) |
Determines the positions, in world coordinates, of the large ticks. | |
internal override void | WorldTickPositions_SecondPass (Point physicalMin, Point physicalMax, ArrayList largeTickPositions, ref ArrayList smallTickPositions) |
Compute the small tick positions for largetick size of one or more years. | |
Private Attributes | |
LargeTickLabelType | LargeTickLabelType_ |
Definition at line 67 of file DateTimeAxis.cs.
|
Definition at line 270 of file DateTimeAxis.cs. |
|
Constructor.
Definition at line 109 of file DateTimeAxis.cs. |
|
Default Constructor.
Definition at line 120 of file DateTimeAxis.cs. Referenced by Clone(). |
|
Constructor.
Definition at line 132 of file DateTimeAxis.cs. |
|
Constructor.
Definition at line 144 of file DateTimeAxis.cs. |
|
Constructor.
Definition at line 156 of file DateTimeAxis.cs. |
|
Deep copy of DateTimeAxis.
Reimplemented from NPlot::Axis. Definition at line 76 of file DateTimeAxis.cs. References DateTimeAxis(). |
|
Helper method for Clone.
Definition at line 94 of file DateTimeAxis.cs. |
|
Draw the ticks.
Reimplemented from NPlot::Axis. Definition at line 171 of file DateTimeAxis.cs. |
|
Helper function for constructors. Do initialization here so that Clear() method is handled properly Reimplemented from NPlot::Axis. Definition at line 100 of file DateTimeAxis.cs. |
|
Determines the positions, in world coordinates, of the large ticks. No small tick marks are currently calculated by this method.
Reimplemented from NPlot::Axis. Definition at line 293 of file DateTimeAxis.cs. |
|
Compute the small tick positions for largetick size of one or more years.
Reimplemented from NPlot::Axis. Definition at line 611 of file DateTimeAxis.cs. |
|
Definition at line 282 of file DateTimeAxis.cs. |
|
The distance between large ticks. If this is set to Zero [default], this distance will be calculated automatically. Definition at line 647 of file DateTimeAxis.cs. |
|
Definition at line 657 of file DateTimeAxis.cs. |