Skip to content

Commit c1ed410

Browse files
committed
Hotfix for v0.4.1
1 parent 084fdc4 commit c1ed410

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

chartjs-plugin-annotation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* chartjs-plugin-annotation.js
33
* http://chartjs.org/
4-
* Version: 0.4.1
4+
* Version: 0.4.2
55
*
66
* Copyright 2016 Evert Timberg
77
* Released under the MIT license
@@ -218,6 +218,7 @@ module.exports = function(Chart) {
218218

219219
var xScale = chartInstance.scales[options.xScaleID];
220220
var yScale = chartInstance.scales[options.yScaleID];
221+
var chartArea = chartInstance.chartArea;
221222

222223
model.ranges = {};
223224

chartjs-plugin-annotation.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "chartjs-plugin-annotation",
33
"description": "Annotations for Chart.js",
4-
"version": "0.4.1",
4+
"version": "0.4.2",
55
"license": "MIT",
66
"main": "chartjs-plugin-annotation.js",
77
"repository": {

src/types/box.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = function(Chart) {
88

99
var xScale = chartInstance.scales[options.xScaleID];
1010
var yScale = chartInstance.scales[options.yScaleID];
11+
var chartArea = chartInstance.chartArea;
1112

1213
model.ranges = {};
1314

0 commit comments

Comments
 (0)