import { __awaiter } from "tslib";
export class GraphCrossFilter {
    constructor(source) {
        this.source = source;
        this.dimensions = {};
        this.groups = {};
        console.log('init cross graph filter');
    }
    addDimension(id, dim) {
        if (!this.dimensions.hasOwnProperty(id)) {
            this.dimensions[id] = [];
        }
        this.dimensions[id].push(dim);
    }
    addGroup(id, group) {
        this.groups[id] = group;
    }
    updateCrossfilter(dataset) {
        return __awaiter(this, void 0, void 0, function* () {
        });
    }
}
GraphCrossFilter.CROSSFILTER = 'crossfilter';
GraphCrossFilter.CROSSFILTER_DATALOADED = 'dataloaded';
GraphCrossFilter.UPDATE_CHART = 'update_chart';
GraphCrossFilter.FILTER_CHANGED = 'filter-changed';
//# sourceMappingURL=graph-cross-filter.js.map