void setDropShadow(int color = 0xaaaaaa, int offsetX = 5, int offsetY = 0x7fffffff, int blurRadius = 5);
Adds a drop shadow to the chart.
The drop shadow effect is created using a single color representation of the non-transparent part of the chart, offsetted by an amount, and put under the chart. The drop shadow can be blurred to create a soft drop shadow effect.
Note that adding a drop shadow will increase the width and height of the chart image so as to accommodate the drop shadow.
Because the drop shadow is located exterior to the original chart, it uses an exterior background color different from the background color of the original chart. The exterior background color is by default white, and can be configured with
BaseChart.setRoundedFrame.
© 2023 Advanced Software Engineering Limited. All rights reserved.