Questions tagged [swtchart]

SWTChart is based on SWT. If you are planning to implement your application with Swing/AWT, maybe you should choose another chart component. However, if you implement Eclipse plug-ins or SWT-based standalone applications, SWTChart would be one of the candidates to choose.

SWTChart is based on SWT. If you are planning to implement your application with Swing/AWT, maybe you should choose another chart component. However, if you implement Eclipse plug-ins or SWT-based standalone applications, SWTChart would be one of the candidates to choose.

Useful Links

12 questions
2
votes
1 answer

SWTChart mouse over handling

I have found SWTChart library and just wonder how it would be possible to go over the below graph with the mouse and get box with the info about the y-value like in this example. (source: swtchart.org) package org.swtchart.examples; import…
user977828
  • 7,259
  • 16
  • 66
  • 117
1
vote
1 answer

SWTChart not redraw when it is inside a loop

If I have the following loop: Chart plot = new Chart(composite, SWT.NONE); ISeriesSet seriesSet = plot.getSeriesSet(); ISeries series = seriesSet.createSeries(SeriesType.LINE, "Test"); for(int i=0; i<1000; i++) { points = ... …
CIOC
  • 1,385
  • 3
  • 19
  • 48
1
vote
1 answer

JAVA SWTchart change Y AXIS sign without changing the rest of the graph

I'm using JAVA, SWT and SWTChart to visualize a dive profile. To visualize the dive profile in the right shape, I use negative depths values, which is necessary but not correct. Thus I would like to remove or reverse the sign at the y axis…
1
vote
2 answers

scatter plot with different point colours and sizes

I have found SWTChart library and just wonder how it would be possible to get a scatter plot where points have different colours and sizes like in this example. (source: matplotlib.org) package org.swtchart.examples; import…
user977828
  • 7,259
  • 16
  • 66
  • 117
1
vote
1 answer

SWTChart mouse event handling

I have found SWTChart library and just wonder how it would be possible to select with the mouse a range e.g. 1 to 3 on the x-axis and I would get all y-axis values which belongs to the selected x values. (source: swtchart.org) package…
user977828
  • 7,259
  • 16
  • 66
  • 117
0
votes
0 answers

Displaying diffrent series in the same chart using swtchart

I have a problem in which I'm trying to display a few types of data in a single chart and it's not going well. First of all, I have one series of data that is supposed to be displayed as a line chart, and then I have to add some bar charts. The…
Yanosik
  • 43
  • 1
  • 4
0
votes
1 answer

How can I add zoom and Scroll in swtchart in Java?

I used the zoom and scroll chart codes based on the description of the following swtchart document, but it does not work. Is there a solution? Description for zoom: Zoom of axis is an operation to zoom in or out the range of axis. The following…
tom
  • 33
  • 5
0
votes
0 answers

Save java SWT chart to image

I have a java application using org.eclipse.swtchart (https://projects.eclipse.org/projects/science.swtchart/downloads). I would like to save the outputted chart to a .jpg or similar image format instead of having the chart displayed, thus far I am…
0
votes
1 answer

SWT stacked bar chart show total value

I'm using SWT chart and my stacked bar chart looks like in the picture below. The bar char represents the response time for services. The dark blue bar represents the technical part of the response time and the light blue bar represents the think…
tzwickl
  • 1,341
  • 2
  • 15
  • 31
0
votes
0 answers

SWT Display / Shell terminate and reshow

I have been trying many different things at making this work and have not been able to. What it is doing is this: The program works fine starting from STARTUP and waits for user input and other stuff. Then it calls this: new…
Dave P
  • 156
  • 1
  • 8
0
votes
1 answer

installing swtChart RCP/SWT- java.lang.ClassNotFoundException: org.swtchart.Chart

I need your help. I want to add the swtChart to my RCP project but it´s not working! I understood that I have to add the org.swtchart_0.9.0.v20140219 to my lib folder and then configure it in built path, in fact, I can see that the code is compiling…
Monik Eliz
  • 107
  • 9
0
votes
1 answer

swtchart doesn't display in dialog

I use swtchart (http://www.swtchart.org/) and try to display it in the dialog but it is always failing. SWT Dialog doesn't support swtchart, does it? public final class TestDialog extends Dialog { private Chart chart; private…
Matt
  • 115
  • 1
  • 11