This was something I was looking for, but was using my own ugly implementation - this is much cleaner! Highly recommended - for an example of how to use this, check out examples.lua in the source.
My only complaint is that declaring a function name SimpleChart / CustomChart could cause potential conflicts, why not try something like polygraph.simplechart / polygraph.customchart?
This was something I was looking for, but was using my own ugly implementation - this is much cleaner! Highly recommended - for an example of how to use this, check out
examples.lua
in the source.My only complaint is that declaring a function name
SimpleChart
/CustomChart
could cause potential conflicts, why not try something likepolygraph.simplechart
/polygraph.customchart
?