@@ -99,7 +99,7 @@ export class BaseMixin {
99
99
private _transitionDelay : number ;
100
100
private _filterPrinter : ( filters ) => string ;
101
101
private _mandatoryAttributesList : string [ ] ;
102
- private _chartGroup : string ;
102
+ protected _chartGroup : string ;
103
103
// TODO: the typing seems to be inconsistent with https://github.com/d3/d3-dispatch example as well as our use
104
104
private _listeners : any ; // TODO: external PR - https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45869
105
105
private _legend ; // TODO: figure out actual type
@@ -112,7 +112,7 @@ export class BaseMixin {
112
112
private _removeFilterHandler : ( filters , filter ) => any ;
113
113
private _addFilterHandler : ( filters , filter ) => any ;
114
114
private _resetFilterHandler : ( filters ) => any [ ] ;
115
- private _groupName : string ;
115
+ protected _groupName : string ; // StackMixin needs it
116
116
117
117
constructor ( ) {
118
118
this . __dcFlag__ = utils . uniqueId ( ) ;
@@ -393,8 +393,8 @@ export class BaseMixin {
393
393
* @returns {crossfilter.group|BaseMixin }
394
394
*/
395
395
public group ( ) ;
396
- public group ( group , name ?) : this;
397
- public group ( group ?, name ?) {
396
+ public group ( group , name ?, accessor ? ) : this;
397
+ public group ( group ?, name ?, accessor ? ) {
398
398
if ( ! arguments . length ) {
399
399
return this . _group ;
400
400
}
@@ -1227,19 +1227,19 @@ export class BaseMixin {
1227
1227
return [ ] ;
1228
1228
}
1229
1229
1230
- protected legendHighlight ( ) {
1230
+ protected legendHighlight ( d ? ) {
1231
1231
// do nothing in base, should be overridden by sub-function
1232
1232
}
1233
1233
1234
- protected legendReset ( ) {
1234
+ protected legendReset ( d ? ) {
1235
1235
// do nothing in base, should be overridden by sub-function
1236
1236
}
1237
1237
1238
- protected legendToggle ( ) {
1238
+ protected legendToggle ( d ? ) {
1239
1239
// do nothing in base, should be overriden by sub-function
1240
1240
}
1241
1241
1242
- protected isLegendableHidden ( ) {
1242
+ protected isLegendableHidden ( d ? ) {
1243
1243
// do nothing in base, should be overridden by sub-function
1244
1244
return false ;
1245
1245
}
0 commit comments