Hi Vladimir,
Greetings from Syncfusion.
We have ensured your reported scenario with attached sample. We suggest you to update the chart title and its value type using property binding. In button click we have changed double valuetype to category type. We have attached modified sample for your reference.
|
@code{
public string title = "Axis Title";
public string X = "X1";
Syncfusion.Blazor.Charts.ValueType xValueType = Syncfusion.Blazor.Charts.ValueType.Double;
private void UpdateAxisTitle()
{
title = "Updated Title";
xValueType = Syncfusion.Blazor.Charts.ValueType.Category;
X = "X2";
Chart.Refresh();
} |
Screenshots
Before Update
After Update
Sample
Please revert us if you have any concerns.
Regards,
Durga G