; Data Input:
Surface DataPoints API

Special Features for Surface Charts
Data Mapping
Enable Data Refresh
Data Points

Hyperlinks
3D Property Set

Special Features for Surface Charts

Heat Map (API Only)
// set the surface chart area to be of different colors depending on the
// y values.

// set color spectrum, green when y < 12, yellow when 12 < y < 24,
// and red when y > 24

double[] value = {12, 24};
Color[] sColor = { Color.green, Color.yellow, Color.red };
ColorSpectrum colorSpectrum = new ColorSpectrum( sColor, value );

// apply color spectrum specifications to the surface chart
chart.geth3DProperties().setColorSpectrum( colorSpectrum );

Data Mapping
Before a chart is actually created, we need to specify the data mapping information to EspressChart. To do so, we can create an instance of the colInfo class and include this in the QbChart constructor that we will call.
Explanation:
Xvalue, YValue & Zvalue: The X-Axis refers to the x coordinate point in a plane and the Y-Axis refers to the y coordinate point in the same plane while the Z-Axis refers to the z coordinate point in the same plane.  The three points together define a point represented in the plane.  Each coordinate point represents the position.
Enable Data Refresh
For information on Data Refresh, please refer to Enable Data Refresh in 2D DataPoints API.

Data Points
For information on Data Points, please refer to Data Points in 2D DataPoints API.

Set Color
For information on Set Color, please refer to SetColor in 2D DataPoints API.

Hide Zero-Value Data Points
For information on Hide Zero-Value Data Points, please refer to Hide Zero-Value Data Points in 2D DataPoints API.

Hyperlinks
To create charts with Hyperlinks, first create an object that has a handle on the chart’s Hyperlinks properties. Then, hyperlink properties can be specified through the IHyperLinkSet class methods.
// create an IHyperLinkSet object, "hHyperLinks" that
// has a handle on the chart’s HyperLinks
IHyperLinkSet hHyperLinks = chart.gethHyperLinks();

// links for the x = 50 & y = 50, with hint box
// new HyperLink();
HyperLink temp = new HyperLink();

// createHyperLinkForSurfaceChart(java.lang.String xValue,
// java.lang.String zValue, java.lang.String link)
temp.createHyperLinkForSurfaceChart( "50", "50", "http://www.quadbase.com" );

// set the hint box message
temp.setHintValue("Click Here for x=50 & z=50" );

// add the hyperlink to the chart’s hyperlink set
hHyperLinks.add(temp);

3D Property Set
To adjust 3D properties of the chart, first, get a handle of through the chart.geth3DProperties() method. Then, the different properties can be manipulated. Sample codes are given below. Please refer to QbChart, ColInfo, I3DPropertySet, I3DControlPanel, IColumnMap, IDataPointSet, IHyperLinkSet, & HyperLink in EspressChart APIDocs for additional information.