Skip to content

Commit

Permalink
clarify focus&range charts should share dimension
Browse files Browse the repository at this point in the history
for #1112
.. or at least have compatible dimension keys
Thanks @xinggao531!
  • Loading branch information
gordonwoodhull committed Apr 29, 2016
1 parent 6770075 commit 0e4522d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/coordinate-grid-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,13 @@ dc.coordinateGridMixin = function (_chart) {
* Get or set the range selection chart associated with this instance. Setting the range selection
* chart using this function will automatically update its selection brush when the current chart
* zooms in. In return the given range chart will also automatically attach this chart as its focus
* chart hence zoom in when range brush updates. See the [Nasdaq 100
* Index](http://dc-js.github.com/dc.js/) example for this effect in action.
* chart hence zoom in when range brush updates.
*
* Usually the range and focus charts will share a dimension. The range chart will set the zoom
* boundaries for the focus chart, so its dimension values must be compatible with the domain of
* the focus chart.
*
* See the [Nasdaq 100 Index](http://dc-js.github.com/dc.js/) example for this effect in action.
* @method rangeChart
* @memberof dc.coordinateGridMixin
* @instance
Expand Down

0 comments on commit 0e4522d

Please sign in to comment.