
## MilestoneHelper class

MilestoneHelper to set property of milestone shape.

## Constructors

| Name | Description |
| --- | --- |
| [MilestoneHelper](#constructor) |  |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [MilestoneDate](#milestonedate) | DateTime | Milestone date |
| [IsAutoUpdate](#isautoupdate) | boolean | whether to update data for markers (milestones, intervals) as they are moved on timeline |
| [Type](#type) | int | Type of shape |
| [DateFormat](#dateformat) | int | DateFormat of shape Value Format String 0 dddd, yyyy-M-d 1 yyyy-MM-dd 2 yy-MMM-d 3 yyyy/M/d 4 yy-MMM.-d 5 d MMMM yyyy 6  |
| [DateFormatString](#dateformatstring) | String | DateFormat string of shape |

## Methods

| Name | Description |
| --- | --- |
| [refreshMilestone](#refreshmilestone) | Refresh milestone |

### MilestoneHelper(shape) {#constructor}

### MilestoneHelper.MilestoneDate property {#milestonedate}

Milestone date

**Type:** DateTime

### MilestoneHelper.IsAutoUpdate property {#isautoupdate}

whether to update data for markers (milestones, intervals) as they are moved on timeline

**Type:** boolean

### MilestoneHelper.Type property {#type}

Type of shape

**Type:** int

### MilestoneHelper.DateFormat property {#dateformat}

DateFormat of shape Value Format String 0 dddd, yyyy-M-d 1 yyyy-MM-dd 2 yy-MMM-d 3 yyyy/M/d 4 yy-MMM.-d 5 d MMMM yyyy 6 yy-M 7 MMM-yy 8 MMMM d, yyyy 9 MMM d, yyyy 10 M-d-yy 11 M-d 12 d MMMM, yyyy 13 d MMM, yyyy 14 d-M-yy 15 d-M 16 yy-M-d 17 yyyy-M-d 18 M-yy 19 M-yyyy 20 MMMM yyyy 21 MMMM yy 22 MMM yyyy 23 MMM yy 24 yy 25 yyyy 26 d 27 MMMM 28 MMM 29 M 30 MM/dd/yyyy

**Type:** int

### MilestoneHelper.DateFormatString property {#dateformatstring}

DateFormat string of shape

**Type:** String

### refreshMilestone(timeline) {#refreshmilestone}

Refresh milestone
