Version

xamCategoryChart - Replay-Only Methods

Topic Overview

Purpose

This topic provides reference information about the replay-only user methods for testing the xamCategoryChart™ control.

In this topic

This topic contains the following sections:

xamCategoryChart Test Object Replay-Only Methods

Replay-only methods summary chart

The following table briefly explains the replay-only methods for testing the control. Detailed information about the methods is provided below the table.

Method Description

Returns the number of series in the xamCategoryChart control.

Returns the number of data points in the specified series.

GetSeriesCount

Description

The GetSeriesCount method returns the number of series in the xamCategoryChart control.

Details

No additional details.

Parameters

No parameters are used with this method.

Example

Display a message box with the number of series:

msgbox(WpfWindow("MainWindow").XamCategoryChart("columnCategoryChart").GetSeriesCount)

Default setting

No default setting.

Possible exceptions

No known exceptions.

GetDataPointCount

Description

The GetDataPointCount method returns the number of data points in a specified series.

Details

This method accepts as a parameter either the series name or index.

Parameters

The following table explains the method’s parameters together with some sample code.

Method Parameter Description

Series name

The series name as a parameter.

Example

Displaying a message box with the number of series:

msgbox(WpfWindow("MainWindow").XamCategoryChart("columnCategoryChart").GetDataPointCount (“series1”))

Series index

The series index as a parameter.

Example

Displaying a message box with the number of series:

msgbox(WpfWindow("MainWindow").XamCategoryChart("columnCategoryChart").GetDataPointCount (1))

Default setting

No default setting.

Possible exceptions

No known exceptions.

Related Content

Topics

The following table lists other topics you may find useful.

Topic Purpose

This topic provides information about the user actions of the xamCategoryChart™ control which you can test and the elements you can inspect.

This topic provides reference information about the recordable user methods for testing the xamCategoryChart™ control.

This topic provides reference information about the inspectable test object properties of the xamCategoryChart™ control.

This topic provides reference information about the proxy class that supports the testing of the xamCategoryChart™ control in Micro Focus Unified Functional Testing software.