This tag can be used for setting background color of chart and etc.
| Tag | Explanation |
|---|---|
| ChartPaintTags.DEFAULT | Style for setting chart colors |
Table 5.8.2.1 ChartPaintTags
Usage:
//setting chart background color using ChartPaintTags chart.getPaintStyle().setBackground(ChartPaintTags.DEFAULT, new Color(255,255,153)); |
Anti - aliasing smoothness the edges after rendering a shape. This feature is available just for 3D charts.
Note: Enabling anti-aliasing will use more memory and slow down the chart rendering speed. We suggest not to use these function for a complex charts.
Usage:
1 | // setting Anti-aliasing. You can set None or 2x sampling. chart.setAntiAliasing(AntiAliasing.SuperSampling2x); // renders anti-aliased fonts. chart.setSmoothFonts(true); // renders anti-aliased lines. chart.setSmoothLines(true); |
Figure 5.8.2.1 3D Charts Without Anti-Aliasing Demonstration
Figure 5.8.2.2 3D Charts With Anti-Aliasing Demonstration