Google Sheets Scripts and Trendlines -
this question first scripts, because missing something. looking implementing them. when go "script editor" have create new "project" , save something. should script not attached spreadsheet?
but if ignore strange fact , open editor , copy , paste nice script in there, how run in spreadsheet? can see if go spreadsheet , refresh page new menu item appears, makes me think script running, script saved? overview of going on in google scripts awesome.
the overall problem attempting solve: want spreadsheets able plot trendlines. thought solution write script , apply spreadsheets. ideal script have menu item trendlines, , allow me select data need trendline. have advice or scripts this? not programmer can learn basics if need to. feature should exist. can't remember ever making scatterplot , not plotting trend , equation. help.
first of all, you're asking lot of questions.
as commented above zig mandel, need read documentation first.
here links documentation pages underway:
google spreadsheet documentation
i don't know how experience have or sort of background have, it's hard comment on do. seasoned dev or techie know parts of api he/she use. perhaps can start small example such colouring range of cells.
in regards copying , pasting pre-made script:
the premade script anything. it's bad example. creating menu item not constitute script being correct or running. menu created when document opens, , in function called "onopen()."
try starting new project, , planning want do. play around features seem apply, such getactiverange(), getrange(), getsheets(), getactivespreadsheet(); starters.
in regards custom menu, try (after have idea what's going on):
https://developers.google.com/apps-script/guides/menus
for exact problem, couldn't have done nothing graphs in google apps script, seem diving deep end , think above points point in right direction.
Comments
Post a Comment