File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 271271
272272 <template v-if =" plot .comment && FINAL_CONFIG .chart .comments .show " >
273273 <foreignObject style =" overflow : visible " height =" 12" :width =" (calcRectWidth() - (mutableConfig.useIndividualScale && mutableConfig.isStacked ? 0 : barPeriodGap) < 0 ? 0.00001 : calcRectWidth() - (mutableConfig.useIndividualScale && mutableConfig.isStacked ? 0 : barPeriodGap) / 2) + FINAL_CONFIG.chart.comments.width" :x =" calcRectX(plot) - (FINAL_CONFIG.chart.comments.width / 2) + FINAL_CONFIG.chart.comments.offsetX" :y =" checkNaN(plot.y) + FINAL_CONFIG.chart.comments.offsetY + 6" >
274- <slot name =" plot-comment" :plot =" {...plot, color: serie.color}" />
274+ <slot name =" plot-comment" :plot =" {...plot, color: serie.color, seriesIndex: i, datapointIndex: j }" />
275275 </foreignObject >
276276 </template >
277277 </g >
473473 <template v-if =" plot .comment && FINAL_CONFIG .chart .comments .show " >
474474 <foreignObject style =" overflow : visible " height =" 12" :width =" FINAL_CONFIG.chart.comments.width" :x =" plot.x - (FINAL_CONFIG.chart.comments.width / 2) + FINAL_CONFIG.chart.comments.offsetX" :y =" plot.y + FINAL_CONFIG.chart.comments.offsetY + 6" >
475475 <div style =" width : 100% ;" >
476- <slot name =" plot-comment" :plot =" {...plot, color: serie.color}" />
476+ <slot name =" plot-comment" :plot =" {...plot, color: serie.color, seriesIndex: i, datapointIndex: j }" />
477477 </div >
478478 </foreignObject >
479479 </template >
600600 <template v-if =" plot .comment && FINAL_CONFIG .chart .comments .show " >
601601 <foreignObject style =" overflow : visible " height =" 12" :width =" FINAL_CONFIG.chart.comments.width" :x =" plot.x - (FINAL_CONFIG.chart.comments.width / 2) + FINAL_CONFIG.chart.comments.offsetX" :y =" plot.y + FINAL_CONFIG.chart.comments.offsetY + 6" >
602602 <div style =" width : 100% ;" >
603- <slot name =" plot-comment" :plot =" {...plot, color: serie.color}" />
603+ <slot name =" plot-comment" :plot =" {...plot, color: serie.color, seriesIndex: i, datapointIndex: j }" />
604604 </div >
605605 </foreignObject >
606606 </template >
You can’t perform that action at this time.
0 commit comments