diff --git a/src/data-table.js b/src/data-table.js index 185439fea..d8be23948 100644 --- a/src/data-table.js +++ b/src/data-table.js @@ -314,7 +314,7 @@ dc.dataTable = function (parent, chartGroup) { * Get or set if group rows will be shown. * * The .group() getter-setter must be provided in either case. - * @name order + * @name showGroups * @memberof dc.dataTable * @instance * @example diff --git a/web/docs/api-latest.md b/web/docs/api-latest.md index 09dea6e06..fbb5d22a9 100644 --- a/web/docs/api-latest.md +++ b/web/docs/api-latest.md @@ -174,7 +174,7 @@ chart.width(300) * [.columns](#dc.dataTable+columns) ⇒ Chart * [.sortBy](#dc.dataTable+sortBy) ⇒ Chart * [.order](#dc.dataTable+order) ⇒ Chart - * [.order](#dc.dataTable+order) ⇒ Chart + * [.showGroups](#dc.dataTable+showGroups) ⇒ Chart * [.dataGrid](#dc.dataGrid) ⇒ DataGrid * [.beginSlice](#dc.dataGrid+beginSlice) ⇒ Chart * [.endSlice](#dc.dataGrid+endSlice) ⇒ Chart @@ -2507,7 +2507,7 @@ Examples: * [.columns](#dc.dataTable+columns) ⇒ Chart * [.sortBy](#dc.dataTable+sortBy) ⇒ Chart * [.order](#dc.dataTable+order) ⇒ Chart - * [.order](#dc.dataTable+order) ⇒ Chart + * [.showGroups](#dc.dataTable+showGroups) ⇒ Chart #### dataTable.size ⇒ Chart @@ -2619,8 +2619,8 @@ Get or set sort order. ```js chart.order(d3.descending); ``` - -#### dataTable.order ⇒ Chart + +#### dataTable.showGroups ⇒ Chart Get or set if group rows will be shown. The .group() getter-setter must be provided in either case.