The ChartDataPoint
control: ChartDataPoint container for bar, line and other chart types. Based on C3.js..
Extends: sap.ui.core.Element This module inherits all methods and attributes from the extended module and from all other modules in the inheritence hierarchy.
This element must be used with the ui5.viz.Chart
control and was designed to work best in XML views and in combination with data binding.
<Chart>
<!-- tbd -->
</Chart>
All properties have corresponding getters and setters. (read which property methods are defined automatically)
Name | Type | Default | Description |
---|---|---|---|
highlightAnimation |
ui5.viz.DataPointAnimation |
library.DataPointAnimation.None, |
Sets the representation of value as formatted text Hint: Not available for chart types Bar, Step and AreaStep, yet. |
type |
ui5.viz.DataPointType |
library.DataPointType.SingleValue, |
Sets the type of the data point. |
label |
string |
null} |
Sets the representation of value as formatted text. |
tooltipLabel |
string |
null} |
Sets the representation of value as formatted text in the tooltip. |
value |
any |
null} |
Sets the value the data point should represent. Hint: To support null as value, the type must be "any". |
high |
any |
null} |
Sets the high value the data point should represent in case of ribbon type. Hint: To support null as value, the type must be "any". |
low |
any |
null} |
Sets the low value the data point should represent in case of ribbon type. Hint: To support null as value, the type must be "any". |
visible |
boolean |
true, |
Sets visibility of the element. |
There are no public aggregations defined for ui5.viz.ChartDataPoint
.
All events return to the event callback handler sap.ui.base.Event. (read which event methods are defined automatically)
- dataPointUpdate Data was updated.
Data was updated.
- getVisible Overwrites getter in order to make sure it is a valid value. Visible can be false due to different reasons.
- getValue Overwrites getter in order to make sure it is a valid value. As the data type is any it might also be a string (for example).
- getHigh Overwrites getter in order to make sure it is a valid value. As the data type is any it might also be a string (for example).
- getLow Overwrites getter in order to make sure it is a valid value. As the data type is any it might also be a string (for example).
- getValueOrValuePair Unified method to get correct value object based on data point type.
Overwrites getter in order to make sure it is a valid value. Visible can be false due to different reasons.
Returns: undefined
getVisible()
Overwrites getter in order to make sure it is a valid value. As the data type is any it might also be a string (for example).
Returns: undefined
getValue()
Overwrites getter in order to make sure it is a valid value. As the data type is any it might also be a string (for example).
Returns: undefined
getHigh()
Overwrites getter in order to make sure it is a valid value. As the data type is any it might also be a string (for example).
Returns: undefined
getLow()
Unified method to get correct value object based on data point type.
Returns: undefined
getValueOrValuePair()