Table Of Contents

Vvidget ServerDictionary ► Perspective Volume Chart

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

Format
chart_subtype=0 (Rectilinear)

The input string has this form:

chart_type=11&chart_subtype=0&chart_format_type=0&title=string&x_title=string&y_title=string&z_title=string&grid_x_length=NX&grid_x_minimum=x0&grid_x_maximum=x1&grid_y_length=NY&grid_y_minimum=y0&grid_y_maximum=y1&grid_z_length=NZ&grid_z_minimum=z0&grid_z_maximum=z1&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=A1 A2 ... AN

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

Chart Specific Entries
KeyValue Description
chart_type¹The chart type is always 11 (aliased to 3D volume), indicating a Perspective Volume 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.
grid_z_lengthThe number of grid cells in the z-direction.
grid_z_minimumThe minimum z-value of the grid.
grid_z_maximumThe maximum z-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 density-values of the grid matrix. A density value is a value between zero and one inclusive. 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_Volume_ChartForms the static attributes for the chart.
PVST_perspective_volume_color_tableForms the line colors for odd format type indices.
PVST_perspective_volume_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_Volume_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.