Closed wizardlyhel closed 10 months ago
When handling selected region in a plugin, if region.data === 0, null is returned. However, this.initialData[0] is a valid region and should return data instead of null
region.data === 0
null
this.initialData[0]
https://github.com/pyatyispyatil/flame-chart-js/blob/fe2fe15df8e4ce542e984ed02fd5876d7298daa7/src/plugins/waterfall-plugin.ts#L87-L89
Thank you very much for your bug report! =)
Fixed in 3.2.0
When handling selected region in a plugin, if
region.data === 0
,null
is returned. However,this.initialData[0]
is a valid region and should return data instead ofnull
https://github.com/pyatyispyatil/flame-chart-js/blob/fe2fe15df8e4ce542e984ed02fd5876d7298daa7/src/plugins/waterfall-plugin.ts#L87-L89