Menu

Treemap - PointClickEvent

2015-11-04
2015-11-12
  • Bruno Bravo

    Bruno Bravo - 2015-11-04

    Hi everyone,

    I need to use the method "setPointClickEventHandler":

    new TreemapPlotOptions()
        .setPointClickEventHandler(new PointClickEventHandler() {
        @Override
        public boolean onClick(PointClickEvent evt) {
            Point point = evt.getPoint();
            //...
        });
    

    But unfortunately, there is no method "setPointClickEventHandler" for TreemapPlotOptions. Is there any alternative for using "PointClickEventHandler" in TreeMap chart?

    It is possible to create an PointEvent using Highcharts: http://jsfiddle.net/4sco3kze/

     
  • Bruno Bravo

    Bruno Bravo - 2015-11-12

    I used the method "setPointClickEventHandler" of the class "SeriesPlotOptions" instead of the method in the class "TreemapPlotOptions" and it worked fine for me :)

    tks

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.