Skip to content

Commit

Permalink
Fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mtraynham committed Mar 2, 2015
1 parent d6d3ff8 commit fd524b4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ dc.heatMap = function (parent, chartGroup) {
/**
#### .rows([values])
Gets or sets the values used to create the rows of the heatmap, as an array. By default, all
the values will be fetched from the data using the value accessor, and they will be sorted in
ascending order.
the values will be fetched from the data using the value accessor.
**/

_chart.rows = function (_) {
Expand All @@ -144,7 +143,7 @@ dc.heatMap = function (parent, chartGroup) {

/**
#### .rowOrdering([orderFunction])
Get or set an accessor to order the rows
Get or set an accessor to order the rows. Default is d3.ascending.
*/
_chart.rowOrdering = function (_) {
if (!arguments.length) {
Expand All @@ -157,8 +156,7 @@ dc.heatMap = function (parent, chartGroup) {
/**
#### .cols([keys])
Gets or sets the keys used to create the columns of the heatmap, as an array. By default, all
the values will be fetched from the data using the key accessor, and they will be sorted in
ascending order.
the values will be fetched from the data using the key accessor.
**/
_chart.cols = function (_) {
if (!arguments.length) {
Expand All @@ -170,7 +168,7 @@ dc.heatMap = function (parent, chartGroup) {

/**
#### .colOrdering([orderFunction])
Get or set an accessor to order the cols
Get or set an accessor to order the cols. Default is ascending.
*/
_chart.colOrdering = function (_) {
if (!arguments.length) {
Expand Down

0 comments on commit fd524b4

Please sign in to comment.