I'm trying hard to add functionalities to my charts by re-writing draw chart functions of chartJS v1.x to v2.0. A lot of features inside the chart draw functions use "self.scale.endPoint"in v1.x but it looks like there are lots of changes in the v2.0 structure and I'm unable to find it. Like here :
// the min is required so animation does not start from below the axes
bar.y = Math.min(bar.y + radius, self.scale.endPoint - 1);
How can I use this value ?
JSFiddle can be seen here.