Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boxplot as a feature? #934

Closed
DooRooSA opened this issue Mar 5, 2022 · 7 comments
Closed

Boxplot as a feature? #934

DooRooSA opened this issue Mar 5, 2022 · 7 comments

Comments

@DooRooSA
Copy link

DooRooSA commented Mar 5, 2022

Good afternoon,

I use Excel's Boxplot charts quite often in managing my business/life. I would love to see Boxplot charts in fl_chart, as I have numerous places I can use it in my own projects.

Although I've been a solo developer for as long as I can remember, I've never contributed to an open-source project.

I would like to tackle this feature, but would not want to tread on any toes. Is there somebody who can guide me through the process of adding Boxplot charts to this project?

@imaNNeo
Copy link
Owner

imaNNeo commented Mar 6, 2022

Hi @DooRooSA
Contribution can be started simply.
For example, now you are contributing to this project by mentioning your issue (demanding a new chart).
Yes trust me, this is a contribution!

BTW, start by reading our CONTRIBUTING guideline
Your next step can be finding a simple issue to fix, I tried to group some simple issues here.

Then start reading our ScatterChart source code. It's our simplest cartesian-based chart.

@imaNNeo
Copy link
Owner

imaNNeo commented Mar 6, 2022

Anyways it seems like a candle stick chart. Correct?
If yes, there is another open issue here: #433.
We can close it and follow it up there.

@DooRooSA
Copy link
Author

DooRooSA commented Mar 7, 2022

Thank you, I will certainly look at starting on some of the simpler issues first to get used to the process.

As for the boxplot vs candlestick, they are certainly different charts altogether. As I understand the candlestick is used for trading financial instruments. The boxplot is a statistical analysis chart that shows the median, quartiles and maximum and minimum values of a dataset. It can also be configured to display the outliers, which is very useful to see. The boxplot shines in the fact that you can quite easily see if your data is skewed.

Although they look similar, their purpose is vastly different. I suppose the boxplot can also be grouped in a similar way that the BarChart is grouped on fl_chart (possible code re-use?). The image below is the format that I use 99% of the time, so this format would be a good starting point in my opinion, as it encompasses most of the features of a boxplot.

32937494-baab4626-cbc8-11e7-8660-f4a85ed7254b

@imaNNeo
Copy link
Owner

imaNNeo commented Mar 7, 2022

I'm thinking of having a generic CandleStickc chart that supports both usecases.
They have a lot of shared things to draw.
What are those dots?

@DooRooSA
Copy link
Author

I agree, the visuals are very similar.

The dots are the outliers. I'm including a screenshot of Excel that I made to explain them. Here is a list of numbers between 20 and 30. The last 3 numbers, fall outside those two values. I've marked them in orange in the table. You will notice that the values 8, 6 and 41 are indicated as outliers on the chart

Screenshot 2022-03-10 202415

@imaNNeo
Copy link
Owner

imaNNeo commented Mar 11, 2022

I got it.
They are pretty similar. Let's close it and continue on #443.

@imaNNeo imaNNeo closed this as completed Mar 11, 2022
@imaNNeo
Copy link
Owner

imaNNeo commented Mar 11, 2022

Please put your samples on #443 thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants