Hi Lilian,
There are several methods:
(a) You may make the x-axis labels clickable (if your chart has x-axis labels). For example:
string imageMap = c.getHTMLImageMap(.....) + c.xAxis().getHTMLImageMap(....);
(b) You may add a transparent scatter layer using the same data as the bar layer. In this way, even if the bar is not clickable, the scatter symbol (which is transparent and therefore invisible) is clickable, so you can have something clickable at 0 if the bar is 0.
c.addScatterLayer(null, myData, "", Chart.SquareSymbol, 30, Chart.Transparent, Chart.Transparent);
Hope this can help.
Regards
Peter Kwan |