Entering content frame

Object documentation Web Dynpro NumericValue API - IWDNumericValue Locate the document in its SAP Library structure

Overview

The NumericValue class is availabe for using numeric values of the data type double. This class can be used for specifying the value of a point - for example, the x value for scatter charts or the y value for category-based business graphics.

Property Descriptions

·        type
This property specifies the value type. The
type property can be filled with the following values and is represented by the enumeration type WDValueTypeEnumeration.

Enumeration Value

Short Description

chart

Describes the value for a small chart within a chart in a portfolio chart (see graphic below).

size

Describes the size of a point in a portfolio chart.

trendX

Describes the y component in the trend arrow of a portfolio chart.

trendY

Describes the y component in the trend arrow of a portfolio chart.

x

Describes the x value in a business graphic – for example, in a scatter chart.

y

Describes the y value in a business graphic – for example, in a category-based chart.

·        value
This property specifies the numeric value of a point. It must be bound to a context attribute within a context structure that provides the data for the values at runtime.
The initial value of this property is 0.0.

Overview of Inherited and Additional Properties

Name

Interface

Type

Initial Value

Bindable

Value Required

type

IWDNumericValue

ValueTypeEnumeration

 

bindable

No

value

IWDNumericValue

 

0.0

bindable_mandatory

No

Methods in the Web Dynpro IWDNumericValue API

Method Name

Parameter

Return Value

Short Description

bindingOfType

 

String

Returns the path of the context element to which the type property is bound. Returns NULL if no binding exists.

bindingOfValue

 

String

Returns the path of the context element to which the value property is bound. Returns NULL if no binding exists.

bindType

(String path)

 

Binds the type property to the context node specified by a path.

bindValue

(String path)

 

Binds the value property to the context node specified by a path.

getType

 

WDValueTypeEnumeration

Returns the value of the type property.

getValue

 

String

Returns the value of the value property.

setType

(WDValueTypeEnumeration value)

 

Sets the value of the type property.

setValue

(String value)

 

Sets the value of the value property.

Additional methods are available using inheritance: IWDAbstractValue; IWDViewElement.

Example

Portfolio chart for the representation of the chart value of the enumeration type WDValueTypeEnumeration:

This graphic is explained in the accompanying text

  

  

 

Leaving content frame