Skip to content

Instantly share code, notes, and snippets.

@nulltask
Created March 3, 2016 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nulltask/923c7efefd19a23521d1 to your computer and use it in GitHub Desktop.
Save nulltask/923c7efefd19a23521d1 to your computer and use it in GitHub Desktop.
1c1
< /*!
---
> /*
952c952
<
---
>
957c957
<
---
>
963c963
<
---
>
966c966
<
---
>
970c970
<
---
>
1245d1244
<
1392,1393c1391,1392
<
< onAnimationProgress: null, // user specified callback to fire on each step of the animation
---
>
> onAnimationProgress: null, // user specified callback to fire on each step of the animation
1396c1395
<
---
>
2141c2140
<
---
>
2157c2156
<
---
>
2187c2186
<
---
>
2189c2188
<
---
>
2652c2651
< segment.highlight = Chart.defaults.global.segmentHighlightColorDefaults[index % Chart.defaults.global.segmentHighlightColorDefaults.length];
---
> segment.highlight = Chart.defaults.global.segmentHighlightColorDefaults[index % Chart.defaults.global.segmentHighlightColorDefaults.length];
3332c3331
<
---
>
3692d3690
<
3708c3706,3717
< ctx.fillStyle = dataset.fillColor;
---
>
> var img = new Image();
> img.src = "../../images/graphic-radar-heatmap.png";
>
> var pattern = ctx.createPattern(img, "");
> ctx.fillStyle = pattern;
> // ctx.drawImage(img, 0, 0, 290, 290);
> // img.onload = function() {
> // ctx.drawImage(img, 0, 0, 290, 290);
> // }
>
> // ctx.fillStyle = dataset.fillColor;
3711a3721
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment