Mouseover event on chart

0

I would like to move the mouse on the chart to get the data and display elsewhere and not only as the default tooltip of it

Currently my code looks like this:

function graficoPtAparente(){

         chartPtAparente = new FusionCharts({
               type: 'msline',
               renderAt: 'chartPotenciaAparenteDiv',
               width: '100%',
               dataFormat: 'json',
               dataSource: {
                   "chart": {
                       "caption": "Limites diários",
                       //"subCaption": "Dia "+dia,
                       "theme": "hulk-light",
                       "showhovereffect": "1",
                       "xAxisName": "Dias",
                       "showValues": "0",
                       //"numbersuffix": "ºC",
                       "drawCrossLine": "1",
                       "crossLineAlpha": "100",
                       "crossLineColor": "#cc3300",
                       "bgColor": "#ffffff",
                       "canvasBorderAlpha": "0",
                   },
                   "categories": categoriaPtAparente,
                   "dataset": datasetPtAparente,
                   "trendlines": trendlinesPtAparente
               },"events": {
                  "entityRollover": function (eventObj, dataObj) {
                        console.log(eventObj)
                  }
               }
           }).render();

    }

Everything works fine except for the events attribute using entityRollover

I'm trying to follow how you're at here but it did not work

    
asked by anonymous 03.09.2018 / 21:57

0 answers