Returns the specified Z value (bubble size) of a series in the chart object (for Bubble charts).
object.GetSeriesZValue index, valueindex
If the index argument refers to a series that does not exist in the chart object, the GetSeriesZValue method raises an invalid series index error.
If the valueindex argument refers to a Z value that does not exist in the specified series, the GetSeriesZValue method raises an out of bounds error.
Note: This method is available when manipulating Bubble data series required for displaying Bubble charts. Note that the Chart type (bubble, bar, column, line, etc) is defined in the Swiff Chart style file (.scs) which must be loaded via the LoadStyle method.
The following VBScript code illustrates use of the GetSeriesZValue method.
'Set the series chart.SetDataFromQuery 'Retrieve the number of series stored in the chart object n_series= chart.GetSeriesCount n_categories= chart.GetValuesCount If n_series = 0 Then Response.Write "No series available" Else 'Enumerate the series stored in the chart object For i = 0 to (n_series-1) 'Enumerate the XY points of the series For j = 0 to (n_categories-1) str= "Series[" & i & "][" & j & "]=" str= str & "(" & (chart.GetSeriesXValue i, j) str= str & "," str= str & (chart.GetSeriesYValue i, j) str= str & "," str= str & (chart.GetSeriesZValue i, j) & ")<br>" Response.Write str Next Next End If
GetSeriesXValue Method | GetSeriesYValue Method | GetSeriesCount Method | SetSeriesZValuesFromString Method | SetSeriesZValuesFromArray Method
Applies To: Chart Object