Forum Discussion
Anonymous
8 years agoNot applicable
Datacolor changing only after reloading visual
I have created a pie chart and added Data Color property to it. But if i change the color of a data point,the change in color can be seen only after I reload the visual. Why is it not instantaneous...
- 8 years ago
Anonymous,
Change it as follows.
let arcs = this.pieChartContainer.selectAll('.arc') .data(this.pie(this.datapoints)) ; arcs.enter() .append('path') .attr('class', 'arc') ;
v-chuncz-msft
8 years agoCommunity Support
Anonymous,
Change it as follows.
let arcs = this.pieChartContainer.selectAll('.arc')
.data(this.pie(this.datapoints))
;
arcs.enter()
.append('path')
.attr('class', 'arc')
;Anonymous
8 years agoNot applicable
Thanks v-chuncz-msft . This helped a lot. Could you please explain why it worked?