ivanvanderbyl / maximum-plaid

Template driven data visualisation for Ember
http://maximum-plaid.com/
MIT License
74 stars 9 forks source link

Include an Orientation system in Plaid-Plot to help automatically set x and y positions #14

Closed bravely closed 8 years ago

bravely commented 8 years ago

Something we found in the changes meant for this PR, is the complexity in trying to automatically set axis x and y positions. The fundamental problem with it, is that when creating the visualization, maximum-plaid doesn't know of the graph's orientation. In the process, it doesn't know whether to prioritize the top or bottom margins for setting the starting draw position of the axes(and the graph itself). We should think about adding an 'orientation' system to the entire plaid-plot component.