AGGraphLegend / AGGraphLegendObj
define a legend for one or more AGGraph objects
AGGeometryPrimitive AGGraphLegend
{
geometry = {0,0};
AGColor fillColor = "background";
AGColor frameColor = "antibackground";
AGDistance frameWidth = 0.25;
AGFont labelFont = "Roman-Simplex";
AGDistance labelHeight = 2.7;
AGColor labelColor = "antibackground";
AGInt numColumns = 1;
AGString title = "Legend";
AGFont titleFont = "Roman-Simplex";
AGDistance titleHeight = 3.0;
AGColor titleColor = "antibackground";
AGGraph+IPort2+read+opt &graphs[];
};
AGLegend is a legend, including the information from any AGGraph referenced through the graph's subobject. AGGraphLegendObj includes an AGDataObject for your convenience.
Inherited from AGPrimitive through AGGeometryPrimitive.
Inherited from AGGeometryPrimitive.
fillColor
frameColor
frameWidth
Fill color, frame color, and frame width of the rectangular legend area.
labelFont
labelHeight
labelColor
The font, height, and color for the labels in the legend.
The number of columns in legend.
title
titleFont
titleHeight
titleColor
Text, font, height, and color of the legend title.
examples/logex2.v
examples/simpGph.v
AGGeometryPrimitive / AGRenderPrimitive
AGGraph
AGGraphViewport / AGGraphViewportObj