Hi,
I have created a dropdown with all possible values of smith chart themes. On select of the theme, I render below code but smith chart theme does not update.
letelement:SmithchartTheme=this.props.options.smithChartThemeasSmithchartTheme;
this.smithchartInstance.theme=element;
this.smithchartInstance.refresh();
It also didn't work, if i use theme property ofSmithchartComponent control and assign value to it like theme={this.props.options.smithChartThemeasSmithchartTheme}
In both above cases, I am successfully getting the value of selected theme and it shows minor change to the control by updating the legend color but that's not intended.
The only way it works, if I hard code the value to theme property of the SmithChartComponent control. And in this case I am only be able to set a single value, unable to change the theme on run time.
Can you please help?