Can we create box plot from just statistics

Posted by: Yifan_Zhang on 22 April 2021, 8:53 am EST

  • Posted 22 April 2021, 8:53 am EST

    Is it possible to implement a box plot that takes the statistics directly to create the chart? The data is so large that it won't be passed to wijmo. The data would be pre-processed instead to generate only box plot statistics like min/max/median etc.
  • Replied 22 April 2021, 11:50 pm EST

    Hi,

    If I understand correctly you need to create candlestick charts. Please refer to the following demos and let us know if this fulfills your requirement:
    https://www.grapecity.com/wijmo/demos/Chart/Financial/CandlestickChart/purejs
    https://www.grapecity.com/wijmo/demos/Chart/Financial/HeikinAshiChart/purejs

    If not, please explain more about your use requirement so that we could have a better understanding.

    Regards
    Sharad
  • Replied 29 April 2021, 5:26 am EST

    Hi Sharad,

    Sorry for the late reply and thanks for your input. But those two charts are not exactly what we want. For box-whisker plot, there will be a median line and outliers while those two charts don't have. Wijmo already have this box-whisker plot and we are using it now: https://www.grapecity.com/wijmo/demos/Chart/Special/BoxWhisker/purejs, but for now it only takes the data and draws automatically for us. It could be really slow and limited when the data is huge. So what we want is to supply that box-whisker plot with statistics like min/max/median directly and create the chart. Is it possible to do that? Thanks.
  • Replied 2 May 2021, 7:27 pm EST

    We are sorry but we cannot pass the computed data to box and whiskers graph. But I've prepared a sample to demonstrate how we could add median line and outliers on candlestick chart. Please refer to the following sample and let us know if this fulfill your requirement:
    https://codesandbox.io/s/wijmo-starter-forked-kk2em?file=/src/index.js
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels