dalejung / id3

interactive d3
Apache License 2.0
4 stars 0 forks source link

Add DateLocator/Formatter #5

Open dalejung opened 11 years ago

dalejung commented 11 years ago

Akin to the locator stuff for ts.charting.

Get weekly, monthly ticks.

dalejung commented 11 years ago

Currently this is done, however because the axis labels and grid aren't connected in any real way, they have a wonky sync. This is due to the xaxis label component calculating and setting its tickValues. The grid component doesn't have direct access to the tickValues and also does not get notified of updates. The calculation of tickValues should happen somewhere else, likely the context or a more general axis object. context has largely gone ignored.

This is related to #15