html5 canvas - Extend chart.js horizontal bar graph to include a vertical line -


i'm trying add vertical line @ set point of horizontal bar chart. examples i've found not seem apply charts.js 2. if create new chart type , use horizontalbar draw method no modifications, chart won't draw.

chart.controllers.horizontalbarwithline = chart.controllers.horizontalbar.extend({     draw: function () {         chart.controllers.horizontalbar.prototype.draw.apply(this, arguments);     } }); 

can explain how extend chart?

here's current attemp: https://jsfiddle.net/dwelch/6f1gfog2/

please see answer question. think looking for:

how draw vertical line on horizontal bar chart chartjs?


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

python 3.5 - Pyqtgraph string in x tick -