Thank you very much. Sample project was very helpful!
A sample project isn’t necessary, because I wouldn’t know what code to put in the sample project because my question is asking about how to start the code.
How can I use a DataTable (https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable?view=netcore-3.1) along with Canvas JS. Is there any way to convert the databable to a graph instead of having to use the Viewbag items in Asp.net MVC like your examples show?
I fixed it. The issue was I didn’t have quotes (“) around the @Html.Raw. It seems like a simple fix and I’m confused as to why this was not mentioned to me earlier.
I don’t think a sample project is necessary. All I am asking is how can I make a custom name for my chart elements?
In the example above I attempted to use the Viewbag and it did not work.