How to Plot Graph in Asp.net Razor pages

Blooming Developer 281 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

Developer technologies | ASP.NET | ASP.NET Core
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 81,971 Reputation points Volunteer Moderator
    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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.