Smoothing mode

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
patronas
Newbie
Newbie
Posts: 9
Joined: Fri Mar 01, 2019 12:00 am

Smoothing mode

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

Code: Select all

public boolean getSmoothingMode()
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
Posts: 9
Joined: Fri Mar 01, 2019 12:00 am

Re: Smoothing mode

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.

Post Reply