WealthBar / angular-d3

AngularJS directives for declaratively using D3
http://wealthbar.github.io/angular-d3/
MIT License
156 stars 39 forks source link

More flexible styling via CSS #12

Closed chrisnicola closed 11 years ago

chrisnicola commented 11 years ago

Essentially this just removes inline styles and provides a default "theme" that can be changed. Classes are used as appropriately as possible to give some fairly fine grained control (for example each bar gets a bar-#{i} class so they could be styled individually).

Axis still need some work. Positioning of labels for example is tricky. Tick labels are handled by D3 and probably don't need much extra styling, but the axis labels need some work since there are probably a variety of position possibilities (top, side, etc.) and we will want to be able to avoid overlapping the tick labels.