Table Of Contents

Vvidget ServerDictionary ► Perspective Scatter Chart

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

Format
chart_subtype=0 (Rectilinear)

The input string has this form:

chart_type=9&chart_subtype=0&chart_format_type=0&title=string&x_title=string&y_title=string&z_title=string&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=X1 Y1 Z1 X2 Y2 Z2 ... XN YN ZN

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

Chart Specific Entries
KeyValue Description
chart_type¹The chart type is always 9 (aliased to 3D scatter), indicating a Perspective Scatter 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.
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 x y z coordinates of each point. 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_Scatter_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_Scatter_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.