Skip to content

Instantly share code, notes, and snippets.

View jsweiler's full-sized avatar
💭
Solving problems!

Jeff jsweiler

💭
Solving problems!
View GitHub Profile
@jsweiler
jsweiler / index.html
Created February 22, 2018 14:45
chartsjs plugin data labels demo // source https://jsbin.com/kuyigetofi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>chartsjs plugin data labels demo</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.bundle.min.js"></script>
<script src="https://github.com/garipov/chartsjs-plugin-data-labels/releases/download/v0.1.3/chartsjs-plugin-data-labels.js"></script>
</head>
<body>
@jsweiler
jsweiler / chart.html
Created February 22, 2018 14:22 — forked from mesuutt/chart.html
Chart.js - Doughnut chart with custom legend http://codepen.io/mesuutt/pen/LbyPvr
<div class="canvas-con">
<div class="canvas-con-inner">
<canvas id="mychart" height="250px"></canvas>
</div>
<div id="my-legend-con" class="legend-con"></div>
</div>
@jsweiler
jsweiler / App.xaml.cs
Created September 11, 2017 17:19 — forked from ronnieoverby/App.xaml.cs
wpf global exception handling
// somewhere early in App.xaml.cs
AppDomain.CurrentDomain.UnhandledException += (s, e) =>
LogUnhandledException((Exception) e.ExceptionObject, "AppDomain.CurrentDomain.UnhandledException");
DispatcherUnhandledException += (s, e) =>
LogUnhandledException(e.Exception, "Application.Current.DispatcherUnhandledException");
TaskScheduler.UnobservedTaskException += (s, e) =>
LogUnhandledException(e.Exception, "TaskScheduler.UnobservedTaskException");
@jsweiler
jsweiler / App.xaml.cs
Created September 11, 2017 17:19 — forked from ronnieoverby/App.xaml.cs
wpf global exception handling
// somewhere early in App.xaml.cs
AppDomain.CurrentDomain.UnhandledException += (s, e) =>
LogUnhandledException((Exception) e.ExceptionObject, "AppDomain.CurrentDomain.UnhandledException");
DispatcherUnhandledException += (s, e) =>
LogUnhandledException(e.Exception, "Application.Current.DispatcherUnhandledException");
TaskScheduler.UnobservedTaskException += (s, e) =>
LogUnhandledException(e.Exception, "TaskScheduler.UnobservedTaskException");