This class represents a grid (or multidimensional array) that is built
from Endeca analytics data. The data is stored in a way that is convenient
for building graphs, charts, or tables.
Namespace: Endeca.Navigation.ChartingAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)
Syntax
| C# |
|---|
public class Grid |
| Visual Basic |
|---|
Public Class Grid |
| Visual C++ |
|---|
public ref class Grid |
Remarks
A Grid returns values based on one or more "axes".
For example, suppose you have cross-tab data in the following form:
CopyC#
In this case, you create a Grid with 2 axisNames ("Name" and "Quarter") and with
a valueName "Sales". The items in each axis (e.g., "Smith" and "3Q06") are called Labels,
and are typically used as labels for the axes of a graph or table.
{ Name: Smith, Quarter: 1Q06, Sales: 3000 }
{ Name: Smith, Quarter: 2Q06, Sales: 4200 }
{ Name: Smith, Quarter: 3Q06, Sales: 4500 }
{ Name: Jones, Quarter: 1Q06, Sales: 1200 }
{ Name: Jones, Quarter: 2Q06, Sales: 1600 }These Labels are also used to look up each value to display using the getValue method. In the example above, getValue for the Labels "Smith" and "3Q06" would return "4500".