Class sap.makit.AxisModule: sap/makit/Axis
Base element for the Axis object for the Chart.
Deprecated API:Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Since: 1.8.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- showLabel : boolean (default: true)
- showPrimaryLine : boolean (default: true)
- showGrid : boolean (default: false)
- thickness : float (default: 1)
- color : string (default: 'gray')
- Aggregations
- Associations
- Events
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
color
. Color of the primary line. Accept the following format: standard name format: gray, red, black, etc hex format: #ff00ff rgb format: rgb(256, 0, 256) Default value is gray
{string} | the value of property color |
showGrid
. Indicates whether to show grid of the Axis in the chart area Default value is false
{boolean} | the value of property showGrid |
showLabel
. Indicates whether to show label of the Axis by the primary line Default value is true
{boolean} | the value of property showLabel |
showPrimaryLine
. Indicates whether to show the primary line of the Axis on the chart area Default value is true
{boolean} | the value of property showPrimaryLine |
thickness
. The line thickness of the primary line Default value is 1
{float} | the value of property thickness |
color
. Default value is gray
{string} | sColor | new value for property color |
{sap.makit.Axis} | this to allow method chaining |
showGrid
. Default value is false
{boolean} | bShowGrid | new value for property showGrid |
{sap.makit.Axis} | this to allow method chaining |
showLabel
. Default value is true
{boolean} | bShowLabel | new value for property showLabel |
{sap.makit.Axis} | this to allow method chaining |
showPrimaryLine
. Default value is true
{boolean} | bShowPrimaryLine | new value for property showPrimaryLine |
{sap.makit.Axis} | this to allow method chaining |
thickness
. Default value is 1
{float} | fThickness | new value for property thickness |
{sap.makit.Axis} | this to allow method chaining |