Table Of Contents

Vvidget ServerDictionary ► Perspective Surface Chart

This section explains how to form an input string for a Perspective Surface Chart such as these:

Format
chart_subtype=0 (Rectilinear)

The input string has this form:

chart_type=8&chart_subtype=0&chart_format_type=0&title=string&x_title=string&y_title=string&z_title=string&grid_x_length=N&grid_x_minimum=x0&grid_x_maximum=x1&grid_y_length=M&grid_y_minimum=y0&grid_y_maximum=y1&color_map_1_type=CMT1&color_map_2_type=CMT2&color_map_1_length=CML1&color_map_2_length=CML2&color_map_rgb_11=RRGGBBAA&color_map_rgb_12=RRGGBBAA&color_map_rgb_21=RRGGBBAA&color_map_rgb_22=RRGGBBAA&data_values=A01 A02 ... A0N A11 A12 ... A1N ... AM1 AM2 ... AMN

The following table defines the input string key and value pairs:

Chart Specific Entries
KeyValue Description
chart_type¹The chart type is always 8 (aliased to 3D surface), indicating a Perspective Surface Chart.
chart_subtype¹Always 0 (aliased to linear).
chart_format_type¹Always 0 (aliased to default).
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.
grid_x_lengthThe number of grid cells in the x-direction.
grid_x_minimumThe minimum x-value of the grid.
grid_x_maximumThe maximum x-value of the grid.
grid_y_lengthThe number of grid cells in the y-direction.
grid_y_minimumThe minimum y-value of the grid.
grid_y_maximumThe maximum y-value of the grid.
color_map_1_typeThe color mapping type (0, 1, 2, 3).
color_map_1_lengthNumber of colors in map 1.
color_map_rgb_11Beginning color of the color mapping.
color_map_rgb_12Ending color of the color mapping.
color_map_2_typeThe color mapping type (0, 1, 2, 3).
color_map_2_lengthNumber of colors in map 2.
color_map_rgb_21Beginning color of the color mapping.
color_map_rgb_22Ending color of the color mapping.
templatesA custom Templates directory.
data_valuesA white space delimited list of values representing the z-values of the grid matrix. See Data Oriented keys for additional information and keys.

If you incorporate this functionality into your web site please consult Web URL.

You can also modify the following Templates:

Template Document Names
TemplateDescription
PVST_Perspective_Surface_ChartForms the static attributes for the chart.
PVST_perspective_scatter_color_tableForms the line colors for odd format type indices.
PVST_perspective_scatter_color_table_1Forms the line colors for even format type indices.

The following Server Side Attributes define additional non-graphic attributes. A file with this name in the templates directory will alter the parameters that appear in the attribute file.

Server Side Attributes Names
NameDescription
PVST_Perspective_Surface_Chart_attributesMain server side attributes.



© 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.