Vvidget Server ► Dictionary ► 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 | |
Key | Value 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). |
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. |
grid_x_length | The number of grid cells in the x-direction. |
grid_x_minimum | The minimum x-value of the grid. |
grid_x_maximum | The maximum x-value of the grid. |
grid_y_length | The number of grid cells in the y-direction. |
grid_y_minimum | The minimum y-value of the grid. |
grid_y_maximum | The maximum y-value of the grid. |
color_map_1_type | The color mapping type (0, 1, 2, 3). |
color_map_1_length | Number of colors in map 1. |
color_map_rgb_11 | Beginning color of the color mapping. |
color_map_rgb_12 | Ending color of the color mapping. |
color_map_2_type | The color mapping type (0, 1, 2, 3). |
color_map_2_length | Number of colors in map 2. |
color_map_rgb_21 | Beginning color of the color mapping. |
color_map_rgb_22 | Ending color of the color mapping. |
templates | A custom Templates directory. |
data_values | A 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 | |
Template | Description |
PVST_Perspective_Surface_Chart | Forms the static attributes for the chart. |
PVST_perspective_scatter_color_table | Forms the line colors for odd format type indices. |
PVST_perspective_scatter_color_table_1 | Forms 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 | |
Name | Description |
PVST_Perspective_Surface_Chart_attributes | Main server side attributes. |