Skip to content

Instantly share code, notes, and snippets.

nv.chartScripts = []
for(var model in nv.models)
{
if(model.match(/[cC]hart$/)) {
(function() {
var currentModel = model;
var chartFunction = nv.models[currentModel];
nv.models[currentModel] = function() {
var chart = chartFunction();
chart.apply = function() {