Polychart / polychart.js

http://polychart.com
86 stars 17 forks source link

axis formatting for timeseries #2

Open adamgreenhall opened 12 years ago

adamgreenhall commented 12 years ago

Will there be support for timeseries? I've tried to use Javascript Date objects as inputs but get only mangled axis labels. I know d3.js does this a bit better. Is there a way to tweak the polychart to use d3's time axis?

xuexue commented 12 years ago

Hi Adam,

There will be support for timeseries and datetime variables. It is something we're currently working on and it will be included soon.

-Lisa

sthagen commented 11 years ago

As 9 months is a very special duration of time ... Is this baby already born as v1.0.0 and through the optional meta parameter to gg.data() like setting it as e.g. {'myvar': {'type': 'time', 'format': '%Y-%m-%d'}} or will this be supplemented by say a still to be documented additional gg.graph.opts('axis-x-timeseries',true) thingy?