How to Creat Charts with the Google Chart API in asp.net?
相关问题
- How to make limits on the Y axis be the same using
- Google Charts-Code for Category Filter
- How to group Json data based on Month and plot it
- Canvas disappearing on Chrome 49 on OS X, looks li
- Chart js - avoid overlapping of tooltips in pie ch
相关文章
- Mercurial Commit Charts / Graphs [closed]
- Change color of bars depending on value in Highcha
- Google Chart veritcal axis with percentage sign
- Google Combo Chart add horizontal and vertical lin
- ChartJS. Change axis line color
- Center align title in Google Chart
- C# dashed lines in chart series?
- ng-click not working with chart.js
Google is a good place to start...
Google Charts API as ASP.NET 2.0 Server Control
Google Chart Net
Or better yet use the new ASP.NET charting control
ASP.NET Charting Control
Please refer the article on 4guysfromrolla
Creating charts with Google chart API with ASP.NET
ASP.NET Custom Server Control for Google chart
It is not that hard, things to consider are 1. Build up your data table for chart and save it to Json format 2. Use jquery function getJson to retrieve it, then follow google API on how to Parse Json file, then there is the graph I built lots of graphs by using this method using C#
FYI there are plenty of Google Chart API wrapper APIs that will make your life easier in terms of dealing with low-level Google Chart API details. I wrote one the Java side (called charts4j). But there is also at least one wrapper API in the .NET arena.
I am not completely familiar with the ASP .Net stack, but you will probably want to generate the the Google Chart URL server side, and display that URL with your HTML view technology in an image tag. The alternative is to pass the data to the browser and construct the chart URL with javascript, but this is likely to be more tedious and error prone. Hope that helps.