|
Back
Midas
Rome
Roody
Rootana
|
Rome Analyzer Framework |
Not logged in |
|
|
|
Message ID: 160
Entry time: 07 Sep 2015
In reply to: 151
Reply to this: 161
|
Author: |
Ryu Sawada |
Topic: |
Bug Report |
Subject: |
Saving canvas as pdf via a button one vs many pads |
|
|
Dear Farrukh
I tried your code, but the problem was not reproduced.
I can save the canvas as attached without crash.
Only the difference from your code is the histograms.
Since I don't have your task I took and draw 'ADC' histograms from 'FillHistogram' task.
No other changes were made from your code.
I edited .h file of the tab from the automatically generated ones.
Ryu
> Dear Colleagues
>
> we have implemented in one of our tabs a button to call a function which saves a
> canvas to a pdf file with a time date stamp.
>
> 1) This works fine when there is only one histogram on the canvas and this code
> is MIDTBCTab.cpp (attached)
>
> 2) When the canvas is divided up into a 5x11 pads with 55 histograms and
> we want to save the _whole_ canvas with the whole picture (_not_ any individual
> pads) the code crashes and no file is generated - the tab code is MIDTRCTab.cpp
> and this is also attached
>
> I am wondering what is going on - is there anything obviously wrong ?
>
> many thanks
>
> Farrukh |
|
|