The ChartAxis
control: ChartAxis 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 |
---|---|---|---|
title |
string |
null} |
Sets axis title. |
showTitle |
boolean |
true, |
Sets axis title visibility. |
showGridLines |
boolean |
false, |
Sets visibility of grid lines Hint: live update by c3 API is not supported, yet, therefore we must rerender the chart. |
minValue |
string |
null} |
Sets the minimal value of the axis. (use index/position for category X-axis, too). |
maxValue |
string |
null} |
Sets the maximal value of the axis. (use index/position for category X-axis, too). |
autoTickValues |
boolean |
false, |
Flag wether or not the ui5.viz.ChartAxisLabel should be used to define tick values. |
visible |
boolean |
true, |
Sets visibility of the element. |
All aggregations have one getter and several mutating methods depending on their cardinality. (read which aggregation methods are defined automatically)
Name | Cardinality | Type | Description |
---|---|---|---|
labels |
0..n |
ui5.viz.ChartAxisLabel |
Sets the labels displayed on the axis Hint: live update by c3 API is only supported for X axis, yet, therefore we must rerender the chart. |
All events return to the event callback handler sap.ui.base.Event. (read which event methods are defined automatically)
- axisUpdate Axis was updated.
Axis was updated.
There are no public methods defined for ui5.viz.ChartAxis
.