Some of X-axis settings are global and affect all charts at once others can be personalized for each chart individually. chart = anychart.stock() Ĭot(0).yScale(). 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). In the "percent" mode the changes are displayed as a percentage. chart = anychart.stock() Ĭot(0).yScale().comparisonMode("value") Detailed description Params: Returns: - Self instance for method chaining. In "value" mode the changes are displayed in original scale units. Methods Description alignMaximum alignMaximum () Since version 8.2.0 alignMaximum (enabled) Since version 8.2.0 Getter for a flag if the maximum should be aligned by major ticks interval. Presentation of data on a dateTime scale can be helpful for displaying time lines and time intervals. To enable this mode use comparisonMode() method that accepts values of enum as a parameter value. A dateTime scale is a scale of measurement that is based on the UTC Date format, but accepts variety of data formats. You can compare with the first visible value, series first value and a custom date, see Comparison base section below to learn more. The result of the configuration shown above, along with some axes tuning can be seen on a sample below:Īn圜hart Stock supports the "Comparison Mode" scale - a very important feature for showing stocks-related information that allows comparing changes in series values. ![]() If there is a reason, you can create shared scales, but in most cases configuration goes like this: // get a plot scale The biggest difference between scales in basic charts and stocks is the fact that you have scales in every plot and have to configure them accordingly - in different plots. In this section we will demonstrate only the differences of AnyStock scales from basic charts' ones. Learn more about basis Axes options available (like tickmarks, axis line and so on) see Axes, to learn more about basic scale options (like maximum, minimum, scale modes and so on) see Scale tutorial. In An圜hart scales control calculations and modes while Axes control axes labels, lines and tick marks. Triple Exponential Moving Average (TRIX). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |