bprinty / quorra

Interactive charting library with d3-like API
Apache License 2.0
1 stars 1 forks source link

Add ability to pass function into data() property. #56

Open bprinty opened 8 years ago

bprinty commented 8 years ago

This would enable users to plot things like sin(x) by just doing:

quorra.line().data(function(x){ return {x: x, y: Math.sin(x)}; });

Then, the function would be used for generating data within the domain for the plot.