You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on your input, it appears that the code you provided is from the Syncfusion Blazor Sample Browser.
The ThemeHelper method in your code is an internal function designed to retrieve the theme from the navigation URL. If you'd like to modify the theme, we suggest directly setting the desired theme using the Theme property in the chart.
Similarly, the SampleService.IsDevice method is an internal service used to detect if the sample is running on a mobile device. Instead of using this, we recommend adjusting the chart properties, such as axis label rotation, label intersection, and chart width, directly to suit the requirements of your application.
To help us assist you more effectively and provide a quicker resolution, could you please share the following details?
• A detailed description of your exact requirements.
• Whether you're looking to change the chart theme or other chart properties.
• Any specific issues you're currently facing with the code.
Providing this information will help us understand the situation better and offer you the most appropriate solution.
Theme = ThemeHelper.GetCurrentTheme(NavigationManager.Uri);
if (SampleService.IsDevice)
{
Rotation = -45;
Label = LabelIntersectAction.None;
Width = "100%";
}
FontFamily = ThemeHelper.GetFontFamily(NavigationManager.Uri);
The text was updated successfully, but these errors were encountered: