문제

I enhanced the original implementation of parallel coordinates https://github.com/syntagmatic/parallel-coordinates. The current visualisation looks like this http://xmashallax.xm.funpic.de/bc/test_csv.html:

enter image description here

Basically, there are 3 different parallel coordinate widget arranged in form of a matrix with different axes orders now.

My current target is to synchronize brushes between these rows and I don't have any idea how I could achieve this. I have 3 different objects and want them to synchronize their changes immediately (if possible). Let's say I create a brush in row 1 at cylinders. Now row 2 and 3 cylinders should apply that brush to their data.

A "brush" handler is already implemented, but my problem is to inform the other handlers with a callback or anything like this (Observer pattern crosses my mind while I'm writing this). Although I spent many hours within the original code, I still don't understand every detail and need some help.

도움이 되었습니까?

해결책

Yeah, you should use the Observer pattern.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top