MAKit Chart
Version: 1.0
new Chart( [sId], [mSettings] )
Name | Type | Argument | Description |
sId | string | (optional) | id for the new control, generated automatically if no id is given |
mSettings | object | (optional) | initial settings for the new control |
Name | Description |
attachDoubletap( [oData], fnFunction, [oListener] ) | Attach event handler <code>fnFunction</code> to the 'doubletap' event of this <code>sap.apb.makit.Chart</code>. |
attachTap( [oData], fnFunction, [oListener] ) | Attach event handler <code>fnFunction</code> to the 'tap' event of this <code>sap.apb.makit.Chart</code>. |
detachDoubletap( fnFunction, oListener ) | Detach event handler <code>fnFunction</code> from the 'doubletap' event of this <code>sap.apb.makit.Chart</code>. |
detachTap( fnFunction, oListener ) | Detach event handler <code>fnFunction</code> from the 'tap' event of this <code>sap.apb.makit.Chart</code>. |
extend( sClassName, [oClassInfo], [FNMetaImpl] ) | |
fireDoubletap( [mArguments] ) | Fire event doubletap to attached listeners. |
fireTap( [mArguments] ) | Fire event tap to attached listeners. |
getCategorySortOrder() | Getter for property <code>categorySortOrder</code>. Sort order for category. |
getDataSource() | Getter for property <code>dataSource</code>. dataSource name of the chart. Default value is empty/<code>undefined</code> |
getHeight() | Getter for property <code>height</code>. The height of the Chart. Default value is <code>100%</code> |
getLegendPosition() | Getter for property <code>legendPosition</code>. Legend position all chart types except Bar chart. |
getLineThickness() | Getter for property <code>lineThickness</code>. Specify the line thickness of the line graph. |
getMaxSliceCount() | Getter for property <code>maxSliceCount</code>. Set the maximum number of slices in a Pie/Donut chart. |
getMetadataFile() | Getter for property <code>metadataFile</code>. Metadata file URI that is assigned to this chart. |
getNumberOfCategories() | Get the number of distinct category values. |
getSelectedCategory() | Get the value of the currently highlighted category. |
getSelectedSeries() | Get the value of the currently highlighted series. |
getShowRangeSelector() | Getter for property <code>showRangeSelector</code>. Specify whether the range selector should be visible. Default value is <code>true</code> |
getShowTableValue() | Getter for property <code>showTableValue</code>. Toggle to display the table value on a Bar chart. |
getShowTableView() | Getter for property <code>showTableView</code>. Toggle to display table view. Default value is <code>false</code> |
getShowToolbar() | Getter for property <code>showToolbar</code>. Show or hide the chart's toolbar. Default value is <code>true</code> |
getType() | Getter for property <code>type</code>. Chart type. Default value is <code>Column</code> |
getWidth() | Getter for property <code>width</code>. The width of the Chart. Default value is <code>100%</code> |
refreshData() | Re-retrieve data from the datasource and re-render chart. |
setCategorySortOrder( oCategorySortOrder ) | Setter for property <code>categorySortOrder</code>. Default value is <code>None</code> |
setDataSource( sDataSource ) | Setter for property <code>dataSource</code>. Default value is empty/<code>undefined</code> |
setHeight( sHeight ) | Setter for property <code>height</code>. Default value is <code>100%</code> |
setLegendPosition( oLegendPosition ) | Setter for property <code>legendPosition</code>. Default value is <code>None</code> |
setLineThickness( fLineThickness ) | Setter for property <code>lineThickness</code>. Default value is <code>1</code> |
setMaxSliceCount( iMaxSliceCount ) | Setter for property <code>maxSliceCount</code>. Default value is <code>12</code> |
setMetadataFile( sMetadataFile ) | Setter for property <code>metadataFile</code>. Default value is empty/<code>undefined</code> |
setShowRangeSelector( bShowRangeSelector ) | Setter for property <code>showRangeSelector</code>. Default value is <code>true</code> |
setShowTableValue( bShowTableValue ) | Setter for property <code>showTableValue</code>. Default value is <code>true</code> |
setShowTableView( bShowTableView ) | Setter for property <code>showTableView</code>. Default value is <code>false</code> |
setShowToolbar( bShowToolbar ) | Setter for property <code>showToolbar</code>. Default value is <code>true</code> |
setType( oType ) | Setter for property <code>type</code>. Default value is <code>Column</code> |
setWidth( sWidth ) | Setter for property <code>width</code>. Default value is <code>100%</code> |
Name | Description |
doubletap( oControlEvent, oControlEvent.getSource, oControlEvent.getParameters ) | Double tap event on chart. |
tap( oControlEvent, oControlEvent.getSource, oControlEvent.getParameters ) | Single tap event on the chart. |