We're sorry but this site requires JavaScript.
Is this content useful?
Thank you for your feedback!
Thank you for your feedback! You have rated this topic in the last 30 days.
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.
Parameters
No parameters are used with this method.
Display a message box with the number of series:
msgbox(WpfWindow("MainWindow").XamCategoryChart("columnCategoryChart").GetSeriesCount)
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
The series name as a parameter.
Displaying a message box with the number of series:
msgbox(WpfWindow("MainWindow").XamCategoryChart("columnCategoryChart").GetDataPointCount (“series1”))
The series index as a parameter.
Displaying a message box with the number of series:
msgbox(WpfWindow("MainWindow").XamCategoryChart("columnCategoryChart").GetDataPointCount (1))
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.