Vvidget Code Reference Manual

Vvidget Code > Common Keys > Graph Oriented

This section explains keys that are common to graph-oriented facilities.

The following table defines the input string key and value pairs for graph titles.

Graph Titles Specific
KeyValue Description
titleThe main title of the graph. If this key is not present then the template's title is used.
x_titleThe x title of the graph. If this key is not present then the template's x-title is used.
y_titleThe y title of the graph. If this key is not present then the template's y-title is used.
z_titleThe z title of the graph. If this key is not present then the template's z-title is used. This only applies to 3D graphs.
yM_titleThe left and right y-titles of the graph for M of 1 or 2 respectively. If this key is not present then the template's y-title is used.

The following table defines keys and values for axis limits. Any of these keys can appear in the input string. There is a lot going on with limit values and the autoscale feature may get in the way of exact limits. The basic philosophy of the autoscaler is to round to good looking decimals and to maintain uniform tick increments, even at the axis limits. Note that not all graphs and settings use these limits. The Line Graph and Area Graph are two graphs which use these limits, unless x-labels are on in which case these limits do not make sense for the x-axis. For the Bar Chart only the x-limits apply and for the Column Chart only the y-limits apply. None of these limits are applicable to the Pie Chart.

Axes Limit Specific
KeyValue Description
x_minimumDefines the x-minimum value of the x-axis. If this key is not present then the corresponding limit is autoscaled according to the data limits.
x_maximumDefines the x-maximum value of the x-axis. If this key is not present then the corresponding limit is autoscaled according to the data limits.
y_minimumDefines the y-minimum value of the y-axis. If this key is not present then the corresponding limit is autoscaled according to the data limits.
y_maximumDefines the y-maximum value of the y-axis. If this key is not present then the corresponding limit is autoscaled according to the data limits.

The following table defines the input string key and value pairs for line parameters. These are appropriate for the Line and Date charts.

Line Specific
KeyValue Description
line_colorA hex encoded representation of a RGBA color value for the line color. If this key is not present then the color table template is used.
yM_line_colorSame as line_color, except specific to two-y-axis graphs. Curves associated with the left hand axis are colored with y1_line_color and curves associated with the right hand axis are colored with y2_line_color.

Please help improve this documentation. If a section is hard to understand, there is a typo, you would like a new section added, or you detect any other improvement that can be made then please email support@vvi.com with your information.




© Copyright 1993-2011 by VVimaging, Inc. (VVI); All Rights Reserved. Please email support@vvi.com with any comments you have concerning this documentation. See Legal for trademark and legal information.