in pbi-heat-streams/src/chart/Chart.tsx [38:66]
public render(): void {
const { width, height, colorizer } = this.options
const props = {
width,
height,
textPercent: this.options.renderOptions.categoryTextPercent / 100.0,
rowHeight: this.options.renderOptions.rowHeight,
axisHeight: this.options.renderOptions.axisHeight,
numTicks: this.options.renderOptions.numTicks,
zoomLevel: this.options.renderOptions.zoomLevel,
xDomain: this.options.data.positionDomain,
highlightColor: this.options.renderOptions.highlightColor,
showCategories: this.options.renderOptions.showCategories,
showValues: this.options.renderOptions.showValues,
rowGap: this.options.renderOptions.rowGap,
timeScrub: this.options.timeScrub as TimeDomain,
colorizer: (v: any): string => colorizer.color(v).toString(),
categories: this.options.data.categories,
categoryValues: this.options.data.categoryValues,
textColor: this.options.renderOptions.textColor,
selections: this.options.selections,
dateAggregation: this.options.dataOptions.dateAggregation,
numericAggregation: this.options.dataOptions.numericAggregation,
onClearSelection: this.onClearSelection,
onClickCategory: this.onClickCategory,
onScrub: this.onScrubbed,
}
render(<HeatStreamsChart {...props} />, this.options.element)
}