How to Plot Graph in Asp.net Razor pages

Blooming Developer 276 Reputation points
2021-06-08T10:48:06.607+00:00

Hi,

Is it possible to plot graph in Asp.net Razor pages with data from database, Any help would be appreciated.

Thanks,
Teena John

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,931 Reputation points
    2021-06-10T17:06:54.117+00:00

    there are two common ways to display a graph on a html page.

    the first is the graph is an image created on the server. on a razor page this would be an <img> the with the url being an action that returns a file that is an image (typically jpeg). you can pass parameters on the url. The server would use the graphing library of its choice to create the image

    the second (especially if interactive) is a client side grading solution as suggested in the prevues post.

    0 comments No comments