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.Legend:
this.chart = legend();
this.chartSelector = '.britechart-legend';
this.chartClickSelector = '.legend-entry';
this.tooltipContainerSelector = ''; // No tooltip selector.
break;
case ChartType.Line:
this.chart = line();
this.chartSelector = '.line-chart';
this.chartClickSelector = ''; // No click selector.
this.tooltipContainerSelector = '.line-chart .metadata-group .hover-marker';
break;
case ChartType.ScatterPlot:
this.chart = scatterPlot();
this.chartSelector = '.scatter-plot';
this.chartClickSelector = ''; // No click selector.
this.tooltipContainerSelector = '.scatter-plot .metadata-group';
break;
case ChartType.Sparkline:
this.chart = sparkline();
this.chartSelector = '.sparkline';
this.chartClickSelector = ''; // No click selector.
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;
this.tooltipContainerSelector = ''; // No tooltip selector.
break;
case ChartType.Legend:
this.chart = legend();
this.chartSelector = '.britechart-legend';
this.chartClickSelector = '.legend-entry';
this.tooltipContainerSelector = ''; // No tooltip selector.
break;
case ChartType.Line:
this.chart = line();
this.chartSelector = '.line-chart';
this.chartClickSelector = ''; // No click selector.
this.tooltipContainerSelector = '.line-chart .metadata-group .hover-marker';
break;
case ChartType.ScatterPlot:
this.chart = scatterPlot();
this.chartSelector = '.scatter-plot';
this.chartClickSelector = ''; // No click selector.
this.tooltipContainerSelector = '.scatter-plot .metadata-group';
break;
case ChartType.Sparkline:
this.chart = sparkline();
this.chartSelector = '.sparkline';
this.chartClickSelector = ''; // No click selector.
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;