Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantin committed Jan 8, 2015
1 parent 74e1652 commit c440d39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions build/development/tauCharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2989,7 +2989,7 @@ define('unit-domain-mixin',["exports", "./unit-domain-period-generator", "./util

var _domain = function (dim, fnSort) {
if (!meta[dim]) {
return [null];
return [];
}

var fnMapperId = getValueMapper(dim);
Expand Down Expand Up @@ -3934,12 +3934,12 @@ define('elements/coords',["exports", "../utils/utils-draw", "../const", "../util


var FacetAlgebra = {
CROSS: function (root, dimX, dimY) {
var domainX = root.domain(dimX);
var domainY = root.domain(dimY).reverse();
CROSS: function (root, dimX, domainX, dimY, domainY) {
var domX = domainX.length === 0 ? [null] : domainX;
var domY = domainY.length === 0 ? [null] : domainY.reverse();

return _(domainY).map(function (rowVal) {
return _(domainX).map(function (colVal) {
return _(domY).map(function (rowVal) {
return _(domX).map(function (colVal) {
var r = {};

if (dimX) {
Expand Down Expand Up @@ -3977,7 +3977,7 @@ define('elements/coords',["exports", "../utils/utils-draw", "../const", "../util
});
var unitFunc = TFuncMap(isFacet ? "CROSS" : "");

var matrixOfPrFilters = new TMatrix(unitFunc(root, root.x, root.y));
var matrixOfPrFilters = new TMatrix(unitFunc(root, root.x, root.domain(root.x), root.y, root.domain(root.y)));
var matrixOfUnitNodes = new TMatrix(matrixOfPrFilters.sizeR(), matrixOfPrFilters.sizeC());

matrixOfPrFilters.iterate(function (row, col, $whereRC) {
Expand Down
Loading

0 comments on commit c440d39

Please sign in to comment.