TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
-
patronas
- Newbie
- 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
- 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
- Posts: 1274
- 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
- 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 (2.66 KiB) Viewed 73123 times
-
Marc
- Site Admin
- Posts: 1274
- 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
- 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
- Posts: 9622
- 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 (13.01 KiB) Viewed 72883 times
The same chart without the modifications:
- 2019-05-10_17-03-54.png (7.3 KiB) Viewed 72883 times
-
patronas
- Newbie
- 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
-
patronas
- Newbie
- 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
- Posts: 9622
- 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
- 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 (5.02 KiB) Viewed 71977 times
-
Yeray
- Site Admin
- Posts: 9622
- 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!