- Home
- Forum
- React - EJ 2
- Can we provide our own stats for BoxAndWhisker plot?
Can we provide our own stats for BoxAndWhisker plot?
Hi,
I am able to generate BoxAndWhisker charts providing a series of data and letting the component calculate the whiskers.
Is it possible to simply provide the necessary whisker data instead of the series? The series is quite long and I don't necessarily want to send it to the client anyway. The summary suffices.
As usual (I'm giving a demo in a few hours) so any help asap would be appreciated 🙏
Thank you,
Eric
SIGN IN To post a reply.
8 Replies
DG
Durga Gopalakrishnan
Syncfusion Team
April 2, 2021 11:04 AM UTC
Hi Eric,
Greetings from Syncfusion.
We suggest you to use pointRender event to change the outlier value of chart series data point. We have attached the sample for your reference. In the sample, we have changed the outlier value as 40 for example, you can change this values based on your need.
|
export let pointRender = (args) => {
if(args.point.outliers.length){
args.point.outliers[0] = 40;
}
};
<ChartComponent pointRender={pointRender}>
</ChartComponent> |
Screenshot :
Please revert us if you have any concerns.
Regards,
Durga G
EF
Eric Forgy
April 2, 2021 05:58 PM UTC
Thank you Durga. That is helpful.
I should have been more explicit. By "stats", I meant I'd like to be able to specify all of the following:
- The low outliers
- The lower whisker
- The lower box boundary
- The median
- The mean
- The upper box boundary
- The upper whisker
- The upper outliers
Your suggestion helps with the outliers 👍
I don't want any of those items calculated by a provided series. I want to specify them directly. Is that possible?
I don't want any of those items calculated by a provided series. I want to specify them directly. Is that possible?
Edit: Also, I just noticed the Stackblitz solution sets the outliers for all boxes equal to 40. I'd need to set the stats for each box and whisker combo individually.
SM
Srihari Muthukaruppan
Syncfusion Team
April 5, 2021 12:11 PM UTC
Hi Eric,
We are analyzing your query and we will update the status within one business day(April 06, 2021). We appreciate your patience until then.
Regards,
Srihari
BP
Baby Palanidurai
Syncfusion Team
April 11, 2021 07:51 AM UTC
Hi Eric,
Thanks for your patience.
We have considered your requirement as an improvement. We will improve the pointRender event to change box and whisker series values as mentioned by you. We will include it in our any one of the upcoming release. You can keep track from the feedback portal below.
Feedback Link : https://www.syncfusion.com/feedback/24084/improve-pointrender-event-to-change-box-and-whisker-values
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Regards,
Baby.
EF
Eric Forgy
April 11, 2021 06:57 PM UTC
That's awesome. Thank you :)
SM
Srihari Muthukaruppan
Syncfusion Team
April 12, 2021 05:21 AM UTC
Hi Eric,
Most welcome. We will let you know once the improvement has been included. Kindly get in touch with us, if you requires further assistance. We are always happy in assisting you.
Thanks,
Srihari
AZ
Azfar
February 6, 2025 01:25 AM UTC
Hi,
Any update to this feature/improvement?
NP
Nishanthi Panner Selvam
Syncfusion Team
February 6, 2025 01:45 PM UTC
Hi Azfar,
We address reported requirements based on priority, and this feature has not been implemented yet. It will be available in one of our upcoming releases, and we will notify you once it has been included.
Regards,
Nishanthi
SIGN IN To post a reply.
- 8 Replies
- 6 Participants
-
EF Eric Forgy
- Mar 31, 2021 05:18 PM UTC
- Feb 6, 2025 01:45 PM UTC