@@ -2726,11 +2726,11 @@ Misc
2726
2726
((calc-y) (lambda (rownum )
2727
2727
(- (/ sizey 2 )
2728
2728
(* rownum row-height))))
2729
- ((fixed-originx) 0 ) ; ; (if (dboard:tabdat-originx tabdat)
2730
- ; ; (dboard:tabdat-originx tabdat)
2731
- ; ; (begin
2732
- ; ; (dboard:tabdat-originx-set! tabdat originx)
2733
- ; ; originx)))
2729
+ ((fixed-originx) (if (dboard:tabdat-originx tabdat)
2730
+ (dboard:tabdat-originx tabdat)
2731
+ (begin
2732
+ (dboard:tabdat-originx-set! tabdat originx)
2733
+ originx)))
2734
2734
((fixed-originy) (if (dboard:tabdat-originy tabdat)
2735
2735
(dboard:tabdat-originy tabdat)
2736
2736
(begin
@@ -2767,7 +2767,7 @@ Misc
2767
2767
; ; (row-height 4)
2768
2768
(run-start (dboard:min-max < (map db:test-get-event_time testsdat)))
2769
2769
(run-end (dboard:min-max > (map (lambda (t )(+ (db:test-get-event_time t)(db:test-get-run_duration t))) testsdat)))
2770
- (timeoffset (- (+ fixed-originx canvas-margin) run-start))
2770
+ (timeoffset (- run-start)) ; ; (+ fixed-originx canvas-margin) run-start))
2771
2771
(run-duration (- run-end run-start))
2772
2772
(timescale (/ (- sizex (* 2 canvas-margin))
2773
2773
(if (> run-duration 0 )
@@ -2788,7 +2788,7 @@ Misc
2788
2788
; ; Have to keep moving the instantiated box as it is anchored at the lower left
2789
2789
; ; this should have worked for x in next statement? (maptime run-start)
2790
2790
; ; add 60 to make room for the graph
2791
- (vg:instantiate drawing " runslib" run-full-name run-full-name fixed-originx (- (calc-y curr-run-start-row) (+ graph-height run-to-run-margin)))
2791
+ (vg:instantiate drawing " runslib" run-full-name run-full-name 0 (- (calc-y curr-run-start-row) (+ graph-height run-to-run-margin)))
2792
2792
(mutex-unlock! mtx)
2793
2793
; ; (set! run-start-row (+ max-row 2))
2794
2794
; ; (dboard:tabdat-start-row-set! tabdat (+ new-run-start-row 1))
@@ -2854,10 +2854,10 @@ Misc
2854
2854
(if (null? tidstal)
2855
2855
(if iterated
2856
2856
(let* ((xtents (vg:get-extents-for-objs drawing new-test-objs))
2857
- (llx (- (car xtents) 5 ))
2857
+ (llx (- (car xtents) 10 ))
2858
2858
(lly (- (cadr xtents) 10 ))
2859
2859
(ulx (+ 5 (caddr xtents)))
2860
- (uly (+ 0 (cadddr xtents))))
2860
+ (uly (+ 10 (cadddr xtents))))
2861
2861
; ; (dashboard:add-bar rowhash 0 llx ulx num-rows: num-items)
2862
2862
; ; This is the box around the tests of an iterated test
2863
2863
(vg:add-obj-to-comp runcomp (vg:make-rect-obj llx lly ulx uly
@@ -2885,7 +2885,7 @@ Misc
2885
2885
(lly (list-ref new-xtnts 1 ))
2886
2886
(ulx (list-ref new-xtnts 2 ))
2887
2887
(uly (list-ref new-xtnts 3 ))
2888
- (outln (vg:make-rect-obj llx lly ulx uly
2888
+ (outln (vg:make-rect-obj -5 lly ulx uly
2889
2889
text: run-full-name
2890
2890
line-color: (vg:rgb->number 255 0 255 a: 128 ))))
2891
2891
; (vg:components-get-extents d1 c1)))
@@ -2894,8 +2894,8 @@ Misc
2894
2894
(vg:add-obj-to-comp runcomp outln)
2895
2895
(mutex-unlock! mtx)
2896
2896
; ; this is where we have enough info to place the graph
2897
- (dboard:graph commondat tabdat tab-num llx uly ulx (+ uly graph-height) run-start run-end timescale maptime run-full-name canvas-margin)
2898
- (dboard:tabdat-max-row-set! tabdat (+ (dboard:tabdat-max-row tabdat)(quotient (+ graph-height 40 ) row-height)))
2897
+ (dboard:graph commondat tabdat tab-num -5 ( + uly 3 ) ulx (+ uly graph-height 3 ) run-start run-end timescale maptime run-full-name canvas-margin)
2898
+ (dboard:tabdat-max-row-set! tabdat (+ (dboard:tabdat-max-row tabdat)(quotient (+ graph-height 40 3 ) row-height)))
2899
2899
; ; (vg:instance-move drawing run-full-name 0 (dboard:tabdat-max-row tabdat))
2900
2900
))
2901
2901
; ; end of the run handling loop
0 commit comments