Vvidget Server ► 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 | |
Key | Value Description |
title | The main title of the graph. If this key is not present then the template's title is used. |
x_title | The x title of the graph. If this key is not present then the template's x-title is used. |
y_title | The y title of the graph. If this key is not present then the template's y-title is used. |
z_title | The 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_title | The 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 | |
Key | Value Description |
x_minimum | Defines 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_maximum | Defines 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_minimum | Defines 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_maximum | Defines 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 | |
Key | Value Description |
line_color | A 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_color | Same 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. |