in src/visual.ts [544:584]
constructor(options: VisualConstructorOptions) {
if (window.location !== window.parent.location) {
require("core-js/stable");
}
this.tooltipServiceWrapper = createTooltipServiceWrapper(
options.host.tooltipService,
options.element);
this.selectionManager = options.host.createSelectionManager();
this.layout = new VisualLayout(null, {
top: 0,
right: 0,
bottom: 0,
left: 0
});
let body: BulletSelection<any> = select(options.element);
this.hostService = options.host;
this.colorPalette = this.hostService.colorPalette;
this.colorHelper = new ColorHelper(this.colorPalette);
this.events = options.host.eventService;
this.bulletBody = body
.append("div")
.classed(BulletChart.bulletChartClassed, true)
.attr(BulletChart.dragResizeDisabled, true);
this.scrollContainer = this.bulletBody.append("svg")
.classed(BulletChart.bulletScrollRegion, true);
this.clearCatcher = appendClearCatcher(this.scrollContainer);
this.labelGraphicsContext = this.scrollContainer.append("g");
this.bulletGraphicsContext = this.scrollContainer.append("g");
this.behavior = new BulletWebBehavior();
this.interactivityService = createInteractivitySelectionService(options.host);
this.handleContextMenu();
}