amStock 1.2.2.0 Released

We have just released a new amStock 1.2.2.0 version with a whole slew of fixes and enhancements. [Download]

  • A new setting <balloon_text> was added to <data_set_selector> group. Sometimes data set title doesn’t fit in the drop-down. If you set a value like {title} here, the roll-over balloon will display full title so users can read it. You can also display {short} title and a {description} in this balloon.
  • A new setting, <disable_custom_cursors> was added. If you set it to true, custom hand and resize arrow cursors will be disabled.
  • A new setting, <chart><events><show_date> was added. If you set it to false, the date will not be displayed in the balloon (when you roll-over the event bullet)
  • When user clicks on a predefined period button, this JavaScript function is called: amPeriodSelected(chart_id, type, count, id);
  • Now you can select predefined period with this JavaScript function:

    flashMovie.selectPeriod(id);

    id is the pid attribute: <period type="DD" count="10" pid="p1">10D</period> or order number of your period if you don’t have pid attribute.

  • amClickedOn and amRolledOver JavaScript functions now return Array of objects containing data set title, short title, id and values of a clicked date:

    amClickedOn(chart_id, date, period, data_object)

    data_object’s structure:

    a) when data is not grouped into longer periods:
        values:
          volume:
            close: 21010110
        id: 0
        short: ES
        title: East Stock

    b) when data is grouped into longer periods:
        values:
          volume:
            close: 16344710
            high: 21587410
            low: 16344710
            sum: 90934150
            open: 16509710
        id: 1
        short: ES
        title: East Stock

  • FIX:In some cases event bullets were incorrectly placed above the graph.

Comments are closed.