Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

It is not possible to use individual Chart component JavaScript script "sf-chart.min.js" because it raises an exception, thus failing to render a Chart


Steps to reproduce (Note: you may use the application from the attached archive):

  • Create a Syncfusion Blazor Server App using Essential Studio or Syncfusion Blazor Template Studio (in Visual Studio) with a Chart component included.
  • Edit "_Layout.cshtml" file: replace the reference to "syncfusion-blazor.min.js" with reference to individual Chart component script "sf-chart.min.js".
  • Run the application and navigate to "Charts" page - the Chart will not render because of JavaScript exception in "sf-chart.min.js" script (inspect browser's console to see the exception message)


Notes:

  • the issue does not reproduce if "syncfusion-blazor.min.js" (all components script) is used - so, this is the workaround
  • it does not matter if "sf-chart.min.js" is used from "static web assets" of "Syncfusion.Blazor.Charts" NuGet package or from CDN. I.e. the issue reproduces for both ways.


Possible cause:

  • some JS errors mention the "27.2.undefined" string, so there may be a bug in logic that tries to calculate the PATCH number (last part) of current library's version (i.e. "undefined" must be actually 3 for version 27.2.3)

Environment used:

  • Windows 11 Pro
  • Visual Studio 2022
  • Essential Studio v27.1.48
  • Syncfusion NuGet packages of version 27.2.3


Useful links: