Skip to content

Latest commit

 

History

History
74 lines (52 loc) · 2.58 KB

ChartArea.md

File metadata and controls

74 lines (52 loc) · 2.58 KB

ui5.viz.ChartArea

The ChartArea control: ChartArea 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.

Sample Usage (XML View)

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>

Properties

All properties have corresponding getters and setters. (read which property methods are defined automatically)

Name Type Default Description
title string null} Sets the ttitleext of the ChartArea.
style ui5.viz.ShapeStyle library.ShapeStyle.Solid, Sets the style of the shape.
color sap.ui.core.CSSColor null, Sets a custom color for the area.
axis ui5.viz.Axis library.Axis.X, Sets the referenced y axis the line value property is related to.
visible boolean true, Sets visibility of the element.
startValue string null} Sets value that is matching a start position on the assigned axis.
endValue string null}, Sets value that is matching a end position on the assigned axis.

Aggregations

There are no public aggregations defined for ui5.viz.ChartArea.

Events

All events return to the event callback handler sap.ui.base.Event. (read which event methods are defined automatically)


areaUpdate

Line was updated. Providing parameters:

  • code (ui5.viz.ChartUpdateCode) Chart update event code.

Methods


getStartValue

Overwrites getter for property startValue.

Returns: undefined

getStartValue()

getEndValue

Overwrites getter for property endValue.

Returns: undefined

getEndValue()