this is for holding javascript data
Adrian Price-Whelan color axis working, not color maps
over 10 years ago
Commit id: fc9064e3c000809dbef10d4396e17b03236cadc5
deletions | additions
diff --git a/panel_test.html b/panel_test.html
index 2f48f18..5b82a09 100644
--- a/panel_test.html
+++ b/panel_test.html
...
...
if (typeof state['colorAxis'] != 'undefined') {
console.log(state['colorAxis']);
color_scale.domain(domainByDataColumn[state['colorAxis']]);
color_scale.range(["red","green","blue"]);
color_scale(-1.0); color_scale.range(["red", "blue"]);
}
// TODO: needs better names, brain dumping...