dateFormat | String | DD-MM-YYYY | Date format of date input fields. Check this page for possible codes. |
fromText | String | From: | Text displayed next to "from" date input field. |
hideOutOfScopePeriods | Boolean | true | Specifies if period buttons with date range bigger than available data should be hidden. |
inputFieldsEnabled | Boolean | true | Specifies whether period selector displays "from" and "to" date input fields. |
inputFieldWidth | Number | 100 | Width of date input fields, in pixels. Works only if period selector is horizontal. |
periods | Array | | Array of predefined period objects. Period object has 4 properties - period, count, label and selected. Possible period values are: "ss" - seconds, "mm" - minutes, "hh" - hours, "DD" - days, "MM" - months and "YYYY" - years. property "count" specifies how many periods this button will select. "label" will be displayed on a button and "selected" is a boolean which specifies if this button is selected when chart is initialized or not. Example: {period:"DD", count:10, label:"10 days", selected:false}. |
periodsText | String | Zoom: | Text displayed next to predefined period buttons. |
position | String | bottom | Possible values: "right", "left", "top", "bottom". |
selectFromStart | Boolean | false | Specifies whether predefined period buttons should select a period from the beginning or the end of the data. |
toText | String | To: | Text displayed next to "to" date input field. |
width | Number | 180 | Width of a period selector, when position is "left" or "right". |