by Etheryte · 5y ago · 0 comments
I would advise against this. Good code examples for getting started should include only the bare minimum to get going, nothing more. Nuance and additional options should be left to the details pages, not the introduction. Defaults have a very strong influence on how people use products and the same holds for code samples.
FWIW, with the context I would say that I'd find that example quite hard to parse without the IDs (or at least a comment), unless you changed it to have each graph next its own code.
For anyone reading this confusing subthread in the future, here's a permanlink to your post that the parent was replying to: