LastDate - unit-based selected range ends in the last date of all data sets. Just as shown in the illustration below:Ĭenter - unit-based selected range is centered in the all data sets time scale. This attribute works only when type is set to "Unit", it sets the point from which unit based range is calculated.įirstDate - unit-based selected range starts from the first date in all data sets. No additional settings needed.Ĭustom - allows to define custom selected range, from start_date to end_date, which should be set. YTD - selects the latest calendar year in all data sets, from the 1st of January to the last available date. Unit - allows to define date time unit type, number of units and range anchor (using unit, count and anchor attributes) to set selected range.įor example, to select 5 last days you need to set: Type of the selected range, this attribute is "main" - other attributes depend on its value. Selected_range node has several attributes to configure the range, these attributes are described in the table below: Attribute XML below shows how, for example, one year instead of 10 days can be shown: You can change the default range shown using selected_range node. All data that falls in this range are shown on the chart, scroller and all range selector elements get the default settings to fit this 10 last days. This section describes timescale settings that are common to all charts in the component.īy default the component always shows 10 last days of all data sets defined. Major ticks stand for larger periods of time, while minor - for smaller ones. The illustration below demonstrates an example for minor and major ticks: Some of X-axis settings are global and affect all charts at once others can be personalized for each chart individually.Īn X-axis can show major and minor ticks each of these has its own settings. No matter how many charts, series and technical indicators you create in one instance of An圜hart Stock Component - you always use one common argument, Date Time Axis (or, which is the same, X-axis or Timescale).
0 Comments
Leave a Reply. |