nupic.visualizations
nupic.visualizations copied to clipboard
Users can choose to highlight some series
A feedback from users, they want to be able to highlight some (a few) series while still visualizing all of them.
TODO:
- [ ] add a row with checkboxes 'Highlight'
- [ ] change options in graph to highlight the selected series
USECASE:
- on multi-series data
- for example the OPF file
- you want to see/feel all of the variables
- but focus on one/few (
anomalyScore, consumption)
the highlightSelectedSeries and strokeBorderWidth functionality seems to be causing unbearable slowdown in the graph rendering, we should investigate and report upstream.
https://github.com/nupic-community/nupic.visualizations/blob/master/client/src/app/appCtrl.js#L542-L547
One way to do this without a performance hit would be to change the colors of the plot lines. We would need to write a little algorithm that can output a lightened version of a given color. The lightened colors would then fade into the background, giving the other plot lines prominence.
Yes, or maybe a default transparency ~80% and 100% for selected. In the "Profiling" issue we still need to asses what throttles the performance. And I wanted to double-check with you, the slow-down should not be caused by anything at our side, right? So we can raise an issue upstream..