Skip to content

Commit

Permalink
fix: typo in ChartingDemo.bbj and API
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Wald committed Oct 6, 2019
1 parent 46be4f4 commit a2030af
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
32 changes: 16 additions & 16 deletions BBjGridExWidget.bbj
Expand Up @@ -401,31 +401,31 @@ class public BBjGridExWidget extends BBjWidget implements BBjGridExWidgetColumns
rem *
rem * @return BBjString
rem */
method public static BBjString CAHRT_TOOLBAR_SETTINGS()
method public static BBjString CHART_TOOLBAR_SETTINGS()
methodret "chartSettings"
methodend
rem /**
rem * Constant value which defines that chart toolbar data item
rem *
rem * @return BBjString
rem */
method public static BBjString CAHRT_TOOLBAR_DATA()
method public static BBjString CHART_TOOLBAR_DATA()
methodret "chartData"
methodend
rem /**
rem * Constant value which defines that chart toolbar format item
rem *
rem * @return BBjString
rem */
method public static BBjString CAHRT_TOOLBAR_FORMAT()
method public static BBjString CHART_TOOLBAR_FORMAT()
methodret "chartFormat"
methodend
rem /**
rem * Constant value which defines that chart toolbar download item
rem *
rem * @return BBjString
rem */
method public static BBjString CAHRT_TOOLBAR_DOWNLOAD()
method public static BBjString CHART_TOOLBAR_DOWNLOAD()
methodret "chartDownload"
methodend
rem /**
Expand Down Expand Up @@ -1885,10 +1885,10 @@ REM #onLoaded(null())
rem * <br><b><small>#Configuration</small></b>
rem * <br><b><small>#API</small></b>
rem *
rem * @see CAHRT_TOOLBAR_SETTINGS()
rem * @see CAHRT_TOOLBAR_DATA()
rem * @see CAHRT_TOOLBAR_FORMAT()
rem * @see CAHRT_TOOLBAR_DOWNLOAD()
rem * @see CHART_TOOLBAR_SETTINGS()
rem * @see CHART_TOOLBAR_DATA()
rem * @see CHART_TOOLBAR_FORMAT()
rem * @see CHART_TOOLBAR_DOWNLOAD()
rem */
method public void addChartToolbarItem(BBjString item!)
#ChartToolbarItems!.add(item!)
Expand All @@ -1904,10 +1904,10 @@ REM #onLoaded(null())
rem * <br><b><small>#Configuration</small></b>
rem * <br><b><small>#API</small></b>
rem *
rem * @see CAHRT_TOOLBAR_SETTINGS()
rem * @see CAHRT_TOOLBAR_DATA()
rem * @see CAHRT_TOOLBAR_FORMAT()
rem * @see CAHRT_TOOLBAR_DOWNLOAD()
rem * @see CHART_TOOLBAR_SETTINGS()
rem * @see CHART_TOOLBAR_DATA()
rem * @see CHART_TOOLBAR_FORMAT()
rem * @see CHART_TOOLBAR_DOWNLOAD()
rem */
method public void removeChartToolbarItem(BBjString item!)
if #ChartToolbarItems!.contains(item!) then
Expand Down Expand Up @@ -2521,10 +2521,10 @@ REM #onLoaded(null())
rem * The method will add the default chart toolbar items
rem */
method protected void fillChartToolbarItems()
#getChartToolbarItems().add(#CAHRT_TOOLBAR_SETTINGS())
#getChartToolbarItems().add(#CAHRT_TOOLBAR_DATA())
#getChartToolbarItems().add(#CAHRT_TOOLBAR_FORMAT())
#getChartToolbarItems().add(#CAHRT_TOOLBAR_DOWNLOAD())
#getChartToolbarItems().add(#CHART_TOOLBAR_SETTINGS())
#getChartToolbarItems().add(#CHART_TOOLBAR_DATA())
#getChartToolbarItems().add(#CHART_TOOLBAR_FORMAT())
#getChartToolbarItems().add(#CHART_TOOLBAR_DOWNLOAD())
methodend
rem /**
rem * Get the grid template
Expand Down
10 changes: 5 additions & 5 deletions demo/Enterprise/ChartingDemo.bbj
Expand Up @@ -81,12 +81,12 @@ main:
rem /**
rem * You can add / remove items to the chart toolbar
rem *
rem * @see BBjGridExWidget.CAHRT_TOOLBAR_SETTINGS()
rem * @see BBjGridExWidget.CAHRT_TOOLBAR_DATA()
rem * @see BBjGridExWidget.CAHRT_TOOLBAR_FORMAT()
rem * @see BBjGridExWidget.CAHRT_TOOLBAR_DOWNLOAD()
rem * @see BBjGridExWidget.CHART_TOOLBAR_SETTINGS()
rem * @see BBjGridExWidget.CHART_TOOLBAR_DATA()
rem * @see BBjGridExWidget.CHART_TOOLBAR_FORMAT()
rem * @see BBjGridExWidget.CHART_TOOLBAR_DOWNLOAD()
rem */
grid!.addChartToolbarItem(BBjGridExWidget.CAHRT_TOOLBAR_DOWNLOAD())
grid!.addChartToolbarItem(BBjGridExWidget.CHART_TOOLBAR_DOWNLOAD())

grid!.setFitToGrid()
grid!.getSidebar().setHiddenByDefault(1)
Expand Down

0 comments on commit a2030af

Please sign in to comment.