TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
-
patronas
- Newbie
![Newbie Newbie](./images/ranks/1star.gif)
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
Post
by patronas » Thu Mar 07, 2019 12:34 pm
I am confused about the smoothing mode:
The java Doc says:
Code: Select all
public void setSmoothingMode(boolean value)
Sets the type of rendering used to display the Chart depending on whether speed, display quality or antialiasing is required.
How can boolean distingusoihe between three modes.
The same is for
wich the doc states:
AntiAlias - Specifies antialiased rendering.
Default - Specifies the default mode.
HighQuality - Specifies high quality, low speed rendering.
HighSpeed - Specifies high speed, low quality rendering.
Invalid - Specifies an invalid mode.
None - Specifies no antialiasing.
Default value: HighSpeed
how can this be boolean?
-
patronas
- Newbie
![Newbie Newbie](./images/ranks/1star.gif)
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
Post
by patronas » Mon Mar 11, 2019 7:08 am
The reason I ask is, that currently the charts are not smoothed at all even with
Code: Select all
chart.getAspect().setSmoothingMode(true)
So I am wondering if I am making a mistake.
-
Marc
- Site Admin
![Site Admin Site Admin](./images/ranks/6stars.gif)
- Posts: 1214
- Joined: Thu Oct 16, 2003 4:00 am
- Location: Girona
-
Contact:
Post
by Marc » Mon Mar 18, 2019 5:15 pm
Hello,
The documentation is incorrect. Apologies for the mistake, we'll correct it. The documentation has been copied from another version incorrectly. SmoothingMode is boolean for Java SWT and smooths text and plot.
We'll check if there's a problem with it and get back to this thread.
Regards,
Marc Meumann
Steema Support
-
patronas
- Newbie
![Newbie Newbie](./images/ranks/1star.gif)
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
Post
by patronas » Tue Mar 19, 2019 7:02 am
Thanks for the update. Here a sceenshot of a donut chart and the configuration:
Code: Select all
chart.getAspect().setSmoothingMode(true);
chart.getAspect().setTextSmooth(true);
chart.getAspect().setView3D(false);
chart.getAspect().setOrthogonal(true);
chart.getLegend().setVisible(false);
chart.getHeader().setText("");
chart.getPanel().getBevel().setOuter(BevelStyle.NONE);
chart.getPanel().setMarginTop(0);
![Donut-Jagged.png](./download/file.php?id=7470&sid=6b115fced8e6b39245a1a16054bede2d)
- Donut-Jagged.png (2.66 KiB) Viewed 51307 times
-
Marc
- Site Admin
![Site Admin Site Admin](./images/ranks/6stars.gif)
- Posts: 1214
- Joined: Thu Oct 16, 2003 4:00 am
- Location: Girona
-
Contact:
Post
by Marc » Fri Mar 22, 2019 9:52 am
Hello,
We are investigating. The TeeChart smoothing method appears to be calling correctly the underlying graphics class, we can note a barely discernible difference (before/after) so something is processing; but it is not the response we would expect.
Regards,
Marc
Steema Support
-
patronas
- Newbie
![Newbie Newbie](./images/ranks/1star.gif)
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
Post
by patronas » Tue Apr 30, 2019 12:57 pm
Any updates? Can we expect a solution soon?
-
Yeray
- Site Admin
![Site Admin Site Admin](./images/ranks/6stars.gif)
- Posts: 9534
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Fri May 10, 2019 3:05 pm
Hello,
We haven't finished it, but I can show you how the tests currently are:
![2019-05-10_17-04-15.png](./download/file.php?id=7529&sid=6b115fced8e6b39245a1a16054bede2d)
- 2019-05-10_17-04-15.png (13.01 KiB) Viewed 51067 times
The same chart without the modifications:
![2019-05-10_17-03-54.png](./download/file.php?id=7528&sid=6b115fced8e6b39245a1a16054bede2d)
- 2019-05-10_17-03-54.png (7.3 KiB) Viewed 51067 times
-
patronas
- Newbie
![Newbie Newbie](./images/ranks/1star.gif)
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
Post
by patronas » Mon May 13, 2019 7:29 am
Ohh great. that looks much better. looking forward to the next release
![Smile :-)](./images/smilies/icon_smile.gif)
-
patronas
- Newbie
![Newbie Newbie](./images/ranks/1star.gif)
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
Post
by patronas » Thu Jun 06, 2019 7:16 am
It's been quite some time. Is there any news on when we can expect the solutions?
-
Yeray
- Site Admin
![Site Admin Site Admin](./images/ranks/6stars.gif)
- Posts: 9534
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Mon Jun 10, 2019 8:55 am
Hello,
I'll send you a test Graphics3D.java unit so you can test it.
Please use it to substitute your copy of the unit at your "SWT\com\steema\teechart\drawing" folder.
-
patronas
- Newbie
![Newbie Newbie](./images/ranks/1star.gif)
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
Post
by patronas » Tue Jun 18, 2019 8:45 am
Hello and thank you for the test version. It does in fact look much better. There still seem to be some minor issues with the smoothing, but the overall look is much better.
![Charts-Smoothing-improved.png](./download/file.php?id=7551&sid=6b115fced8e6b39245a1a16054bede2d)
- Charts-Smoothing-improved.png (5.02 KiB) Viewed 50161 times
-
Yeray
- Site Admin
![Site Admin Site Admin](./images/ranks/6stars.gif)
- Posts: 9534
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Tue Jun 18, 2019 2:29 pm
Great, thanks for the feedback!