ChartDirector 6.0 (C++ Edition)

BarLayer.setMinImageMapSize


Usage

void setMinImageMapSize(int size);

Description

Sets the minimum height (or width if the x-axis and y-axis are swapped with XYChart.swapXY) of the hot spots defined by the image map.

By default, the hot spots defined by image map exactly cover the bars. For very short bars, the hot spots may be very small, and it may become difficult to move the mouse over the hot spots.

This method ensures the hot spots are at least of certain size, even if the bars are shorter. The default is 5 pixels.

Arguments

ArgumentDefaultDescription
size(Mandatory)The minimum height (or width if the x-axis and y-axis are swapped with XYChart.swapXY) of the hot spots defined by the image map.

Return Value

None