Table Of Contents

Vvidget ServerServer Side Attributes ► Basics

Server side attributes reside in the template directory of the server request string. They are contained in a file that has a generalized recursive key value encoding of arbitrary complexity. It is most relevant as a starting point to define group attributes for a class of response parameters.

Although it has immediate applicability, its utility for generalization is really embedded in the Peer Visual Server API proper.

Line Graph

A Line Graph has one server side attribute in the file PVST_Line_Graph_attributes.definition. The contents are as follows:

{
color_table_is_circular = YES;
}

The value of color_table_is_circular is YES if colors loop through the color table, and NO if colors after the last entry in the color table are the constant of the last color value.

Bar or Column Chart

A Bar Chart or Column Chart has one server side attribute in the file PVST_Bar_Chart_attributes.definition or PVST_Column_Chart_attributes.definition respectively. The contents are as follows:

{
bar_half_width = 0.25;
}

The value of bar_half_width must be between 0.0 and 0.5 and represents the relative width of the bar. 0.0 means no width, 0.5 means the bars touch. Greater than 0.5 the bars overlap, which is probably not a desired effect. The default is 0.25, meaning the space between the bars equals the bar width.



© Copyright 1993-2020 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.