in src/visual.ts [952:985]
private updateHoverDataContainer(hoverDataContainer: IHoverDataContainer, chartBottom: number, chartLeft: number, chartWidth: number, isTopChart: boolean): void {
const textColor: string = isTopChart ? this.data.settings.dualKpiColors.textColor : this.data.settings.dualKpiColorsBottom.textColor;
let hoverDate: Selection = hoverDataContainer.date;
let centerX = chartWidth / 2;
if (chartWidth < 300) {
centerX *= 0.85;
}
hoverDate
.attr("class", "hover-text date")
.classed(this.sizeCssClass, true)
.attr("fill", textColor)
.text("0");
let hoverValue: Selection = hoverDataContainer.text;
hoverValue
.attr("class", "hover-text value")
.classed(this.sizeCssClass, true)
.attr("transform", `translate(${centerX},0)`)
.attr("fill", textColor)
.text("0");
let hoverPercent: Selection = hoverDataContainer.percent;
hoverPercent
.attr("class", "hover-text percent")
.classed(this.sizeCssClass, true)
.text("0")
.attr("fill", textColor)
.attr("transform", "translate(" + (chartWidth) + ",0)");
hoverDataContainer.container
.attr("transform", "translate(" + 0 + "," + (chartBottom + this.titleSize - 2) + ")");
}