Skip to content

Instantly share code, notes, and snippets.

View amir-hadzic's full-sized avatar

Amir Hadzic amir-hadzic

  • Software Engineer, Stacker
  • Sarajevo, Bosnia And Herzegovina
View GitHub Profile
@amir-hadzic
amir-hadzic / Plugin.StackFill.js
Last active February 8, 2017 10:37
Workaround for Chart.js issue #2380
import Chart from 'chart.js';
import { findLastIndex } from 'lodash';
function lineTo(ctx, p0, p1, invert) {
if (p1.steppedLine === true) {
ctx.lineTo(p1.x, p0.y);
ctx.lineTo(p1.x, p1.y);
} else if (p1.tension === 0) {
ctx.lineTo(p1.x, p1.y);
} else {

[] First [] SEcond

[] First
[] Second
@amir-hadzic
amir-hadzic / about.md
Created August 12, 2011 08:14 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer

My Programming Archivements