Personal tools
You are here: Home Documentation GraphTool GraphTool Metadata
Document Actions

GraphTool Metadata

by admin last modified 2008-04-17 16:16

A short disucussion of all the available metadata options for graphtool graphs.

The following metadata attributes are available to all GraphTool graphs:

  • title - Title at the top of the graph.  To have a subtitle, have two lines of text (that is, anything after '\n' will be on the subtitle).
  • title_size - Font size for the title
  • xlabel - The label for the x-axis
  • ylabel - The label for the y-axis
  • columns - The number of columns present in the graph legend
  • width - The width (in pixels) of the graph
  • height - The height (in pixels) of the graph
  • max_rows - The maximum number of rows in the graph legend
  • legend - Set to False to remove the legend
  • text_padding - The amount of padding between rows (in pixels) for the legend
  • legend_padding - The amount of space between the axis and the legend; in the percent of the graph divided by 100
  • watermark - A file containing the watermark (or set to False for no watermark)
  • font_family - Font family for the graph's text
  • font - Font name for the graph's text
  • text_size - Size of the graph's text
  • log_xaxis - Set to true to make the x-axis logarithm-based
  • log_yaxis - Set to true to make the y-axis logarithm-based
  • subtitle_size - size of the graph's subtitle, if present

Powered by Plone, the Open Source Content Management System