Closed lindapaiste closed 1 year ago
Thanks!
This issue was fixed in dev version, and will be released soon.
We'll notify you here when that happens.
Fixed in 5.5.3.
StockChart
indicators with OverBought/Oversold ranges (Commodity Channel Index, Relative Strength Index, Stochastic Momentum Index, Stochastic Oscilator and Williams R) have now middle line between oversold/overbought. Also a draggable grip added to oversold/overbought ranges which allows user to change values by dragging these grips.StockChart
toolbar control: DropdownControl
. Can use to add any content to be displayed in a dropdown when clicked. More info.StockPanel
: wheelY: "zoomX"
, panX: true
, panY: true
. Previously, those were hardcoded in ChartIndicator
, which prevented a possibility to change them via a theme.AxisRendererY
: pan:"zoom"
. This adds zoom possibility for all Y axes of a StockChart
(previously indicator Y axes where not zoomable).IndicatorControl
now extends DropdownListControl
for consistency.IndicatorControl
has now scrollable: true
set by default.IndicatorControl
changed.labelHTML
adapter on a Tooltip
in some cases could result to an error.DateFormatter
was not always correct.XYChart
could flicker on Safari browser in some rare responsive CSS setups.Make sure you clear your browser cache after upgrading. And feel free to contact us again if you are still experiencing this issue.
Bug description
I came across an issue where HTML tooltips were causing my entire app to crash. After a bunch of playing around, I figured out the circumstances which produce the
DOMException
. You might consider this to be "user error" but I thought it was worth reporting.Demo: https://codepen.io/linda-paiste/pen/abXNYvz?editors=0010
Relevant code:
The issue here is that the adapter sometimes returns an empty string
''
(if all series have 0 values). When that happens, the chart shows the default x-axis tooltip instead of the custom HTML content. And then it will crash on the next tooltip.