ChartDirector 7.0 (Python Edition)

BaseBoxLayer.setMinImageMapSize


Usage

setMinImageMapSize(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 symbols. For very short symbols, 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 symbols 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