Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2013-04-05

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:48 jberger joined #pdl
01:56 Meiermann joined #pdl
05:17 dummy_jb joined #pdl
12:49 _vicash_ joined #pdl
13:23 _vicash_ hi. i have 3 separate plots on 1 window. If I zoom using the mouse in one I want the other two plots to also scale simultaneously. I have gone through the source code even but I am not able to find the right events for this.. is there an onZoom event that exists or will that need to be added ?
13:24 _vicash_ is there an explicit event that notifies that the size of the plot has changed ?
13:57 Meiermann joined #pdl
14:54 MeierM joined #pdl
15:47 run4flat _vicash_, yep
15:47 * run4flat digs it up
15:48 run4flat use the axis' onChangeBounds event
15:49 run4flat set all of the onChangeBounds notifications to set the other plots' x-axis bounds and y-axis bounds
15:49 run4flat in order to prevent infinite recursion, you should use a state variable
15:49 run4flat have the onChangeBounds do nothing if $is_changing_bounds == 1
15:50 run4flat otherwise, it sets $on_changing_bounds = 1; change others; $on_changing_bounds = 0
15:50 run4flat or...
15:50 run4flat better yet...
15:51 run4flat use the axis _min and _max functions
15:51 run4flat which do not trigger notifications
15:52 run4flat I should probably explicitly document those; they may be implicitly documented somewhere
16:29 _vicash_ joined #pdl
16:33 _vicash_ run4flat, thanks. i will try it out and see.
18:36 jberger_ joined #pdl
18:44 _vicash_ joined #pdl
21:23 _vicash_ joined #pdl
22:52 jberger_ joined #pdl
23:16 jberger left #pdl
23:16 jberger joined #pdl

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary