I am building a Blazor web app using VS2022. I am using SfChart to plot stock data. For the element that begins with <SfChart Title="Candle Chart" Width=@Width> VS gives me a warning:
RZ10012 Found markup element with unexpected name 'SfChart'. If this is intended to be a component, add a @using directive for its namespace.
This occurs for many of the sub-elements, e.g, <ChartArea>, <ChartPrimaryXAxis>, etc.
The app works fine, but I am wondering why I get those warnings.