Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.tooltipContainerSelector = ''; // No tooltip selector.
break;
case ChartType.StackedArea:
this.chart = stackedArea();
this.chartSelector = '.stacked-area';
this.chartClickSelector = ''; // No click selector.
this.tooltipContainerSelector = '.stacked-area .metadata-group .vertical-marker-container';
break;
case ChartType.StackedBar:
this.chart = stackedBar();
this.chartSelector = '.stacked-bar';
this.chartClickSelector = '.stacked-bar .bar';
this.tooltipContainerSelector = '.stacked-bar .metadata-group';
break;
case ChartType.Step:
this.chart = step();
this.chartSelector = '.step-chart';
this.chartClickSelector = '.step-chart .step';
this.tooltipContainerSelector = '.step-chart .metadata-group';
break;
}
}
this.tooltipContainerSelector = ''; // No tooltip selector.
break;
case ChartType.StackedArea:
this.chart = stackedArea();
this.chartSelector = '.stacked-area';
this.chartClickSelector = ''; // No click selector.
this.tooltipContainerSelector = '.stacked-area .metadata-group .vertical-marker-container';
break;
case ChartType.StackedBar:
this.chart = stackedBar();
this.chartSelector = '.stacked-bar';
this.chartClickSelector = '.stacked-bar .bar';
this.tooltipContainerSelector = '.stacked-bar .metadata-group';
break;
case ChartType.Step:
this.chart = step();
this.chartSelector = '.step-chart';
this.chartClickSelector = '.step-chart .step';
this.tooltipContainerSelector = '.step-chart .metadata-group';
break;
}
};
ChartComponent.prototype.isDictionary = function (obj) {