← Back to team overview

graphite-dev team mailing list archive

Re: [Question #250223]: internal canvas width and rendering position consistancy

 

Question #250223 on Graphite changed:
https://answers.launchpad.net/graphite/+question/250223

Description changed to:
Hi'yall!  I have 2+ graphs that I would like to compare over the same
time period.  I am generating them with the graphing API URL and
displaying them full screen width, but tiled vertically. The image size
for all graphs is the same, but because the width and number of Y-axis
varies from graph to graph this leaves the actual graph rendering canvas
with differing sizes, and although the from/until range and external
dimensions of all graphs are the same, the difference is internal canvas
width of course means that specific points in time don't necessarily
line up between graphs.

I know I can hide the axis and legend etc, but this still leaves
different sized white space (although much reduced to account for the
hidden axis) around the actual graph canvas within the image. Even with
the margin parameter set to 0 or a constant, and/or graphOnly set to
true, I still seem to get a inconsistent amount of white space around
the actual internal canvas, depending on what metrics I display!

Is there a way to either:
* Specify the size and position of the internal graph canvas.
* Specify the TOTAL size of the left and right margin (essentially dictating the size of the internal graph canvas)
* Have more control over the layout of elements in the image.
* Or any other ideas how I can achieve a consistent layout between different graphs.

I'm afraid I cant compose all the data into a single graph as I would
need 3 or more Y-axis to keep the scale and units for the many varying
metrics in use, some graphs are already quite busy and it would get a
bit messy!

Thanks in advance :)

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.