Version 5.12.0
    • Dark
      Light

    Version 5.12.0

    • Dark
      Light

    Article summary


    Release date: Aug 19, 2024


    Google analytics events

    Added new events to the library for Google analytics:

    • First open/visit. Shows the number of new users for the selected period.
    • First_interation. Triggers when the user first interacts with the chart.
    • Followup_interaction. Triggers when the user interacts with the chart.
    • Aggregation_change. Shows the current aggregation period.
    • Chart_type_selection. Shows the selected chart type.
    • Compare_on. Triggers when the user clicks the Compare menu.
    • Instrument_change. Triggers when the user selects an instrument.
    • Multicharts_selected. Triggers when the user clicks on Multichart.
    • Custom_logo. Triggers when the client has added their logo to the chart.
    • Snapshot. Triggers when the user interacts with one of the items in the Snapshot menu.
    • Order_made. Triggers when the user clicks any button related to trading functionality.
    • Timeframe_selected. Triggers when the user clicks on any item in the Timeframe menu.
    • Drawing_add. Shows the name of the drawing.
    • Drawing_favourite. Triggers when the user adds any drawing to the list of favorite drawings.
    • Indicator_add. Shows the name of the selected indicator.
    • Custom_indicator_created. Triggers when the user creates and saves a new indicator.

    Bug fixes and improvements

    • Fixed an issue when the chart library crashes when the color is specified in HEX format.
    • Added the pqssibility to replace icons one by one via API.
    • Fixed an issue when the wrong indicator is added to the ADDED INDICATORS field.
    • Fixed an issue when "Restore to Default" doesn't affect the indicator parameters.
    • Allow developers to set default timeline for charts via API.
    • Added API that allows to change the timeframe preset.
    • Fixed an issue with the ratio result error in the console.
    • Fixed an issue when InstrumentSuggest override doesn't trigger the instrument change as intended.
    • Fixed an issue with the Heikin-Ashi chart type.
    • Added "chartReactAPI.destroy" to public API.
    • Fixed an issue with incorrect precision for some drawings and symbols.
    • Fixed an issue when crosshair sync doesn't work properly for different aggregation periods.
    • Fixed an issue when Theme builder doesn't apply colors on the fly.

    Miscellaneous

    Updated API documentation:

    • Added/improved instructions for replacing event icons.
    • Added X-axis config example.
    • Updated docs with information on how to hide or interact with the drawing tool panel.
    • Added description on how to overwrite default indicator settings/list.
    • Updated CandleDataProvider with fromTime | toTime example.
    • Added crosstool configuration example to DXcharts config page.
    • Extended localization docs.
    • Updated order provider documentation with TP/SL.
    • Added instructions on how to create drawings via API.
    • Updated requestHistoryData description in docs.
    • Added instructions on how to provide different loading states to the chart.
    • Revised timezone page.
    • Updated Vanilla JS env documentation.
    • Added instructions on how to change fonts in canvas and react.
    • Added description of TP/SL interaction.
    • Added method for layout provider implementation.

    What's Next