108) "If the max-throughput text clashes with legend, move it down into the chart like the original bootcharts image renderer does"
109) "Have a minimum image width, like the original bootchart. To avoid truncating headers etc. for short boottimes"
Since cairo seems to need to know the width and height to create an image surface, which is needed for a cairo context, which is needed to measure text - I couldn't find a way to avoid truncating the headers without eg. drawing twice. So I opted for a minimum width like the original bootchart.
Revisions 108 and 109 fix
108) "If the max-throughput text clashes with legend, move it down into the chart like the original bootcharts image renderer does"
109) "Have a minimum image width, like the original bootchart. To avoid truncating headers etc. for short boottimes"
Since cairo seems to need to know the width and height to create an image surface, which is needed for a cairo context, which is needed to measure text - I couldn't find a way to avoid truncating the headers without eg. drawing twice. So I opted for a minimum width like the original bootchart.
Thanks for the reports (again)
Anders