
Improves tooltip functionality and adds "Volume Weighted Average Price" to StockChart.
Features
- Added new
deactivateRoot
(default:true
) setting toModal
which indicates if any interactivity on the underlying chart should be disabled when modal is open. - Added new
html
setting toContainer
. Set it to a string with HTML to be used as the container's content. It will work on any element inheriting fromContainer
, e.g.Label
. - Added new
labelHTML
setting toTooltip
. If set, it will now use HTML content for the tooltip. - Added new
tooltipHTML
setting toSprite
. If set, it will now use HTML content for the tooltip when element is hovered. - Added
wheelZoomPositionX
andwheelZoomPositionY
toXYChart
. This value is not set by default, but you can use it to fix wheel zooming, to the end (if you set it to 1) or to the start (0) or middle (0.5). InStockChart
, it is set to 1 by default, as this is common practice in financial charts. - "Volume-Weighted Average Price (VWAP)" indicator has been added to
StockChart
. - Setting
id
setting when creating an object will no longer register it inam5.registry.entitiesById
immediately, without waiting for the next frame.