Closed mariamarab closed 4 years ago
@innovate-invent I'm using the positiveCorrelationColor and negativeCorrelationColor props, but it seems like they don't trigger an update on the legend
@innovate-invent I'm using the positiveCorrelationColor and negativeCorrelationColor props, but it seems like they don't trigger an update on the legend
You need to add an explicit @Watch function similar to this that watches both 'positiveCorrelationColor' and 'negativeCorrelationColor' and updates the legend.
@Watch('positiveCorrelationColor')
@Watch('negativeCorrelationColor')
updateLegend(): void {
...
}
See https://github.com/kaorun343/vue-property-decorator#Watch
Would you like me to make that change?
Would you like me to make that change?
That would be great!
Pull request has been successfully built and is ready for review at https://mariam-414429337-globecorr.stage.brinkmanlab.ca/
I believe the tooltip for the labels hasn't been implemented for when they are truncated. Was this feature dropped? or in a future PR?
Changes made: