Created
December 1, 2023 07:39
-
-
Save transcendr/33e0b094a7c3e545350929c9edaa3884 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onChartInstance(chart: Highcharts.Chart) { | |
this.chart = chart; | |
} | |
redrawWithUpdate(updated: Highcharts.Options) { | |
const cached = JSON.stringify(updated); | |
//console.log('Redrawing with update', JSON.stringify(updated)); | |
setTimeout(() => { | |
this.chartOptions = JSON.parse(cached); | |
this.chart?.redraw(); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment