Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

angular expressions as value for any property other than data ?? #65

Open
bdkent opened this issue Apr 12, 2016 · 1 comment
Open

angular expressions as value for any property other than data ?? #65

bdkent opened this issue Apr 12, 2016 · 1 comment

Comments

@bdkent
Copy link

bdkent commented Apr 12, 2016

Unless I am doing something very wrong, it seems like angular-dimple does not support angular expressions for any value other than the <graph>'s data attribute.

For example, instead of this:

<graph data="graphData">
  <x field="Month"></x>
  <y field="Sales"></y>
  <line field="storeId" value="2"></line>
  <line field="storeId" value="1"></line>
 </graph>

doing something like this:

<graph data="graphData">
  <x field="Month"></x>
  <y field="Sales"></y>
  <line field="{{fieldValueSetInScope}}" value="2"></line>
  <line field="storeId" value="1"></line>
 </graph>

See: https://jsfiddle.net/bkent/2mL197mv/

I am finding it very limiting to have to define charts statically. Are there any plans to support angular expressions in other fields??

@jtviegas
Copy link

yes, this is not handy at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants