text: Ext.data.JsonP.Sch_data_TimeAxis({"tagname":"class","name":"Sch.data.TimeAxis","autodetected":{"aliases":true,"alternateClassNames":true,"mixins":true,"requires":true,"uses":true,"members":true,"code_type":true},"files":[{"filename":"TimeAxis.js","href":"TimeAxis.html#Sch-data-TimeAxis"}],"extends":"Ext.data.JsonStore","aliases":{},"alternateClassNames":[],"mixins":[],"requires":["Sch.model.TimeAxisTick","Sch.util.Date"],"uses":[],"members":[{"name":"autoAdjust","tagname":"cfg","owner":"Sch.data.TimeAxis","id":"cfg-autoAdjust","meta":{}},{"name":"continuous","tagname":"cfg","owner":"Sch.data.TimeAxis","id":"cfg-continuous","meta":{}},{"name":"adjustedEnd","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-adjustedEnd","meta":{"private":true}},{"name":"adjustedStart","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-adjustedStart","meta":{"private":true}},{"name":"defaultSpan","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-defaultSpan","meta":{"private":true}},{"name":"increment","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-increment","meta":{"private":true}},{"name":"isConfigured","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-isConfigured","meta":{"private":true}},{"name":"mainUnit","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-mainUnit","meta":{"private":true}},{"name":"mode","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-mode","meta":{}},{"name":"model","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-model","meta":{"private":true}},{"name":"originalContinuous","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-originalContinuous","meta":{"private":true}},{"name":"presetName","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-presetName","meta":{"private":true}},{"name":"resolutionIncrement","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-resolutionIncrement","meta":{"private":true}},{"name":"resolutionUnit","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-resolutionUnit","meta":{"private":true}},{"name":"shiftIncrement","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-shiftIncrement","meta":{"private":true}},{"name":"shiftUnit","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-shiftUnit","meta":{"private":true}},{"name":"unit","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-unit","meta":{"private":true}},{"name":"visibleTickEnd","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-visibleTickEnd","meta":{"private":true}},{"name":"visibleTickStart","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-visibleTickStart","meta":{"private":true}},{"name":"weekStartDay","tagname":"property","owner":"Sch.data.TimeAxis","id":"property-weekStartDay","meta":{"private":true}},{"name":"constructor","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-constructor","meta":{}},{"name":"ceilDate","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-ceilDate","meta":{"private":true}},{"name":"clearFilter","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-clearFilter","meta":{}},{"name":"consumeViewPreset","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-consumeViewPreset","meta":{"private":true}},{"name":"dateInAxis","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-dateInAxis","meta":{}},{"name":"filterBy","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-filterBy","meta":{}},{"name":"floorDate","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-floorDate","meta":{"private":true}},{"name":"forEachAuxInterval","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-forEachAuxInterval","meta":{"protected":true}},{"name":"generateTicks","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-generateTicks","meta":{}},{"name":"getAdjustedDates","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getAdjustedDates","meta":{"private":true}},{"name":"getDateFromTick","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getDateFromTick","meta":{}},{"name":"getEnd","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getEnd","meta":{}},{"name":"getIncrement","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getIncrement","meta":{"private":true}},{"name":"getNext","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getNext","meta":{"private":true}},{"name":"getResolution","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getResolution","meta":{"private":true}},{"name":"getShiftIncrement","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getShiftIncrement","meta":{"private":true}},{"name":"getShiftUnit","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getShiftUnit","meta":{"private":true}},{"name":"getStart","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getStart","meta":{}},{"name":"getTickFromDate","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getTickFromDate","meta":{}},{"name":"getTicks","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getTicks","meta":{}},{"name":"getUnit","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getUnit","meta":{"private":true}},{"name":"getVisibleTickTimeSpan","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-getVisibleTickTimeSpan","meta":{"private":true}},{"name":"isContinuous","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-isContinuous","meta":{}},{"name":"reconfigure","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-reconfigure","meta":{"private":true}},{"name":"roundDate","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-roundDate","meta":{"private":true}},{"name":"setResolution","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-setResolution","meta":{"private":true}},{"name":"setTimeSpan","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-setTimeSpan","meta":{}},{"name":"shift","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-shift","meta":{}},{"name":"shiftNext","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-shiftNext","meta":{}},{"name":"shiftPrevious","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-shiftPrevious","meta":{}},{"name":"timeSpanInAxis","tagname":"method","owner":"Sch.data.TimeAxis","id":"method-timeSpanInAxis","meta":{}},{"name":"beforereconfigure","tagname":"event","owner":"Sch.data.TimeAxis","id":"event-beforereconfigure","meta":{"private":true}},{"name":"endreconfigure","tagname":"event","owner":"Sch.data.TimeAxis","id":"event-endreconfigure","meta":{"private":true}},{"name":"reconfigure","tagname":"event","owner":"Sch.data.TimeAxis","id":"event-reconfigure","meta":{}}],"code_type":"ext_define","id":"class-Sch.data.TimeAxis","short_doc":"A class representing the time axis of the scheduler. ...","component":false,"superclasses":["Ext.data.JsonStore"],"subclasses":[],"mixedInto":[],"parentMixins":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'>Ext.data.JsonStore<div class='subclass '><strong>Sch.data.TimeAxis</strong></div></div><h4>Requires</h4><div class='dependency'>Sch.model.TimeAxisTick</div><div class='dependency'><a href='#!/api/Sch.util.Date' rel='Sch.util.Date' class='docClass'>Sch.util.Date</a></div><h4>Files</h4><div class='dependency'><a href='source/TimeAxis.html#Sch-data-TimeAxis' target='_blank'>TimeAxis.js</a></div></pre><div class='doc-contents'><p>A class representing the time axis of the scheduler. The scheduler timescale is based on the ticks generated by this class.\nThis is a pure \"data\" (model) representation of the time axis and has no UI elements.</p>\n\n<p>The time axis can be <a href=\"#!/api/Sch.data.TimeAxis-cfg-continuous\" rel=\"Sch.data.TimeAxis-cfg-continuous\" class=\"docClass\">continuous</a> or not. In continuos mode, each timespan starts where the previous ended, and in non-continuous mode\n there can be gaps between the ticks.\nA non-continuous time axis can be used when want to filter out certain periods of time (like weekends) from the time axis.</p>\n\n<p>To create a non-continuos time axis you have 2 options. First, you can create a time axis containing only the time spans of interest.\nTo do that, subclass this class and override the <a href=\"#!/api/Sch.data.TimeAxis-method-generateTicks\" rel=\"Sch.data.TimeAxis-method-generateTicks\" class=\"docClass\">generateTicks</a> method. See the <code>noncontinuous-timeaxis</code> example in the Ext Scheduler SDK for guidance.</p>\n\n<p>The other alternative is to call the <a href=\"#!/api/Sch.data.TimeAxis-method-filterBy\" rel=\"Sch.data.TimeAxis-method-filterBy\" class=\"docClass\">filterBy</a> method, passing a function to it which should return <code>false</code> if the time tick should be filtered out.\nCalling the <a href=\"#!/api/Sch.data.TimeAxis-method-clearFilter\" rel=\"Sch.data.TimeAxis-method-clearFilter\" class=\"docClass\">clearFilter</a> method will return you to full time axis.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-autoAdjust' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-cfg-autoAdjust' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-cfg-autoAdjust' class='name expandable'>autoAdjust</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Automatically adjust the timespan when generating ticks with generateTicks according to the viewPreset configuration. ...</div><div class='long'><p>Automatically adjust the timespan when generating ticks with <a href=\"#!/api/Sch.data.TimeAxis-method-generateTicks\" rel=\"Sch.data.TimeAxis-method-generateTicks\" class=\"docClass\">generateTicks</a> according to the <code>viewPreset</code> configuration. Setting this to false\nmay lead to shifting time/date of ticks.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-continuous' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-cfg-continuous' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-cfg-continuous' class='name expandable'>continuous</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Set to false if the timeline is not continuous, e.g. ...</div><div class='long'><p>Set to false if the timeline is not continuous, e.g. the next timespan does not start where the previous ended (for example skipping weekends etc).</p>\n<p>Defaults to: <code>true</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-adjustedEnd' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-adjustedEnd' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-adjustedEnd' class='name expandable'>adjustedEnd</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-adjustedStart' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-adjustedStart' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-adjustedStart' class='name expandable'>adjustedStart</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>in case of autoAdjust : false, the 1st and last ticks can be truncated, containing only part of the normal tick\nthese...</div><div class='long'><p>in case of <code>autoAdjust : false</code>, the 1st and last ticks can be truncated, containing only part of the normal tick\nthese dates will contain adjusted start/end (like if the tick has not been truncated)</p>\n</div></div></div><div id='property-defaultSpan' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-defaultSpan' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-defaultSpan' class='name expandable'>defaultSpan</a> : Number<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>1</code></p></div></div></div><div id='property-increment' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-increment' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-increment' class='name expandable'>increment</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-isConfigured' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-isConfigured' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-isConfigured' class='name expandable'>isConfigured</a> : Boolean<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>false</code></p></div></div></div><div id='property-mainUnit' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-mainUnit' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-mainUnit' class='name expandable'>mainUnit</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-mode' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-mode' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-mode' class='name expandable'>mode</a> : String<span class=\"signature\"></span></div><div class='description'><div class='short'>@cgfg {String} mode This option determines how timeaxis should be rounded. ...</div><div class='long'><p>@cgfg {String} mode This option determines how timeaxis should be rounded.\nWhen we round timeAxis for calendar we want to get minimum number of weeks that comprises desired month.\nOptions: ['plain', 'calendar']</p>\n<p>Defaults to: <code>'plain'</code></p></div></div></div><div id='property-model' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-model' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-model' class='name expandable'>model</a> : String<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>'Sch.model.TimeAxisTick'</code></p></div></div></div><div id='property-originalContinuous' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-originalContinuous' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-originalContinuous' class='name expandable'>originalContinuous</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-presetName' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-presetName' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-presetName' class='name expandable'>presetName</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'><p>name of the current preset</p>\n</div><div class='long'><p>name of the current preset</p>\n</div></div></div><div id='property-resolutionIncrement' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-resolutionIncrement' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-resolutionIncrement' class='name expandable'>resolutionIncrement</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-resolutionUnit' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-resolutionUnit' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-resolutionUnit' class='name expandable'>resolutionUnit</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-shiftIncrement' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-shiftIncrement' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-shiftIncrement' class='name expandable'>shiftIncrement</a> : Number<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>1</code></p></div></div></div><div id='property-shiftUnit' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-shiftUnit' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-shiftUnit' class='name expandable'>shiftUnit</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-unit' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-unit' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-unit' class='name expandable'>unit</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div><div id='property-visibleTickEnd' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-visibleTickEnd' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-visibleTickEnd' class='name expandable'>visibleTickEnd</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>the visible position in the first tick, is always ticks count - 1 &lt; value &lt;= ticks count, in case of autoAdjust...</div><div class='long'><p>the visible position in the first tick, is always ticks count - 1 &lt; value &lt;= ticks count, in case of autoAdjust, always = ticks count</p>\n</div></div></div><div id='property-visibleTickStart' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-visibleTickStart' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-visibleTickStart' class='name expandable'>visibleTickStart</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'><p>the visible position in the first tick, can actually be > 1 because the adjustment is done by the <code>mainUnit</code></p>\n</div><div class='long'><p>the visible position in the first tick, can actually be > 1 because the adjustment is done by the <code>mainUnit</code></p>\n</div></div></div><div id='property-weekStartDay' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-property-weekStartDay' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-property-weekStartDay' class='name expandable'>weekStartDay</a> : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>\n</div><div class='long'>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Sch.data.TimeAxis-method-constructor' class='name expandable'>Sch.data.TimeAxis</a>( <span class='pre'>config</span> ) : <a href=\"#!/api/Sch.data.TimeAxis\" rel=\"Sch.data.TimeAxis\" class=\"docClass\">Sch.data.TimeAxis</a><span class=\"signature\"></span></div><div class='description'><div class='short'>private ...</div><div class='long'><p>private</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : Object<div class='sub-desc'></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Sch.data.TimeAxis\" rel=\"Sch.data.TimeAxis\" class=\"docClass\">Sch.data.TimeAxis</a></span><div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Sch.data.TimeAxis-event-beforereconfigure\" rel=\"Sch.data.TimeAxis-event-beforereconfigure\" class=\"docClass\">beforereconfigure</a></li><li>beginreconfigure</li><li>datachanged</li><li><a href=\"#!/api/Sch.data.TimeAxis-event-endreconfigure\" rel=\"Sch.data.TimeAxis-event-endreconfigure\" class=\"docClass\">endreconfigure</a></li><li><a href=\"#!/api/Sch.data.TimeAxis-event-reconfigure\" rel=\"Sch.data.TimeAxis-event-reconfigure\" class=\"docClass\">reconfigure</a></li><li>refresh</li></ul></div></div></div><div id='method-ceilDate' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-ceilDate' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-ceilDate' class='name expandable'>ceilDate</a>( <span class='pre'>date, relativeToStart, resolutionUnit</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>private ...</div><div class='long'><p>private</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>date</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>relativeToStart</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>resolutionUnit</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-clearFilter' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-clearFilter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-clearFilter' class='name expandable'>clearFilter</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Clear the current filter of the time axis ...</div><div class='long'><p>Clear the current filter of the time axis</p>\n</div></div></div><div id='method-consumeViewPreset' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-consumeViewPreset' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-consumeViewPreset' class='name expandable'>consumeViewPreset</a>( <span class='pre'>preset</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>preset</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-dateInAxis' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-dateInAxis' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-dateInAxis' class='name expandable'>dateInAxis</a>( <span class='pre'>date</span> ) : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns true if the passed date is inside the span of the current time axis. ...</div><div class='long'><p>Returns true if the passed date is inside the span of the current time axis.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>date</span> : Date<div class='sub-desc'><p>The date to query for</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'><p>true if the date is part of the timeaxis</p>\n</div></li></ul></div></div></div><div id='method-filterBy' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-filterBy' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-filterBy' class='name expandable'>filterBy</a>( <span class='pre'>fn, [scope]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>[Experimental] Filter the time axis by a function. ...</div><div class='long'><p>[Experimental] Filter the time axis by a function. The passed function will be called with each tick in time axis.\nIf the function returns true, the 'tick' is included otherwise it is filtered.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>fn</span> : Function<div class='sub-desc'><p>The function to be called, it will receive an object with start/end properties, and 'index' of the tick.</p>\n</div></li><li><span class='pre'>scope</span> : Object (optional)<div class='sub-desc'><p>The scope (<code>this</code> reference) in which the function is executed.</p>\n</div></li></ul></div></div></div><div id='method-floorDate' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-floorDate' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-floorDate' class='name expandable'>floorDate</a>( <span class='pre'>date, relativeToStart, resolutionUnit, incr</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Floors a date and optionally snaps it to one of the following resolutions:\n1. ...</div><div class='long'><p>Floors a date and optionally snaps it to one of the following resolutions:\n1. 'resolutionUnit'. If param 'resolutionUnit' is passed, the date will simply be floored to this unit.\n2. If resolutionUnit is not passed: If date should be snapped relative to the timeaxis start date,\nthe resolutionUnit of the timeAxis will be used, or the timeAxis 'mainUnit' will be used to snap the date</p>\n\n<p>returns a copy of the original date\nprivate</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>date</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>relativeToStart</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>resolutionUnit</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>incr</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-forEachAuxInterval' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-forEachAuxInterval' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-forEachAuxInterval' class='name expandable'>forEachAuxInterval</a>( <span class='pre'>unit, increment, iteratorFn, [scope]</span> )<span class=\"signature\"><span class='protected' >protected</span></span></div><div class='description'><div class='short'>Calls the supplied iterator function once per interval. ...</div><div class='long'><p>Calls the supplied iterator function once per interval. The function will be called with three parameters, start date and end date and an index.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>unit</span> : String<div class='sub-desc'><p>The unit to use when iterating over the timespan</p>\n</div></li><li><span class='pre'>increment</span> : Number<div class='sub-desc'><p>The increment to use when iterating over the timespan</p>\n</div></li><li><span class='pre'>iteratorFn</span> : Function<div class='sub-desc'><p>The function to call</p>\n</div></li><li><span class='pre'>scope</span> : Object (optional)<div class='sub-desc'><p>The \"this\" object to use for the function call</p>\n</div></li></ul></div></div></div><div id='method-generateTicks' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-generateTicks' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-generateTicks' class='name expandable'>generateTicks</a>( <span class='pre'>startDate, endDate, unit, increment</span> ) : Array<span class=\"signature\"></span></div><div class='description'><div class='short'>Method generating the ticks for this time axis. ...</div><div class='long'><p>Method generating the ticks for this time axis. Should return an array of ticks. Each tick is an object of the following structure:\n        {\n            start       : ..., // start date\n            end         : ...  // end date\n        }</p>\n\n<p>Take notice, that this function either has to be called with <code>start</code>/<code>end</code> parameters, or create those variables.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>startDate</span> : Date<div class='sub-desc'><p>The start date of the interval</p>\n</div></li><li><span class='pre'>endDate</span> : Date<div class='sub-desc'><p>The end date of the interval</p>\n</div></li><li><span class='pre'>unit</span> : String<div class='sub-desc'><p>The unit of the time axis</p>\n</div></li><li><span class='pre'>increment</span> : Mixed<div class='sub-desc'><p>The increment for the unit specified.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Array</span><div class='sub-desc'><p>ticks The ticks representing the time axis</p>\n</div></li></ul></div></div></div><div id='method-getAdjustedDates' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getAdjustedDates' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getAdjustedDates' class='name expandable'>getAdjustedDates</a>( <span class='pre'>start, end, forceAdjust</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>start</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>end</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>forceAdjust</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-getDateFromTick' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getDateFromTick' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getDateFromTick' class='name expandable'>getDateFromTick</a>( <span class='pre'>tick, roundingMethod</span> ) : Date<span class=\"signature\"></span></div><div class='description'><div class='short'>Gets the time represented by a tick \"coordinate\". ...</div><div class='long'><p>Gets the time represented by a tick \"coordinate\".</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>tick</span> : Number<div class='sub-desc'><p>the tick \"coordinate\"</p>\n</div></li><li><span class='pre'>roundingMethod</span> : String<div class='sub-desc'><p>The rounding method to use</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Date</span><div class='sub-desc'><p>The date to represented by the tick \"coordinate\", or null if invalid.</p>\n</div></li></ul></div></div></div><div id='method-getEnd' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getEnd' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getEnd' class='name expandable'>getEnd</a>( <span class='pre'></span> ) : Date<span class=\"signature\"></span></div><div class='description'><div class='short'>Method to get a the current end date of the time axis ...</div><div class='long'><p>Method to get a the current end date of the time axis</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Date</span><div class='sub-desc'><p>The end date</p>\n</div></li></ul></div></div></div><div id='method-getIncrement' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getIncrement' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getIncrement' class='name expandable'>getIncrement</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>private ...</div><div class='long'><p>private</p>\n</div></div></div><div id='method-getNext' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getNext' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getNext' class='name expandable'>getNext</a>( <span class='pre'>date, unit, increment</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>private ...</div><div class='long'><p>private</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>date</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>unit</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>increment</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-getResolution' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getResolution' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getResolution' class='name expandable'>getResolution</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>private ...</div><div class='long'><p>private</p>\n</div></div></div><div id='method-getShiftIncrement' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getShiftIncrement' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getShiftIncrement' class='name expandable'>getShiftIncrement</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>private ...</div><div class='long'><p>private</p>\n</div></div></div><div id='method-getShiftUnit' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getShiftUnit' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getShiftUnit' class='name expandable'>getShiftUnit</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n</div></div></div><div id='method-getStart' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getStart' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getStart' class='name expandable'>getStart</a>( <span class='pre'></span> ) : Date<span class=\"signature\"></span></div><div class='description'><div class='short'>Method to get the current start date of the time axis ...</div><div class='long'><p>Method to get the current start date of the time axis</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Date</span><div class='sub-desc'><p>The start date</p>\n</div></li></ul></div></div></div><div id='method-getTickFromDate' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getTickFromDate' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getTickFromDate' class='name expandable'>getTickFromDate</a>( <span class='pre'>date</span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>Gets a tick \"coordinate\" representing the date position on the time scale. ...</div><div class='long'><p>Gets a tick \"coordinate\" representing the date position on the time scale. Returns -1 if the date is not part of the time axis.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>date</span> : Date<div class='sub-desc'><p>the date</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>the tick position on the scale or -1 if the date is not part of the time axis</p>\n</div></li></ul></div></div></div><div id='method-getTicks' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getTicks' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getTicks' class='name expandable'>getTicks</a>( <span class='pre'></span> ) : Object[]<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the ticks of the timeaxis in an array of objects with a \"start\" and \"end\" date. ...</div><div class='long'><p>Returns the ticks of the timeaxis in an array of objects with a \"start\" and \"end\" date.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object[]</span><div class='sub-desc'><p>the ticks on the scale</p>\n</div></li></ul></div></div></div><div id='method-getUnit' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getUnit' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getUnit' class='name expandable'>getUnit</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>private ...</div><div class='long'><p>private</p>\n</div></div></div><div id='method-getVisibleTickTimeSpan' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-getVisibleTickTimeSpan' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-getVisibleTickTimeSpan' class='name expandable'>getVisibleTickTimeSpan</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n</div></div></div><div id='method-isContinuous' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-isContinuous' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-isContinuous' class='name expandable'>isContinuous</a>( <span class='pre'></span> ) : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns true if the time axis is continuos (will return false when filtered) ...</div><div class='long'><p>Returns <code>true</code> if the time axis is continuos (will return <code>false</code> when filtered)</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-reconfigure' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-reconfigure' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-reconfigure' class='name expandable'>reconfigure</a>( <span class='pre'>config</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Reconfigures the time axis based on the config object supplied and generates the new 'ticks'. ...</div><div class='long'><p>Reconfigures the time axis based on the config object supplied and generates the new 'ticks'.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : Object<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Sch.data.TimeAxis-event-beforereconfigure\" rel=\"Sch.data.TimeAxis-event-beforereconfigure\" class=\"docClass\">beforereconfigure</a></li><li>beginreconfigure</li><li>datachanged</li><li><a href=\"#!/api/Sch.data.TimeAxis-event-endreconfigure\" rel=\"Sch.data.TimeAxis-event-endreconfigure\" class=\"docClass\">endreconfigure</a></li><li>refresh</li></ul></div></div></div><div id='method-roundDate' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-roundDate' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-roundDate' class='name expandable'>roundDate</a>( <span class='pre'>date, relativeTo</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Rounds the date to nearest unit increment\nprivate ...</div><div class='long'><p>Rounds the date to nearest unit increment\nprivate</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>date</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>relativeTo</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-setResolution' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-setResolution' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-setResolution' class='name expandable'>setResolution</a>( <span class='pre'>unit, increment</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>private ...</div><div class='long'><p>private</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>unit</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>increment</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-setTimeSpan' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-setTimeSpan' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-setTimeSpan' class='name expandable'>setTimeSpan</a>( <span class='pre'>start, end</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Changes the time axis timespan to the supplied start and end dates. ...</div><div class='long'><p>Changes the time axis timespan to the supplied start and end dates.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>start</span> : Date<div class='sub-desc'><p>The new start date</p>\n</div></li><li><span class='pre'>end</span> : Date<div class='sub-desc'><p>The new end date</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Sch.data.TimeAxis-event-beforereconfigure\" rel=\"Sch.data.TimeAxis-event-beforereconfigure\" class=\"docClass\">beforereconfigure</a></li><li>beginreconfigure</li><li>datachanged</li><li><a href=\"#!/api/Sch.data.TimeAxis-event-endreconfigure\" rel=\"Sch.data.TimeAxis-event-endreconfigure\" class=\"docClass\">endreconfigure</a></li><li>refresh</li></ul></div></div></div><div id='method-shift' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-shift' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-shift' class='name expandable'>shift</a>( <span class='pre'>amount, unit</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Moves the time axis by the passed amount and unit. ...</div><div class='long'><p>Moves the time axis by the passed amount and unit.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>amount</span> : Number<div class='sub-desc'><p>The number of units to jump</p>\n</div></li><li><span class='pre'>unit</span> : String<div class='sub-desc'><p>The unit (Day, Week etc)</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Sch.data.TimeAxis-event-beforereconfigure\" rel=\"Sch.data.TimeAxis-event-beforereconfigure\" class=\"docClass\">beforereconfigure</a></li><li>beginreconfigure</li><li>datachanged</li><li><a href=\"#!/api/Sch.data.TimeAxis-event-endreconfigure\" rel=\"Sch.data.TimeAxis-event-endreconfigure\" class=\"docClass\">endreconfigure</a></li><li>refresh</li></ul></div></div></div><div id='method-shiftNext' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-shiftNext' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-shiftNext' class='name expandable'>shiftNext</a>( <span class='pre'>[amount]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Moves the time axis forward in time in units specified by the view preset shiftUnit, and by the amount specified by t...</div><div class='long'><p>Moves the time axis forward in time in units specified by the view preset <code>shiftUnit</code>, and by the amount specified by the <code>shiftIncrement</code>\nconfig of the current view preset.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>amount</span> : Number (optional)<div class='sub-desc'><p>The number of units to jump forward</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Sch.data.TimeAxis-event-beforereconfigure\" rel=\"Sch.data.TimeAxis-event-beforereconfigure\" class=\"docClass\">beforereconfigure</a></li><li>beginreconfigure</li><li>datachanged</li><li><a href=\"#!/api/Sch.data.TimeAxis-event-endreconfigure\" rel=\"Sch.data.TimeAxis-event-endreconfigure\" class=\"docClass\">endreconfigure</a></li><li>refresh</li></ul></div></div></div><div id='method-shiftPrevious' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-shiftPrevious' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-shiftPrevious' class='name expandable'>shiftPrevious</a>( <span class='pre'>[amount]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Moves the time axis backward in time in units specified by the view preset shiftUnit, and by the amount specified by ...</div><div class='long'><p>Moves the time axis backward in time in units specified by the view preset <code>shiftUnit</code>, and by the amount specified by the <code>shiftIncrement</code> config of the current view preset.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>amount</span> : Number (optional)<div class='sub-desc'><p>The number of units to jump backward</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Sch.data.TimeAxis-event-beforereconfigure\" rel=\"Sch.data.TimeAxis-event-beforereconfigure\" class=\"docClass\">beforereconfigure</a></li><li>beginreconfigure</li><li>datachanged</li><li><a href=\"#!/api/Sch.data.TimeAxis-event-endreconfigure\" rel=\"Sch.data.TimeAxis-event-endreconfigure\" class=\"docClass\">endreconfigure</a></li><li>refresh</li></ul></div></div></div><div id='method-timeSpanInAxis' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-method-timeSpanInAxis' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-method-timeSpanInAxis' class='name expandable'>timeSpanInAxis</a>( <span class='pre'>start, end</span> ) : boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns true if the passed timespan is part of the current time axis (in whole or partially). ...</div><div class='long'><p>Returns true if the passed timespan is part of the current time axis (in whole or partially).</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>start</span> : Date<div class='sub-desc'><p>The start date</p>\n</div></li><li><span class='pre'>end</span> : Date<div class='sub-desc'><p>The end date</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>boolean</span><div class='sub-desc'><p>true if the timespan is part of the timeaxis</p>\n</div></li></ul></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-event'>Events</h3><div class='subsection'><div id='event-beforereconfigure' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-event-beforereconfigure' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-event-beforereconfigure' class='name expandable'>beforereconfigure</a>( <span class='pre'>eOpts</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Event that is triggered when we begin reconfiguring ...</div><div class='long'><p>Event that is triggered when we begin reconfiguring</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>eOpts</span> : Object<div class='sub-desc'><p>The options object passed to Ext.util.Observable.addListener.</p>\n\n\n\n</div></li></ul></div></div></div><div id='event-endreconfigure' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-event-endreconfigure' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-event-endreconfigure' class='name expandable'>endreconfigure</a>( <span class='pre'>eOpts</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Event that is triggered when we end reconfiguring and everything ui-related should be done ...</div><div class='long'><p>Event that is triggered when we end reconfiguring and everything ui-related should be done</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>eOpts</span> : Object<div class='sub-desc'><p>The options object passed to Ext.util.Observable.addListener.</p>\n\n\n\n</div></li></ul></div></div></div><div id='event-reconfigure' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Sch.data.TimeAxis'>Sch.data.TimeAxis</span><br/><a href='source/TimeAxis.html#Sch-data-TimeAxis-event-reconfigure' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Sch.data.TimeAxis-event-reconfigure' class='name expandable'>reconfigure</a>( <span class='pre'>timeAxis, eOpts</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Fires when the timeaxis has been reconfigured (e.g. ...</div><div class='long'><p>Fires when the timeaxis has been reconfigured (e.g. new start/end date or unit/increment)</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>timeAxis</span> : <a href=\"#!/api/Sch.data.TimeAxis\" rel=\"Sch.data.TimeAxis\" class=\"docClass\">Sch.data.TimeAxis</a><div class='sub-desc'><p>The time axis instance</p>\n</div></li><li><span class='pre'>eOpts</span> : Object<div class='sub-desc'><p>The options object passed to Ext.util.Observable.addListener.</p>\n\n\n\n</div></li></ul></div></div></div></div></div></div></div>","meta":{}});