-
Notifications
You must be signed in to change notification settings - Fork 41
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
Box plot support #303
Comments
@navykoo Thanks for your request. Could you support some sketches, screenshots of the plots you'd like to have? SWTChart is an open source project. I could also show you how to setup the IDE to make improvements on the library. Help is always appreciated. |
@eselmeister Hi, I am navykoo's colleague. I'm looking for such feature support as well. Here are some websits about BoxPlot. |
@jackybian Great, I could guide you how to setup SWTChart and how to implement the Box plot support. |
Just let me know, if and when I shall give you assistance. |
Thank you very much. I'm a J2EE developer and I am not familiar with Swtchart and RCP.But i can try. |
@jackybian Here's a short description how to setup the system: The simplest way to have a look if everything runs fine is to start the following chart as Java application: |
Thank you. |
You don't need RCPTT. You can run it directly from within the Eclipse
IDE, when you select "Run as Java application...".
…On 07.11.22 15:26, jackybian wrote:
Thank you.
Due to unfamiliarity with Eclipse and RCPTT, I can't run the demo.
Can you tell how to run it with RCPTT
—
Reply to this email directly, view it on GitHub
<#303 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFHUT7ZQQHL4XNHN5FUSRLWHEGP5ANCNFSM6AAAAAAQXOIEX4>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder ***@***.*** »http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~
|
You don't need to set the build path. Open the following target platform
in the editor and "Set as Active Target Platform":
org.eclipse.swtchart.targetplatform/org.eclipse.swtchart.targetplatform.target
…On 08.11.22 03:04, jackybian wrote:
Thank you. I followed your steps and encountered a problem.
As shown in the screenshot, I can't set Build Path and don't know the
reason.
pic
<https://user-images.githubusercontent.com/11855467/200456512-994500de-8b68-4158-8111-943f976ad9c8.jpg>
—
Reply to this email directly, view it on GitHub
<#303 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFHUT6UYNVWSTVDHUWVY5LWHGYKFANCNFSM6AAAAAAQXOIEX4>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder ***@***.*** »http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~
|
Thank you. |
Are you able to run the demo chart from within your IDE?
…On 08.11.22 07:10, jackybian wrote:
Thank you.
I run the demo in another project which imports swtchar jars. But i
did not know how to run the demo in Swtchar Project. I've already set
target platform as Active Target Platform.
Can you tell me how to prepare to implement the Box plot. I need some
preparation.
—
Reply to this email directly, view it on GitHub
<#303 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFHUTZHRAHQKYSNX5LB6ODWHHVGJANCNFSM6AAAAAAQXOIEX4>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder ***@***.*** »http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~
|
@jackybian Please first setup the IDE as mentioned in the build instruction. You need "Eclipse IDE for RCP and RAP Developers" and then run the demo chart as a Java application. |
@eselmeister Can you give me some suggestions about implementing Box Plot feature |
@jackybian Sure, do you have representative data (x,y) at hand, which we could use to implement the box plot support? |
@jackybian Great, thanks. Give me 2 days to think about it. I'll then guide you how to best implement it. |
Thank you and wait for your good news. |
@jackybian IMHO, we can implement it by extending the ScatterChart: The functionality of the scatter chart is used and additionally, a |
@eselmeister Thank you. I've had a lot of high-priority work to do in the last few days. After the work is done, I will try to implement it. |
The BoxPlotChart is a subtype of ScatterChart. It contains a custom paint listener to draw the whisker box.
@jackybian Yep, no hurry. I have create a demo chart, which easily can be executed as a Java application: The magic needs to implemented here: Additionally have a look at here: |
Could you please have a look at your workspace and check that the file |
You can ignore the |
|
@jackybian Your custom paint listener boxes look good. I assume you'd like to have something similar like displayed in category, am I right? https://github.com/eclipse/swtchart/wiki/Documentation#category |
|
It's moving into the right direction. There seems to be something going wrong when plotting the blue and red data points. I would recommend to debug the plotting of the data series. |
The data series didn't change when I debugged. |
If you're getting any further, please create a pull request, so that I can review your code. Have you signed the Eclipse Contributors Agreement already? https://github.com/eclipse/swtchart/blob/develop/CONTRIBUTING.md |
Ok, The quartile function is not accurate. If the category can show accurately, I will restructure the code and try to push the code to SWTChart Project. Axis xAxis = (Axis)baseChart.getAxisSet().getXAxis(BaseChart.ID_PRIMARY_X_AXIS); |
I would recommend to use the We have a documentation here: Otherwise, I'll guide you. |
OK, let me inspect it. Can you create a PR? |
PR? PropertiesResources? |
Pull Request :-) |
I've already signed ECA. |
Yep, it's only allowed for committers to write into the repository. Hence, we use PRs to merge/review request from externals. Have a look at the GitHub documentation on how to create a PR: |
It seems to be in your fork. I can't see any PRs here: |
Thanks for the PR. I tracked down the problem. The category series are currently displayed well with bar charts: With scatter data, it doesn't plot the data correctly. Let me find a solution for that problem. |
@eselmeister Hi, when can it plot the data correctly? |
I am waiting for good news:) |
@jackybian Me too. I have a tight schedule, but let me inspect it as soon as possible. |
|
@yoshitaka1008 Excellent, thanks a lot. I have merged it. |
@eselmeister Hi, which branch did you merge? And how to release the local jar which contains Boxchart |
It has been pushed on the branch "develop". You can either A) download the integration build jars here: B) or build the branch "develop" locally via: |
Hey, I wanted to check if there is any plan of swtchart to support box plot (or called as box and wirsk plot)? If no, can I do some customization development on swtchart for achieve the goal? Any advice will be appreciated.
The text was updated successfully, but these errors were encountered: