How Create Charts with the Google Chart API in asp.net? - charts

How to Creat Charts with the Google Chart API in asp.net?

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

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.

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#

Related

Complex data for Chart.js in Blazor

I'm creating an Blazor application for marketing research. The application reads the data from an API and I want to display a quite complex graph based on Chart.js.
In this graph I have same groups of data and stack bar charts.
I can quite replicate the graph with Chart.js but I don't know how to use it properly in Blazor. I saw few components like ChartJs.Blazor and its fork, Radzen components or Blazorize but none of them has a demo for a graph like that.
Is there any example or demo how to create complex graphs like that?

How to embed MongoDB charts into application

I created charts in MongoDB Charts, but do not know how to use those charts in my web application. Are there ways to publish MongoDB charts to a link where everyone can access without logging in?
Many thanks
Are there ways to publish MongoDB charts to a link where everyone can access without logging in?
In MongoDB Charts version 0.10 , there is no way to publish charts into external web site/application.
In regards to permissions, that would include setting read role on the chart's data sources for everyone too. See also Charts Dashboard Permissions
UPDATE:
Now you can use the Embedding feature to render the charts in an external web application. When you embed a chart, you can choose whether you want it to be Unauthenticated (meaning anyone who has the embed code can view the chart), or to use Verified Signature authentication (which checks the integrity of a signature in the URL before the chart will render). See Charts Embedding Examples for more information.

Using Amazon's affiliate API for autocompletion

On a website I'm building a search for Amazon products. This should display some information on the products I can pick up using their affiliate API. I can look up information on the products using this dependency (which I'm not entirely happy about, because I should probably create my own package from their provided WSDL), but I'm not entirely sure what would be the best way to implement an autocomplete in a searchbox for their products.
I want to load the autocomplete information from my own server rather than one of Amazon's, but I am not certain what the recommended way to do this would be. Through the provided Amazon affiliate API or is there a better way?
As a summary, I am looking for a way where I have a textbox with autocompletion on my website, that uses my own server to do the autocompletion (example.com/search/autocomplete/%QUERY%), which should then call some autocompletion functionality on the Amazon API.
Amazon offers -next to their affiliate API- a webservice which can be used to get their autocomplete information. It can be utilized by calling an URL in the style of:
http://completion.amazon.com/search/complete?search-alias=aps&client=amazon-search-ui&mkt=1&q=canon
Where the contents of q is the query that you want autocompleted.
I created a vanilla JavaScript plugin to integrate the Amazon Autocomplete webservice into a search input.
Fortunately, the Amazon webservice is JSONP enabled so it let you handle the requests via <script> tags and callbacks, which is already implemented in the plugin.
https://github.com/caroso1222/amazon-autocomplete

What happened to the Watson visualize service?

I noticed the Watson API for Personality Insights that can visualize the profile in a cool D3.js chart has been deprecated. What are the plans to support this going forward?
Instead of an API, we have made it available as a client side library. Its available in the sample application code: https://github.com/watson-developer-cloud/personality-insights-nodejs .
"The visualize API is now deprecated and will be removed entirely in a future release. You can use the personality.js JavaScript file that is provided with the sample application to achieve similar results from the client. The textsummary.js JavaScript file provides additional formatting for the results of the service"

Yahoo Finance API like chart

I want to create a chart very similar to yahoo Finance interactive chart in a .NET application. The interactive chart on Yahoo finance is not included in their developer API. Has anyone tried to leverage their API to create a similar chart? Although the chart is very much like the one used on Yahoo, the data used for my analysis is not Stock data. So, I will not be able to call the Yahoo Url by feeding any query params.
Any suggestions?
If your looking at a web based chart, the flot graphs for jQuery are a good option IMHO. They look pretty schnazzy, are interactive and are very simple to get working.
http://plugins.jquery.com/project/flot
amCharts Stock chart is of the same breed. It's Flash based but you can easily use it with any server side engine. Not sure whether you are looking for web or windows solution though.
You might consider Infragistics Web Charts also.