I have data for sin curves of differing magnitudes over time and I would like to combine all the curves into a single curve on a chart.
Is it possible to do this with the Google Chart API or can alternative approaches be recommended?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Google’s Chart API isn’t a graphic calculator. It displays pre-calculated data, not equations. So if you have the results pre-calculated for a series of x-values, then yes, the Chart API can plot it.
(If the number of points is < ~5k, a Google Spreadsheet is probably your fastest route to try it out.)
If you don’t have the results already calculated – if you just have the equations – then your problem’s more of a maths question than a Chart API question. (But again, a spreadsheet might be a fast way to get going.)