billboard.js icon indicating copy to clipboard operation
billboard.js copied to clipboard

Error bar support

Open m-gallesio opened this issue 3 years ago • 2 comments

Description

It would be nice to add support for error bars in bar / line charts for use cases where the detail of candlesticks is not needed. At the very least a way to display the bars while leaving their calculation to the data souce / backend would be appreciated.

Steps to check or reproduce

An example from Office: https://support.microsoft.com/en-us/topic/add-change-or-remove-error-bars-in-a-chart-e6d12c87-8533-4cd6-a3f5-864049a145f0

m-gallesio avatar Jun 03 '21 15:06 m-gallesio

A couple more notes:

  • I mixed up candlestick charts and box plots, my bad for not investigating more. I guess box plots would also be interesting but I am not officially requesting them since ath the moment we do not need them
  • data structure and functionality-wise, error bars would behave very similarly to the already existing Area Range Charts

m-gallesio avatar Jun 30 '21 15:06 m-gallesio

I have currently developed a work-around which adds the error bars manually to the generated SVG, so having this functionality in the library is no longer a priority for us. I am nevertheless leaving this open since it seems an interesting functionality to have in general

m-gallesio avatar Jul 08 '21 07:07 m-gallesio