javascript - How to Count the number of chart prints in Highcharts -


i track number of times 'print chart' option clicked highcharts context menu on chart.

there no mention of word 'print' in highcharts.js file , reference printing in highcharts api documentation chart.print() function, context menu doesn't print via method (i setup console.log see if chart.print() gets called context menu, , doesn't; function programatically calling print).

so need hook way highcharts prints can count function calls.

many in advance.

print function available in exporting.js file.

http://api.highcharts.com/highcharts#chart.print()


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -