Forum Replies Created by ToasterSch

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: Stacked area click #14913

    hi,

    @Suyash

    I found a solution in suing the contentformatter:

    toolTip: {contentFormatter: onCanvasClick}

    function onCanvasClick(e) {
    document.getElementById(“eventYValue”).innerHTML = e.entries[0].dataSeries.name;
    };
    so i get the dataseries Name and can make my selection for the drilldrown

    chartContainer.addEventListener(‘click’, onDataSeriesClick); // and here im catching the click

    BR
    ToasterSch

    in reply to: Stacked area click #14908

    yeah this is the correct function, but it is only responding to the datapoint marker not for the coloured area of an stacked area chart

Viewing 2 posts - 1 through 2 (of 2 total)